Class MasterAuth
The authentication information for accessing the master endpoint. Authentication can be done using HTTP basic auth or using client certificates.
Implements
Inherited Members
Namespace: Google.Apis.Container.v1.Data
Assembly: Google.Apis.Container.v1.dll
Syntax
public class MasterAuth : IDirectResponseSchema
Properties
ClientCertificate
Output only. Base64-encoded public certificate used by clients to authenticate to the cluster endpoint. Issued only if client_certificate_config is set.
Declaration
[JsonProperty("clientCertificate")]
public virtual string ClientCertificate { get; set; }
Property Value
Type | Description |
---|---|
string |
ClientCertificateConfig
Configuration for client certificate authentication on the cluster. For clusters before v1.12, if no configuration is specified, a client certificate is issued.
Declaration
[JsonProperty("clientCertificateConfig")]
public virtual ClientCertificateConfig ClientCertificateConfig { get; set; }
Property Value
Type | Description |
---|---|
ClientCertificateConfig |
ClientKey
Output only. Base64-encoded private key used by clients to authenticate to the cluster endpoint.
Declaration
[JsonProperty("clientKey")]
public virtual string ClientKey { get; set; }
Property Value
Type | Description |
---|---|
string |
ClusterCaCertificate
Output only. Base64-encoded public certificate that is the root of trust for the cluster.
Declaration
[JsonProperty("clusterCaCertificate")]
public virtual string ClusterCaCertificate { get; set; }
Property Value
Type | Description |
---|---|
string |
ETag
The ETag of the item.
Declaration
public virtual string ETag { get; set; }
Property Value
Type | Description |
---|---|
string |
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
Declaration
[JsonProperty("password")]
public virtual string Password { get; set; }
Property Value
Type | Description |
---|---|
string |
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
Declaration
[JsonProperty("username")]
public virtual string Username { get; set; }
Property Value
Type | Description |
---|---|
string |