Kubernetes Engine V1 API - Class Google::Cloud::Container::V1::MasterAuth (v0.35.0)

Reference documentation and code samples for the Kubernetes Engine V1 API class Google::Cloud::Container::V1::MasterAuth.

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

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#client_certificate

def client_certificate() -> ::String
Returns
  • (::String) — [Output only] Base64-encoded public certificate used by clients to authenticate to the cluster endpoint.

#client_certificate=

def client_certificate=(value) -> ::String
Parameter
  • value (::String) — [Output only] Base64-encoded public certificate used by clients to authenticate to the cluster endpoint.
Returns
  • (::String) — [Output only] Base64-encoded public certificate used by clients to authenticate to the cluster endpoint.

#client_certificate_config

def client_certificate_config() -> ::Google::Cloud::Container::V1::ClientCertificateConfig
Returns

#client_certificate_config=

def client_certificate_config=(value) -> ::Google::Cloud::Container::V1::ClientCertificateConfig
Parameter
Returns

#client_key

def client_key() -> ::String
Returns
  • (::String) — [Output only] Base64-encoded private key used by clients to authenticate to the cluster endpoint.

#client_key=

def client_key=(value) -> ::String
Parameter
  • value (::String) — [Output only] Base64-encoded private key used by clients to authenticate to the cluster endpoint.
Returns
  • (::String) — [Output only] Base64-encoded private key used by clients to authenticate to the cluster endpoint.

#cluster_ca_certificate

def cluster_ca_certificate() -> ::String
Returns
  • (::String) — [Output only] Base64-encoded public certificate that is the root of trust for the cluster.

#cluster_ca_certificate=

def cluster_ca_certificate=(value) -> ::String
Parameter
  • value (::String) — [Output only] Base64-encoded public certificate that is the root of trust for the cluster.
Returns
  • (::String) — [Output only] Base64-encoded public certificate that is the root of trust for the cluster.

#password

def password() -> ::String
Returns
  • (::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

#password=

def password=(value) -> ::String
Parameter
  • value (::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

Returns
  • (::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

#username

def username() -> ::String
Returns
  • (::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

#username=

def username=(value) -> ::String
Parameter
  • value (::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

Returns
  • (::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