
sec.resecureCredentials() as null
This function re-encrypts credentials, if necessary.
// execute this against the security database
declareUpdate();
const sec = require('/MarkLogic/security');
sec.resecureCredentials();
Stack Overflow: Get the most useful answers to questions from the MarkLogic community, or ask your own question.