Skip to content

CloudFront  >  Structures  >  PublicKeyConfig

PublicKeyConfig

Structure Class

PublicKeyConfig dataclass

Bases: _SerdeShape

Configuration information about a public key that you can use with signed URLs and signed cookies, or with field-level encryption.

CloudFront supports signed URLs and signed cookies with RSA 2048 or ECDSA 256 key signatures. Field-level encryption is only compatible with RSA 2048 key signatures.

Attributes

caller_reference instance-attribute
caller_reference: str

A string included in the request to help make sure that the request can't be replayed.

comment class-attribute instance-attribute
comment: str | None = ...

A comment to describe the public key. The comment cannot be longer than 128 characters.

encoded_key instance-attribute
encoded_key: str

The public key that you can use with signed URLs and signed cookies, or with field-level encryption.

name instance-attribute
name: str

A name to help identify the public key.