Tokens authenticate and authorize API calls, ensuring that only authorized services can interact with your Dynatrace environment. In the context of Dynatrace Operator for Kubernetes, two tokens are used:
Operator token
The Operator token enables the Dynatrace Operator to manage settings and the lifecycle of all Dynatrace components in the Kubernetes cluster.
Data Ingest token
The data ingest token enriches and sends additional observability signals (for example, custom metrics) from your Kubernetes cluster to Dynatrace.
For each Kubernetes cluster, Dynatrace Operator uses two platform tokens associated with a dedicated service user:
Operator token—assigned the Kubernetes Operator policy. Manages the lifecycle of all Dynatrace components in the cluster.
Data Ingest token—assigned the Kubernetes Ingest policy. Ingests observability signals (metrics, logs, traces) from the cluster.
Operator token
Scope
Usage
fleet-management:activegate.connection-info:read
Collect information for ActiveGate lifecycle
fleet-management:activegate.tokens:create
Create an authentication token for your ActiveGate to connect to the Dynatrace Cluster
Platform tokens are created automatically as part of the Kubernetes Onboarding flow — you don't need to create them manually unless you prefer to. To use the onboarding flow, an account administrator must first grant Kubernetes Onboarding permissions to your user.
Create tokens
Create a service user
Go to Account Management. If you have more than one account, select the account you want to manage.
Go to Identity & access management > Service users.
On the Service users page, select Add service user.
On the Create service user page, enter the following service user details.
Name
OptionalDescription
Make sure they're both meaningful for environment admins so that they understand the purpose of the service user.
In the Assign permissions section, select to assign the following permissions Directly:
Kubernetes Operator
Kubernetes Ingest
Select Create.
Create platform tokens
Repeat the following steps for both the Operator and Data Ingest tokens.