Interface MasterAuthOrBuilder (2.57.0)

public interface MasterAuthOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getClientCertificate()

public abstract String getClientCertificate()

Output only. Base64-encoded public certificate used by clients to authenticate to the cluster endpoint.

string client_certificate = 101 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
String

The clientCertificate.

getClientCertificateBytes()

public abstract ByteString getClientCertificateBytes()

Output only. Base64-encoded public certificate used by clients to authenticate to the cluster endpoint.

string client_certificate = 101 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ByteString

The bytes for clientCertificate.

getClientCertificateConfig()

public abstract ClientCertificateConfig getClientCertificateConfig()

Configuration for client certificate authentication on the cluster. For clusters before v1.12, if no configuration is specified, a client certificate is issued.

.google.container.v1beta1.ClientCertificateConfig client_certificate_config = 3;

Returns
Type Description
ClientCertificateConfig

The clientCertificateConfig.

getClientCertificateConfigOrBuilder()

public abstract ClientCertificateConfigOrBuilder getClientCertificateConfigOrBuilder()

Configuration for client certificate authentication on the cluster. For clusters before v1.12, if no configuration is specified, a client certificate is issued.

.google.container.v1beta1.ClientCertificateConfig client_certificate_config = 3;

Returns
Type Description
ClientCertificateConfigOrBuilder

getClientKey()

public abstract String getClientKey()

Output only. Base64-encoded private key used by clients to authenticate to the cluster endpoint.

string client_key = 102 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
String

The clientKey.

getClientKeyBytes()

public abstract ByteString getClientKeyBytes()

Output only. Base64-encoded private key used by clients to authenticate to the cluster endpoint.

string client_key = 102 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ByteString

The bytes for clientKey.

getClusterCaCertificate()

public abstract String getClusterCaCertificate()

Output only. Base64-encoded public certificate that is the root of trust for the cluster.

string cluster_ca_certificate = 100 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
String

The clusterCaCertificate.

getClusterCaCertificateBytes()

public abstract ByteString getClusterCaCertificateBytes()

Output only. Base64-encoded public certificate that is the root of trust for the cluster.

string cluster_ca_certificate = 100 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ByteString

The bytes for clusterCaCertificate.

getPassword() (deprecated)

public abstract String getPassword()

Deprecated. google.container.v1beta1.MasterAuth.password is deprecated. See google/container/v1beta1/cluster_service.proto;l=1362

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

string password = 2 [deprecated = true];

Returns
Type Description
String

The password.

getPasswordBytes() (deprecated)

public abstract ByteString getPasswordBytes()

Deprecated. google.container.v1beta1.MasterAuth.password is deprecated. See google/container/v1beta1/cluster_service.proto;l=1362

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

string password = 2 [deprecated = true];

Returns
Type Description
ByteString

The bytes for password.

getUsername() (deprecated)

public abstract String getUsername()

Deprecated. google.container.v1beta1.MasterAuth.username is deprecated. See google/container/v1beta1/cluster_service.proto;l=1351

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

string username = 1 [deprecated = true];

Returns
Type Description
String

The username.

getUsernameBytes() (deprecated)

public abstract ByteString getUsernameBytes()

Deprecated. google.container.v1beta1.MasterAuth.username is deprecated. See google/container/v1beta1/cluster_service.proto;l=1351

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

string username = 1 [deprecated = true];

Returns
Type Description
ByteString

The bytes for username.

hasClientCertificateConfig()

public abstract boolean hasClientCertificateConfig()

Configuration for client certificate authentication on the cluster. For clusters before v1.12, if no configuration is specified, a client certificate is issued.

.google.container.v1beta1.ClientCertificateConfig client_certificate_config = 3;

Returns
Type Description
boolean

Whether the clientCertificateConfig field is set.