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.

GETSaaShttps://{your-environment-id}.live.dynatrace.com/api/config/v1/kubernetes/credentials
Environment ActiveGatehttps://{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

Code
Type
Description

Response body objects

The KubernetesConfigStubListDto object

Element
Type
Description

The KubernetesConfigShortRepresentation object

The short representation of a kubernetes configuration.

Element
Type
Description
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.

id
string

The ID of the Dynatrace entity.

name
string

The name of the Dynatrace entity.

Response body JSON model

{
"values": [
{
"description": "string",
"endpointUrl": "string",
"id": "string",
"name": "string"
}
]
}