CmdID / aws / aws cloudfront
aws cloudfront get-field-level-encryption-profile
Get the field-level encryption profile information. AWS CLI reference
1 example 1 option Its page in the AWS CLI reference
Examples
To get a CloudFront field-level encryption profile
The following get-field-level-encryption-profile example gets the CloudFront field-level encryption profile with ID PPK0UOSIF5WSV, including its ETag.
aws cloudfront get-field-level-encryption-profile --id PPK0UOSIF5WSVIdentify--idGet the ID for the field-level encryption profile information.Its output
{
"ETag": "E1QQG65FS2L2GC",
"FieldLevelEncryptionProfile": {
"Id": "PPK0UOSIF5WSV",
"LastModifiedTime": "2019-12-10T01:03:16.537Z",
"FieldLevelEncryptionProfileConfig": {
"Name": "ExampleFLEProfile",
"CallerReference": "cli-example",
"Comment": "FLE profile for AWS CLI example",
"EncryptionEntities": {
"Quantity": 1,
"Items": [
{
"PublicKeyId": "K2K8NC4HVFE3M0",
"ProviderId": "ExampleFLEProvider",
"FieldPatterns": {
"Quantity": 1,
"Items": [
"ExampleSensitiveField"
]
}
}
]
}
}
}
}For more information, see Use field-level encryption to help protect sensitive data in the Amazon CloudFront Developer Guide.
Options
--idGet the ID for the field-level encryption profile information.