credentials
Overview
Name | credentials |
Type | Resource |
Id | digitalocean.kubernetes.credentials |
Fields
Name | Datatype | Description |
---|---|---|
certificate_authority_data | string | A base64 encoding of bytes representing the certificate authority data for accessing the cluster. |
client_certificate_data | string | A 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_data | string | A 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_at | string | A time value given in ISO8601 combined date and time format that represents when the access token expires. |
server | string | The URL used to access the cluster API server. |
token | string | An access token used to authenticate with the cluster. This is only returned for clusters with support for token-based authentication. |
Methods
Name | Accessible by | Required Params |
---|---|---|
get_credentials | SELECT | cluster_id |