Skip to main content

credentials

Overview

Namecredentials
TypeResource
Iddigitalocean.kubernetes.credentials

Fields

NameDatatypeDescription
certificate_authority_datastringA base64 encoding of bytes representing the certificate authority data for accessing the cluster.
client_certificate_datastringA base64 encoding of bytes representing the x509 client
certificate data for access the cluster. This is only returned for clusters
without support for token-based authentication.

Newly created Kubernetes clusters do not return credentials using
certificate-based authentication. For additional information,
see here.
client_key_datastringA base64 encoding of bytes representing the x509 client key
data for access the cluster. This is only returned for clusters without
support for token-based authentication.

Newly created Kubernetes clusters do not return credentials using
certificate-based authentication. For additional information,
see here.
expires_atstringA time value given in ISO8601 combined date and time format that represents when the access token expires.
serverstringThe URL used to access the cluster API server.
tokenstringAn access token used to authenticate with the cluster. This is only returned for clusters with support for token-based authentication.

Methods

NameAccessible byRequired Params
get_credentialsSELECTcluster_id