• 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.

GETManagedDynatrace for Governmenthttps://{your-domain}/e/{your-environment-id}/api/config/v1/kubernetes/credentials
SaaShttps://{your-environment-id}.live.dynatrace.com/api/config/v1/kubernetes/credentials
Environment ActiveGatehttps://{your-activegate-domain}/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

CodeTypeDescription
200KubernetesConfigStubListDto

Success

Response body objects

The KubernetesConfigStubListDto object

ElementTypeDescription
valuesKubernetesConfigShortRepresentation[]-

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.

descriptionstring

A short description of the Dynatrace entity.

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