CmekSettings(mapping=None, *, ignore_unknown_fields=False, **kwargs)Settings for configuring CMEK for a bucket.
Attributes |
|
|---|---|
| Name | Description |
kms_key |
str
Optional. The resource name for the configured Cloud KMS key. The format is: :: projects/[PROJECT_ID]/locations/[LOCATION]/keyRings/[KEYRING]/cryptoKeys/[KEY] For example: :: projects/my-project/locations/us-central1/keyRings/my-ring/cryptoKeys/my-key |
kms_key_version |
str
Output only. The CryptoKeyVersion resource name for the configured Cloud KMS key. The format is: :: projects/[PROJECT_ID]/locations/[LOCATION]/keyRings/[KEYRING]/cryptoKeys/[KEY]/cryptoKeyVersions/[VERSION] For example: :: projects/my-project/locations/us-central1/keyRings/my-ring/cryptoKeys/my-key/cryptoKeyVersions/1 This read-only field is used to convey the specific configured CryptoKeyVersion of the kms_key that has been
configured. It is populated when the CMEK settings are bound
to a single key version.
|
service_account_id |
str
Output only. The service account used to access the key. |