KmsConfig
(
mapping
=
None
,
*
,
ignore_unknown_fields
=
False
,
**
kwargs
)
KmsConfig is the customer managed encryption key(CMEK) configuration.
Attributes
name
str
Output only. Name of the KmsConfig.
crypto_key_name
str
Required. Customer managed crypto key resource full name. Format: projects/{project}/locations/{location}/keyRings/{key_ring}/cryptoKeys/{key}.
state
state_details
str
Output only. State details of the KmsConfig.
create_time
google.protobuf.timestamp_pb2.Timestamp
Output only. Create time of the KmsConfig.
description
str
Description of the KmsConfig.
labels
MutableMapping[str, str]
Labels as key value pairs
instructions
str
Output only. Instructions to provide the access to the customer provided encryption key.
service_account
str
Output only. The Service account which will have access to the customer provided encryption key.
Classes
LabelsEntry
LabelsEntry
(
mapping
=
None
,
*
,
ignore_unknown_fields
=
False
,
**
kwargs
)
The abstract base class for a message.
kwargs
dict
Keys and values corresponding to the fields of the message.
mapping
Union[dict, .Message
]
A dictionary or message to be used to determine the values for this message.
ignore_unknown_fields
Optional(bool)
If True, do not raise errors for unknown fields. Only applied if mapping
is a mapping type or there are keyword parameters.
State
State
(
value
)
The KmsConfig States
Values: STATE_UNSPECIFIED (0): Unspecified KmsConfig State READY (1): KmsConfig State is Ready CREATING (2): KmsConfig State is Creating DELETING (3): KmsConfig State is Deleting UPDATING (4): KmsConfig State is Updating IN_USE (5): KmsConfig State is In Use. ERROR (6): KmsConfig State is Error KEY_CHECK_PENDING (7): KmsConfig State is Pending to verify crypto key access. KEY_NOT_REACHABLE (8): KmsConfig State is Not accessbile by the SDE service account to the crypto key. DISABLING (9): KmsConfig State is Disabling. DISABLED (10): KmsConfig State is Disabled. MIGRATING (11): KmsConfig State is Migrating. The existing volumes are migrating from SMEK to CMEK.