Loading TOC...

MarkLogic 9 Product Documentation
sec:credentials-get-aws

sec:credentials-get-aws() as xs:string*

Summary

Returns the Amazon Web Services access key, secret key, and session token (if one exists) used to access the Amazon Simple Storage Service.

Required Privileges

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

Usage Notes

This function must be executed against the security database.

Example


(: 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-get-aws()
(: 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.