Reference documentation and code samples for the Cloud Key Management Service (KMS) V1 API class Google::Cloud::Kms::V1::AutokeyConfig.
Cloud KMS Autokey configuration for a folder.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#key_project
def key_project() -> ::String
Returns
-
(::String) — Optional. Name of the key project, e.g.
projects/{PROJECT_ID}
orprojects/{PROJECT_NUMBER}
, where Cloud KMS Autokey will provision a new CryptoKey when a KeyHandle is created. On UpdateAutokeyConfig, the caller will requirecloudkms.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 thecloudkms.admin
role (or pertinent permissions). A request with an empty key project field will clear the configuration.
#key_project=
def key_project=(value) -> ::String
Parameter
-
value (::String) — Optional. Name of the key project, e.g.
projects/{PROJECT_ID}
orprojects/{PROJECT_NUMBER}
, where Cloud KMS Autokey will provision a new CryptoKey when a KeyHandle is created. On UpdateAutokeyConfig, the caller will requirecloudkms.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 thecloudkms.admin
role (or pertinent permissions). A request with an empty key project field will clear the configuration.
Returns
-
(::String) — Optional. Name of the key project, e.g.
projects/{PROJECT_ID}
orprojects/{PROJECT_NUMBER}
, where Cloud KMS Autokey will provision a new CryptoKey when a KeyHandle is created. On UpdateAutokeyConfig, the caller will requirecloudkms.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 thecloudkms.admin
role (or pertinent permissions). A request with an empty key project field will clear the configuration.
#name
def name() -> ::String
Returns
-
(::String) — Identifier. Name of the AutokeyConfig
resource, e.g.
folders/{FOLDER_NUMBER}/autokeyConfig
.
#name=
def name=(value) -> ::String
Parameter
-
value (::String) — Identifier. Name of the AutokeyConfig
resource, e.g.
folders/{FOLDER_NUMBER}/autokeyConfig
.
Returns
-
(::String) — Identifier. Name of the AutokeyConfig
resource, e.g.
folders/{FOLDER_NUMBER}/autokeyConfig
.