sec:credentials-set-azure( $storage-account as xs:string, $storage-key as xs:string ) as empty-sequence()
Sets the Azure storage account name and access key. These are used when accessing files on Microsoft Azure Blob storage. If you set both $storage-account and $storage-key to the empty string, then the credentials are deleted from the security database.
Parameters | |
---|---|
storage-account | An Azure storage account name. |
storage-key | An Azure storage access key. |
http://marklogic.com/xdmp/privileges/credentials-set-azure
(: execute this against the security database :) xquery version "1.0-ml"; import module namespace sec = "http://marklogic.com/xdmp/security" at "/MarkLogic/security.xqy"; sec:credentials-set-azure("myaccount","mykey")
Stack Overflow: Get the most useful answers to questions from the MarkLogic community, or ask your own question.