public sealed class MasterAuth : IMessage<MasterAuth>, IEquatable<MasterAuth>, IDeepCloneable<MasterAuth>, IBufferMessage, IMessage
Reference documentation and code samples for the Google Kubernetes Engine v1 API class MasterAuth.
The authentication information for accessing the master endpoint. Authentication can be done using HTTP basic auth or using client certificates.
Implements
IMessageMasterAuth, IEquatableMasterAuth, IDeepCloneableMasterAuth, IBufferMessage, IMessageNamespace
Google.Cloud.Container.V1Assembly
Google.Cloud.Container.V1.dll
Constructors
MasterAuth()
public MasterAuth()
MasterAuth(MasterAuth)
public MasterAuth(MasterAuth other)
Parameter | |
---|---|
Name | Description |
other | MasterAuth |
Properties
ClientCertificate
public string ClientCertificate { get; set; }
[Output only] Base64-encoded public certificate used by clients to authenticate to the cluster endpoint.
Property Value | |
---|---|
Type | Description |
string |
ClientCertificateConfig
public ClientCertificateConfig ClientCertificateConfig { get; set; }
Configuration for client certificate authentication on the cluster. For clusters before v1.12, if no configuration is specified, a client certificate is issued.
Property Value | |
---|---|
Type | Description |
ClientCertificateConfig |
ClientKey
public string ClientKey { get; set; }
[Output only] Base64-encoded private key used by clients to authenticate to the cluster endpoint.
Property Value | |
---|---|
Type | Description |
string |
ClusterCaCertificate
public string ClusterCaCertificate { get; set; }
[Output only] Base64-encoded public certificate that is the root of trust for the cluster.
Property Value | |
---|---|
Type | Description |
string |
Password
[Obsolete]
public string Password { get; set; }
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
Property Value | |
---|---|
Type | Description |
string |
Username
[Obsolete]
public string Username { get; set; }
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
Property Value | |
---|---|
Type | Description |
string |