VolumeKmsKey

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

Bases: object

The Key Management master encryption key associated with this volume.

Methods

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

Attributes

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

Initializes a new VolumeKmsKey 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 VolumeKmsKey.
kms_key_id

Gets the kms_key_id of this VolumeKmsKey. The OCID of the Key Management key assigned to this volume. If the volume is not using Key Management, then the kmsKeyId will be a null string.

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