Kubernetes credentials API - GET all credentials
This API is deprecated. Use the Settings API with the Kubernetes connection settings (builtin:cloud.kubernetes
) and the Kubernetes platform monitoring settings (builtin:cloud.kubernetes.monitoring
) schemas instead.
Lists all available Kubernetes credentials configurations.
The request produces an application/json
payload.
GET | SaaS | https://{your-environment-id}.live.dynatrace.com/api/config/v1/kubernetes/credentials |
Environment ActiveGate | https://{your-activegate-domain}:9999/e/{your-environment-id}/api/config/v1/kubernetes/credentials |
Authentication
To execute this request, you need an access token with ReadConfig
scope.
To learn how to obtain and use it, see Tokens and authentication.
Parameter
The request doesn't provide any configurable parameters.
Response
Response codes
Response body objects
The KubernetesConfigStubListDto
object
The KubernetesConfigShortRepresentation
object
The short representation of a kubernetes configuration.
A short description of the Dynatrace entity.
The URL of the Kubernetes API server.
It must be unique within a Dynatrace environment.
The URL must valid according to RFC 2396. Leading or trailing whitespaces are not allowed.
The ID of the Dynatrace entity.
The name of the Dynatrace entity.
Response body JSON model
{"values": [{"description": "string","endpointUrl": "string","id": "string","name": "string"}]}