Skip to main content

public_key_configs

Creates, updates, deletes, gets or lists a public_key_configs resource.

Overview​

Namepublic_key_configs
TypeResource
Idaws.cloudfront.public_key_configs

Fields​

The following fields are returned by SELECT queries:

NameDatatypeDescription
caller_referencestringA string included in the request to help make sure that the request can't be replayed.
commentstringA comment to describe the public key. The comment cannot be longer than 128 characters.
encoded_keystringThe public key that you can use with signed URLs and signed cookies, or with field-level encryption.
namestringA name to help identify the public key.

Methods​

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
get_public_key_configselectid, regionGets a public key configuration.

Parameters​

Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.

NameDatatypeDescription
idstringThe identifier of the public key whose configuration you are getting.
regionstringAWS region (default: us-east-1)

SELECT examples​

Gets a public key configuration.

SELECT
caller_reference,
comment,
encoded_key,
name
FROM aws.cloudfront.public_key_configs
WHERE id = '{{ id }}' -- required
AND region = '{{ region }}' -- required
;