Interface MasterAuthOrBuilder (2.37.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;

Returns
TypeDescription
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;

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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;

Returns
TypeDescription
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;

Returns
TypeDescription
ByteString

The bytes for clientKey.

getClusterCaCertificate()

public abstract String getClusterCaCertificate()

string cluster_ca_certificate = 100;

Returns
TypeDescription
String

The clusterCaCertificate.

getClusterCaCertificateBytes()

public abstract ByteString getClusterCaCertificateBytes()

string cluster_ca_certificate = 100;

Returns
TypeDescription
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=1291

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
TypeDescription
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=1291

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
TypeDescription
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=1280

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
TypeDescription
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=1280

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
TypeDescription
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
TypeDescription
boolean

Whether the clientCertificateConfig field is set.