Class: Google::Container::V1::MasterAuth

Inherits:
Object
  • Object
show all
Defined in:
lib/google/cloud/container/v1/doc/google/container/v1/cluster_service.rb

Overview

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

Instance Attribute Summary collapse

Instance Attribute Details

#client_certificateString

Returns [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.



146
# File 'lib/google/cloud/container/v1/doc/google/container/v1/cluster_service.rb', line 146

class MasterAuth; end

#client_certificate_configGoogle::Container::V1::ClientCertificateConfig

Returns Configuration for client certificate authentication on the cluster. If no configuration is specified, a client certificate is issued.

Returns:



146
# File 'lib/google/cloud/container/v1/doc/google/container/v1/cluster_service.rb', line 146

class MasterAuth; end

#client_keyString

Returns [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.



146
# File 'lib/google/cloud/container/v1/doc/google/container/v1/cluster_service.rb', line 146

class MasterAuth; end

#cluster_ca_certificateString

Returns [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.



146
# File 'lib/google/cloud/container/v1/doc/google/container/v1/cluster_service.rb', line 146

class MasterAuth; end

#passwordString

Returns 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.

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.



146
# File 'lib/google/cloud/container/v1/doc/google/container/v1/cluster_service.rb', line 146

class MasterAuth; end

#usernameString

Returns The username to use for HTTP basic authentication to the master endpoint. For clusters v1.6.0 and later, you can disable basic authentication by providing an empty username.

Returns:

  • (String)

    The username to use for HTTP basic authentication to the master endpoint. For clusters v1.6.0 and later, you can disable basic authentication by providing an empty username.



146
# File 'lib/google/cloud/container/v1/doc/google/container/v1/cluster_service.rb', line 146

class MasterAuth; end