• Home
  • Dynatrace API
  • Configuration
  • Kubernetes credentials
  • GET all credentials

Kubernetes credentials API - GET all credentials

Lists all available Kubernetes credentials configurations.

The request produces an application/json payload.

Early Adopter

This request is an Early Adopter release and may be changed in non-compatible way.

GETManaged https://{your-domain}/e/{your-environment-id}/api/config/v1/kubernetes/credentials
SaaS https://{your-environment-id}.live.dynatrace.com/api/config/v1/kubernetes/credentials
Environment ActiveGate https://{your-activegate-domain}/e/{your-environment-id}/api/config/v1/kubernetes/credentials

Authentication

To execute this request, you need an access token with Read configuration (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

CodeTypeDescription
200KubernetesConfigStubListDto

Success

Response body objects

The KubernetesConfigStubListDto object

ElementTypeDescription
valuesKubernetesConfigShortRepresentation[]-

Can be null.

The KubernetesConfigShortRepresentation object

The short representation of a kubernetes configuration.

ElementTypeDescription
idstring

The ID of the Dynatrace entity.

namestring

The name of the Dynatrace entity.

Can be null.

descriptionstring

A short description of the Dynatrace entity.

Can be null.

endpointUrlstring

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.

Response body JSON model

json
{ "values": [ { "id": "string", "name": "string", "description": "string", "endpointUrl": "string" } ] }
Related topics
  • Set up Dynatrace on Kubernetes/OpenShift

    Ways to deploy and configure Dynatrace on Kubernetes/OpenShift