Advanced Clusters > Setting up AWS > Step 8. Configure environment variables (optional)
  

Step 8. Configure environment variables (optional)

To run commands such as list-clusters.sh and delete-clusters.sh, configure environment variables on the Secure Agent machine.
The following table describes each environment variable:
Environment Variable
Description
JAVA_HOME
Java version on the Secure Agent machine that is used to run commands.
The Java version on the Secure Agent machine must be compatible with JDK 8.
PRIVILEGED_ROLE_ARN
ARN of the IAM role cluster_operator_role.
Used by the list-clusters.sh and delete-clusters.sh commands.
AGENT_ROLE_EXTERNAL_ID
External ID that the Secure Agent uses to assume the IAM role cluster_operator_role.
Used by the list-clusters.sh and delete-clusters.sh commands.