Loading TOC...

MarkLogic 10 Product Documentation
sec.resecureCredentials

sec.resecureCredentials() as null

Summary

This function re-encrypts credentials, if necessary.

Example


    // execute this against the security database
    declareUpdate();
    const sec = require('/MarkLogic/security');
        
    sec.resecureCredentials();

      

Stack Overflow iconStack Overflow: Get the most useful answers to questions from the MarkLogic community, or ask your own question.