Class: Google::Container::V1::DatabaseEncryption
- Inherits:
-
Object
- Object
- Google::Container::V1::DatabaseEncryption
- Defined in:
- lib/google/cloud/container/v1/doc/google/container/v1/cluster_service.rb
Overview
Configuration of etcd encryption.
Defined Under Namespace
Modules: State
Instance Attribute Summary collapse
-
#key_name ⇒ String
Name of CloudKMS key to use for the encryption of secrets in etcd.
-
#state ⇒ Google::Container::V1::DatabaseEncryption::State
Denotes the state of etcd encryption.
Instance Attribute Details
#key_name ⇒ String
Returns Name of CloudKMS key to use for the encryption of secrets in etcd. Ex. projects/my-project/locations/global/keyRings/my-ring/cryptoKeys/my-key.
2211 2212 2213 2214 2215 2216 2217 2218 2219 2220 2221 2222 2223 2224 |
# File 'lib/google/cloud/container/v1/doc/google/container/v1/cluster_service.rb', line 2211 class DatabaseEncryption # State of etcd encryption. module State # Should never be set UNKNOWN = 0 # Secrets in etcd are encrypted. ENCRYPTED = 1 # Secrets in etcd are stored in plain text (at etcd level) - this is # unrelated to GCE level full disk encryption. DECRYPTED = 2 end end |
#state ⇒ Google::Container::V1::DatabaseEncryption::State
Returns Denotes the state of etcd encryption.
2211 2212 2213 2214 2215 2216 2217 2218 2219 2220 2221 2222 2223 2224 |
# File 'lib/google/cloud/container/v1/doc/google/container/v1/cluster_service.rb', line 2211 class DatabaseEncryption # State of etcd encryption. module State # Should never be set UNKNOWN = 0 # Secrets in etcd are encrypted. ENCRYPTED = 1 # Secrets in etcd are stored in plain text (at etcd level) - this is # unrelated to GCE level full disk encryption. DECRYPTED = 2 end end |