MasterAuthResponse class

The authentication information for accessing the master endpoint. Authentication can be done using HTTP basic auth or using client certificates.

Constructors

MasterAuthResponse({required Input<String> clientCertificate, required Input<ClientCertificateConfigResponse> clientCertificateConfig, required Input<String> clientKey, required Input<String> clusterCaCertificate, required Input<String> password, required Input<String> username})
Creates a new MasterAuthResponse. clientCertificate Output only Base64-encoded public certificate used by clients to authenticate to the cluster endpoint. clientCertificateConfig Configuration for client certificate authentication on the cluster. For clusters before v1.12, if no configuration is specified, a client certificate is issued. clientKey Output only Base64-encoded private key used by clients to authenticate to the cluster endpoint. clusterCaCertificate Output only Base64-encoded public certificate that is the root of trust for the cluster. password The password to use for HTTP basic authentication to the master endpoint. Because the master endpoint is open to the Internet, you should create a strong password. If a password is provided for cluster creation, username must be non-empty. Warning: basic authentication is deprecated, and will be removed in GKE control plane versions 1.19 and newer. For a list of recommended authentication methods, see: https://cloud.google.com/kubernetes-engine/docs/how-to/api-server-authentication username The username to use for HTTP basic authentication to the master endpoint. For clusters v1.6.0 and later, basic authentication can be disabled by leaving username unspecified (or setting it to the empty string). Warning: basic authentication is deprecated, and will be removed in GKE control plane versions 1.19 and newer. For a list of recommended authentication methods, see: https://cloud.google.com/kubernetes-engine/docs/how-to/api-server-authentication
const
MasterAuthResponse.fromMap(Map<String, dynamic> map)
factory

Properties

clientCertificate → Input<String>
Output only Base64-encoded public certificate used by clients to authenticate to the cluster endpoint.
final
clientCertificateConfig → Input<ClientCertificateConfigResponse>
Configuration for client certificate authentication on the cluster. For clusters before v1.12, if no configuration is specified, a client certificate is issued.
final
clientKey → Input<String>
Output only Base64-encoded private key used by clients to authenticate to the cluster endpoint.
final
clusterCaCertificate → Input<String>
Output only Base64-encoded public certificate that is the root of trust for the cluster.
final
hashCode → int
The hash code for this object.
no setterinherited
password → Input<String>
The password to use for HTTP basic authentication to the master endpoint. Because the master endpoint is open to the Internet, you should create a strong password. If a password is provided for cluster creation, username must be non-empty. Warning: basic authentication is deprecated, and will be removed in GKE control plane versions 1.19 and newer. For a list of recommended authentication methods, see: https://cloud.google.com/kubernetes-engine/docs/how-to/api-server-authentication
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
username → Input<String>
The username to use for HTTP basic authentication to the master endpoint. For clusters v1.6.0 and later, basic authentication can be disabled by leaving username unspecified (or setting it to the empty string). Warning: basic authentication is deprecated, and will be removed in GKE control plane versions 1.19 and newer. For a list of recommended authentication methods, see: https://cloud.google.com/kubernetes-engine/docs/how-to/api-server-authentication
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toMap() → Map<String, dynamic>
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited