
Retrieve credentials used to access external services, such as Amazon Web
Services (AWS). If no credentials have been set, only the typeproperty is
returned.
Upon success, MarkLogic server returns status code 200 (OK) and the response body contains the requested data. A status code of 401 (Unauthorized) is returned if the user does not have the necessary privileges.
manage-user role, or the following
privilege: http://marklogic.com/xdmp/privileges/manage
The structure of the output returned from this REST API is as follows:
awsThis is a complex structure with the following children:
access-keysecret-keysession-tokenazureThis is a complex structure with the following children:
storage-accountstorage-key
http://localhost:8002/manage/v2/credentials/properties?type=aws
==> Returns credentials used to access Amazon Web Services (AWS).
Stack Overflow: Get the most useful answers to questions from the MarkLogic community, or ask your own question.