openapi: 3.1.0
info:
title: Amazon CloudFront CachePolicies PublicKeys API
description: 'Best-effort OpenAPI 3.1 description of a subset of the Amazon CloudFront
REST API (API version 2020-05-31). CloudFront is AWS''s global content
delivery network. Requests are signed with AWS Signature Version 4 using
the `cloudfront` service name and the `us-east-1` region. This document
covers commonly used distribution, invalidation, origin access control,
cache policy, function, and public key operations; CloudFront exposes
over 100 additional operations not enumerated here.
'
version: '2020-05-31'
contact:
name: AWS CloudFront
url: https://docs.aws.amazon.com/cloudfront/latest/APIReference/Welcome.html
servers:
- url: https://cloudfront.amazonaws.com
security:
- sigv4: []
tags:
- name: PublicKeys
paths:
/2020-05-31/public-key:
get:
summary: ListPublicKeys
operationId: listPublicKeys
tags:
- PublicKeys
responses:
'200':
description: List of public keys
post:
summary: CreatePublicKey
operationId: createPublicKey
tags:
- PublicKeys
responses:
'201':
description: Public key created
components:
securitySchemes:
sigv4:
type: apiKey
in: header
name: Authorization
description: 'AWS Signature Version 4. Signing service name is `cloudfront`,
signing region is `us-east-1`. Authorization is supplied via
`Authorization` and `X-Amz-Date` headers (and `X-Amz-Security-Token`
when using temporary credentials).
'