CmdID

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

Opens CmdID with your command. It is read in your browser and sent nowhere.

Examples

from aws-cli, each command read by CmdID

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

1 in the AWS CLI reference
--idGet the ID for the field-level encryption profile information.