CmdID / aws / aws cloudfront
aws cloudfront list-field-level-encryption-profiles
Request a list of field-level encryption profiles that have been created in CloudFront for this account. AWS CLI reference
1 example 2 options Its page in the AWS CLI reference
Examples
To list CloudFront field-level encryption profiles
The following list-field-level-encryption-profiles example gets a list of the CloudFront field-level encryption profiles in your AWS account.
aws cloudfront list-field-level-encryption-profilesIdentifyIts output, shortened
{
"FieldLevelEncryptionProfileList": {
"MaxItems": 100,
"Quantity": 2,
"Items": [
{
"Id": "P280MFCLSYOCVU",
"LastModifiedTime": "2019-12-05T01:05:39.896Z",
"Name": "ExampleFLEProfile",
"EncryptionEntities": {
"Quantity": 1,
"Items": [
{
"PublicKeyId": "K2K8NC4HVFE3M0",
"ProviderId": "ExampleFLEProvider",
"FieldPatterns": {
"Quantity": 1,
"Items": [
"ExampleSensitiveField"
]
}
}
]
},
"Comment": "FLE profile for AWS CLI example"
},
{
"Id": "PPK0UOSIF5WSV",
"LastModifiedTime": "2019-12-10T01:03:16.537Z",
"Name": "ExampleFLEProfile2",
… 20 more linesFor more information, see Use field-level encryption to help protect sensitive data in the Amazon CloudFront Developer Guide.
Options
--markerUse this when paginating results to indicate where to begin in your list of profiles.--max-itemsThe maximum number of field-level encryption profiles you want in the response body.