Class: Google::Container::V1::MasterAuth
- Inherits:
-
Object
- Object
- Google::Container::V1::MasterAuth
- 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
-
#client_certificate ⇒ String
[Output only] Base64-encoded public certificate used by clients to authenticate to the cluster endpoint.
-
#client_certificate_config ⇒ Google::Container::V1::ClientCertificateConfig
Configuration for client certificate authentication on the cluster.
-
#client_key ⇒ String
[Output only] Base64-encoded private key used by clients to authenticate to the cluster endpoint.
-
#cluster_ca_certificate ⇒ String
[Output only] Base64-encoded public certificate that is the root of trust for the cluster.
-
#password ⇒ String
The password to use for HTTP basic authentication to the master endpoint.
-
#username ⇒ String
The username to use for HTTP basic authentication to the master endpoint.
Instance Attribute Details
#client_certificate ⇒ String
Returns [Output only] Base64-encoded public certificate used by clients to authenticate to the cluster endpoint.
230 |
# File 'lib/google/cloud/container/v1/doc/google/container/v1/cluster_service.rb', line 230 class MasterAuth; end |
#client_certificate_config ⇒ Google::Container::V1::ClientCertificateConfig
Returns Configuration for client certificate authentication on the cluster. For clusters before v1.12, if no configuration is specified, a client certificate is issued.
230 |
# File 'lib/google/cloud/container/v1/doc/google/container/v1/cluster_service.rb', line 230 class MasterAuth; end |
#client_key ⇒ String
Returns [Output only] Base64-encoded private key used by clients to authenticate to the cluster endpoint.
230 |
# File 'lib/google/cloud/container/v1/doc/google/container/v1/cluster_service.rb', line 230 class MasterAuth; end |
#cluster_ca_certificate ⇒ String
Returns [Output only] Base64-encoded public certificate that is the root of trust for the cluster.
230 |
# File 'lib/google/cloud/container/v1/doc/google/container/v1/cluster_service.rb', line 230 class MasterAuth; end |
#password ⇒ String
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.
230 |
# File 'lib/google/cloud/container/v1/doc/google/container/v1/cluster_service.rb', line 230 class MasterAuth; end |
#username ⇒ String
Returns 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).
230 |
# File 'lib/google/cloud/container/v1/doc/google/container/v1/cluster_service.rb', line 230 class MasterAuth; end |