Class: Google::Cloud::Kms::V1::AutokeyConfig
- Inherits:
-
Object
- Object
- Google::Cloud::Kms::V1::AutokeyConfig
- Extended by:
- Protobuf::MessageExts::ClassMethods
- Includes:
- Protobuf::MessageExts
- Defined in:
- proto_docs/google/cloud/kms/v1/autokey_admin.rb
Overview
Cloud KMS Autokey configuration for a folder.
Defined Under Namespace
Modules: State
Instance Attribute Summary collapse
-
#key_project ⇒ ::String
Optional.
-
#name ⇒ ::String
Identifier.
-
#state ⇒ ::Google::Cloud::Kms::V1::AutokeyConfig::State
readonly
Output only.
Instance Attribute Details
#key_project ⇒ ::String
Returns Optional. Name of the key project, e.g. projects/{PROJECT_ID}
or
projects/{PROJECT_NUMBER}
, where Cloud KMS Autokey will provision a new
CryptoKey when a
KeyHandle is created. On
UpdateAutokeyConfig,
the caller will require cloudkms.cryptoKeys.setIamPolicy
permission on
this key project. Once configured, for Cloud KMS Autokey to function
properly, this key project must have the Cloud KMS API activated and the
Cloud KMS Service Agent for this key project must be granted the
cloudkms.admin
role (or pertinent permissions). A request with an empty
key project field will clear the configuration.
72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 |
# File 'proto_docs/google/cloud/kms/v1/autokey_admin.rb', line 72 class AutokeyConfig include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # The states AutokeyConfig can be in. module State # The state of the AutokeyConfig is unspecified. STATE_UNSPECIFIED = 0 # The AutokeyConfig is currently active. ACTIVE = 1 # A previously configured key project has been deleted and the current # AutokeyConfig is unusable. KEY_PROJECT_DELETED = 2 # The AutokeyConfig is not yet initialized or has been reset to its default # uninitialized state. UNINITIALIZED = 3 end end |
#name ⇒ ::String
Returns Identifier. Name of the AutokeyConfig
resource, e.g. folders/{FOLDER_NUMBER}/autokeyConfig
.
72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 |
# File 'proto_docs/google/cloud/kms/v1/autokey_admin.rb', line 72 class AutokeyConfig include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # The states AutokeyConfig can be in. module State # The state of the AutokeyConfig is unspecified. STATE_UNSPECIFIED = 0 # The AutokeyConfig is currently active. ACTIVE = 1 # A previously configured key project has been deleted and the current # AutokeyConfig is unusable. KEY_PROJECT_DELETED = 2 # The AutokeyConfig is not yet initialized or has been reset to its default # uninitialized state. UNINITIALIZED = 3 end end |
#state ⇒ ::Google::Cloud::Kms::V1::AutokeyConfig::State (readonly)
Returns Output only. The state for the AutokeyConfig.
72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 |
# File 'proto_docs/google/cloud/kms/v1/autokey_admin.rb', line 72 class AutokeyConfig include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # The states AutokeyConfig can be in. module State # The state of the AutokeyConfig is unspecified. STATE_UNSPECIFIED = 0 # The AutokeyConfig is currently active. ACTIVE = 1 # A previously configured key project has been deleted and the current # AutokeyConfig is unusable. KEY_PROJECT_DELETED = 2 # The AutokeyConfig is not yet initialized or has been reset to its default # uninitialized state. UNINITIALIZED = 3 end end |