Loading TOC...

sec.credentialsGetAzure

sec.credentialsGetAzure() as Sequence

Summary

Returns the Azure storage account name and access key used to access Microsoft Azure Blob Storage.

Required Privileges

http://marklogic.com/xdmp/privileges/credentials-get-azure

Usage Notes

This function must be executed against the security database.

Example


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

    sec.credentialsGetAzure();
    // Returns the access-key and secret-key as two strings.
      

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