Class: Google::Cloud::Container::V1::MasterAuth
- Inherits:
-
Object
- Object
- Google::Cloud::Container::V1::MasterAuth
- Extended by:
- Protobuf::MessageExts::ClassMethods
- Includes:
- Protobuf::MessageExts
- Defined in:
- proto_docs/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
readonly
Output only.
-
#client_certificate_config ⇒ ::Google::Cloud::Container::V1::ClientCertificateConfig
Configuration for client certificate authentication on the cluster.
-
#client_key ⇒ ::String
readonly
Output only.
-
#cluster_ca_certificate ⇒ ::String
readonly
Output only.
-
#password ⇒ ::String
deprecated
Deprecated.
This field is deprecated and may be removed in the next major version update.
-
#username ⇒ ::String
deprecated
Deprecated.
This field is deprecated and may be removed in the next major version update.
Instance Attribute Details
#client_certificate ⇒ ::String (readonly)
Returns Output only. Base64-encoded public certificate used by clients to authenticate to the cluster endpoint. Issued only if client_certificate_config is set.
928 929 930 931 |
# File 'proto_docs/google/container/v1/cluster_service.rb', line 928 class MasterAuth include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#client_certificate_config ⇒ ::Google::Cloud::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.
928 929 930 931 |
# File 'proto_docs/google/container/v1/cluster_service.rb', line 928 class MasterAuth include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#client_key ⇒ ::String (readonly)
Returns Output only. Base64-encoded private key used by clients to authenticate to the cluster endpoint.
928 929 930 931 |
# File 'proto_docs/google/container/v1/cluster_service.rb', line 928 class MasterAuth include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#cluster_ca_certificate ⇒ ::String (readonly)
Returns Output only. Base64-encoded public certificate that is the root of trust for the cluster.
928 929 930 931 |
# File 'proto_docs/google/container/v1/cluster_service.rb', line 928 class MasterAuth include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#password ⇒ ::String
This field is deprecated and may be removed in the next major version update.
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.
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.
928 929 930 931 |
# File 'proto_docs/google/container/v1/cluster_service.rb', line 928 class MasterAuth include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#username ⇒ ::String
This field is deprecated and may be removed in the next major version update.
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).
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.
928 929 930 931 |
# File 'proto_docs/google/container/v1/cluster_service.rb', line 928 class MasterAuth include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |