Powered by Zoomin Software. For more details please contactZoomin

Run on Amazon Web Services (AWS)

Configure AWS credentials in environment variables

Configure AWS credentials in environment variables

  • Last Updated: April 14, 2026
  • 1 minute read
    • MarkLogic Server
    • Version 12.0
    • Documentation

You can set a pair of environment variables that the server will use as AWS Credentials. These can be passed in as AWS User Data or set into the environment in which MarkLogic runs.

  • MARKLOGIC_AWS_ACCESS_KEY -- Your AWS Access Key

  • MARKLOGIC_AWS_SECRET_KEY -- Your AWS Secret Key

  • MARKLOGIC_AWS_SESSION_TOKEN -- Your optional AWS Session Token

On Linux, set the environment variables in the marklogic.conf file, as described in Configuration using the /etc/marklogic.conf File. It is a good practice to protect the marklogic.conf file so that it is system-readable only.

In Windows, set the environment variables as System Variables, then restart MarkLogic.

TitleResults for “How to create a CRG?”Also Available inAlert