envs

Dynatrace — API token

dynatrace/api · version 1

envs add dynatrace/api

This declares the keys below in your catalog and sets none of them. A template is a schema for keys; it never carries a value.

Key Needed Kind Notes
DYNATRACE_ENV_URL required config Environment address.. Shape ^https://\S+$. where to get it
DYNATRACE_API_TOKEN required secret API token, scoped to what was ticked at creation.. Shape ^dt0c01\.[A-Z0-9]{24}\.[A-Za-z0-9]{64}$. where to get it

The JSON the CLI reads