CmdID / aws / aws cloudfront
aws cloudfront get-field-level-encryption
Get the field-level encryption configuration information. AWS CLI reference
1 example 1 option Its page in the AWS CLI reference
Examples
To get a CloudFront field-level encryption configuration
The following get-field-level-encryption example gets the CloudFront field-level encryption configuration with the ID C3KM2WVD605UAY, including its ETag.
aws cloudfront get-field-level-encryption --id C3KM2WVD605UAYIdentify--idRequest the ID for the field-level encryption configuration information.Its output, shortened
{
"ETag": "E2P4Z4VU7TY5SG",
"FieldLevelEncryption": {
"Id": "C3KM2WVD605UAY",
"LastModifiedTime": "2019-12-10T21:30:18.974Z",
"FieldLevelEncryptionConfig": {
"CallerReference": "cli-example",
"Comment": "Example FLE configuration",
"QueryArgProfileConfig": {
"ForwardWhenQueryArgProfileIsUnknown": true,
"QueryArgProfiles": {
"Quantity": 0,
"Items": []
}
},
"ContentTypeProfileConfig": {
"ForwardWhenContentTypeIsUnknown": true,
"ContentTypeProfiles": {
"Quantity": 1,
"Items": [
{
"Format": "URLEncoded",
"ProfileId": "P280MFCLSYOCVU",
"ContentType": "application/x-www-form-urlencoded"
}
]
}
}
}
}
… 1 more lineFor more information, see Use field-level encryption to help protect sensitive data in the Amazon CloudFront Developer Guide.
Options
--idRequest the ID for the field-level encryption configuration information.