XRay.Client.
get_encryption_config
()¶Retrieves the current encryption configuration for X-Ray data.
See also: AWS API Documentation
Request Syntax
response = client.get_encryption_config()
{
'EncryptionConfig': {
'KeyId': 'string',
'Status': 'UPDATING'|'ACTIVE',
'Type': 'NONE'|'KMS'
}
}
Response Structure
The encryption configuration document.
The ID of the KMS key used for encryption, if applicable.
The encryption status. While the status is UPDATING
, X-Ray may encrypt data with a combination of the new and old settings.
The type of encryption. Set to KMS
for encryption with KMS keys. Set to NONE
for default encryption.
Exceptions
XRay.Client.exceptions.InvalidRequestException
XRay.Client.exceptions.ThrottledException