UpdateVolumeKmsKeyDetails

class oci.core.models.UpdateVolumeKmsKeyDetails(**kwargs)

Bases: object

UpdateVolumeKmsKeyDetails model.

Methods

__init__(**kwargs) Initializes a new UpdateVolumeKmsKeyDetails object with values from keyword arguments.

Attributes

kms_key_id Gets the kms_key_id of this UpdateVolumeKmsKeyDetails.
__init__(**kwargs)

Initializes a new UpdateVolumeKmsKeyDetails object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):

Parameters:kms_key_id (str) – The value to assign to the kms_key_id property of this UpdateVolumeKmsKeyDetails.
kms_key_id

Gets the kms_key_id of this UpdateVolumeKmsKeyDetails. The OCID of the new Vault service key to assign to protect the specified volume. This key has to be a valid Vault service key, and policies must exist to allow the user and the Block Volume service to access this key. If you specify the same OCID as the previous key’s OCID, the Block Volume service will use it to regenerate a volume encryption key.

Returns:The kms_key_id of this UpdateVolumeKmsKeyDetails.
Return type:str