Configuring AWS Credentials in the Security Database
- Last Updated: April 14, 2026
- 1 minute read
- MarkLogic Server
- Version 11.0
- Documentation
If you are only using S3, it is best to use the Admin Interface to store your AWS credentials because the credentials are securely stored in the MarkLogic Security database.
Note:
If you are using KMS, you cannot put your credentials in the Security database because, on startup, MarkLogic needs the credentials before it can access AWS. In this case, follow the procedure described in Configuring AWS Credentials in Environment Variables.
In the Security, Credentials, Configure tab are fields for specifying the AWS credentials.
-
Log into the Admin Interface.
-
Click Security on the left tree menu.
-
Click Credentials to open the configuration page.
-
Enter the aws access key, aws secret key, and optional aws session token provided for your AWS account.