Kubernetes credentials API - GET all credentials
Lists all available Kubernetes credentials configurations.
The request produces an application/json
payload.
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 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
Code | Type | Description |
---|---|---|
200 | Kubernetes | Success |
Response body objects
The KubernetesConfigStubListDto
object
Element | Type | Description |
---|---|---|
values | Kubernetes | - Can be |
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. Can be |
description | string | A short description of the Dynatrace entity. Can be |
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. |
Response body JSON model
{
"values": [
{
"id": "string",
"name": "string",
"description": "string",
"endpointUrl": "string"
}
]
}