EC2.Client.
reset_ebs_default_kms_key_id
(**kwargs)¶Resets the default KMS key for EBS encryption for your account in this Region to the Amazon Web Services managed KMS key for EBS.
After resetting the default KMS key to the Amazon Web Services managed KMS key, you can continue to encrypt by a customer managed KMS key by specifying it when you create the volume. For more information, see Amazon EBS encryption in the Amazon Elastic Compute Cloud User Guide .
See also: AWS API Documentation
Request Syntax
response = client.reset_ebs_default_kms_key_id(
DryRun=True|False
)
DryRunOperation
. Otherwise, it is UnauthorizedOperation
.{
'KmsKeyId': 'string'
}
Response Structure
The Amazon Resource Name (ARN) of the default KMS key for EBS encryption by default.