Cloud Automation configuration
The configuration options for Cloud Automation are described below.
Connect Cloud Automation to Dynatrace
To connect your Cloud Automation instance with your Dynatrace environment, you have two options: via the Cloud Automation bridge or via the Keptn CLI.
- Go to your Dynatrace project.
- In the menu on the left side of the page, select the Uniform button.
- Select Secrets.
- Select Add secret.
- Enter a name for your secret (the default is dynatrace), and the key/value pairs below.
Key Value DT_TENANT
Your Dynatrace environment's URL without https://
and trailing slash. See Dynatrace environment ID for examples of the URL.DT_API_TOKEN
Your Dynatrace API token. See Dynatrace requirements for details. - For Scope, select
dynatrace-service
. - Select Add secret to save your configuration.
-
Prepare the following environment variables :
-
export DT_TENANT=https://<your_environment_ID>.live.dynatrace.com
Be sure to replace
<your_Dynatrace_environment_ID>
with your own value. See Dynatrace environment ID for details. -
export DT_API_TOKEN=<your_Dynatrace_API_token>
Be sure to replace
<your_Dynatrace_API_token>
with your own value. See Dynatrace requirements for details.
-
-
Run the command below to store the Dynatrace integration secrets:
keptn create secret dynatrace --from-literal="DT_TENANT=$DT_TENANT" \ --from-literal="DT_API_TOKEN=$DT_API_TOKEN" \ --scope=dynatrace-service
Rotate Dynatrace API token
To replace an existent Dynatrace API token with a new one
- In your Cloud Automation bridge, go to your Dynatrace project.
- In the menu on the left side of the page, select the Uniform icon.
- Select Secrets.
- Select the Delete icon to delete your secret.
- Select Add secret to add a new secret.
- Enter the updated information.
- Select Add secret to save your configuration.