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.

GET
  • Managed 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 the Read configuration (ReadConfig) permission assigned to your API token. To learn how to obtain and use it, see Tokens and authentication.

Parameter

The request doesn't provide any configurable parameters.

Response

Response codes

Code Description
200

Success

Response body

The KubernetesConfigStubListDto object

Element Type Description
values KubernetesConfigShortRepresentation[]

The KubernetesConfigShortRepresentation object

The short representation of a kubernetes configuration.

Element Type Description
id string

The ID of the Dynatrace entity.

name string

The name of the Dynatrace entity.

description string

A short description of the Dynatrace entity.

endpointUrl string

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.