Table Of Contents

Feedback

User Guide

First time using the AWS CLI? See the User Guide for help getting started.

[ aws . cloudfront ]

list-public-keys

Description

List all public keys that have been added to CloudFront for this account.

See also: AWS API Documentation

See 'aws help' for descriptions of global parameters.

Synopsis

  list-public-keys
[--marker <value>]
[--max-items <value>]
[--cli-input-json <value>]
[--generate-cli-skeleton <value>]

Options

--marker (string)

Use this when paginating results to indicate where to begin in your list of public keys. The results include public keys in the list that occur after the marker. To get the next page of results, set the Marker to the value of the NextMarker from the current page's response (which is also the ID of the last public key on that page).

--max-items (string)

The maximum number of public keys you want in the response body.

--cli-input-json (string) Performs service operation based on the JSON marker provided. The JSON marker follows the format provided by --generate-cli-skeleton. If other arguments are provided on the command line, the CLI values will override the JSON-provided values.

--generate-cli-skeleton (string) Prints a JSON skeleton to standard output without sending an API request. If provided with no value or the value input, prints a sample input JSON that can be used as an argument for --cli-input-json. If provided with the value output, it validates the command inputs and returns a sample output JSON for that command.

See 'aws help' for descriptions of global parameters.

Output

PublicKeyList -> (structure)

Returns a list of all public keys that have been added to CloudFront for this account.

NextMarker -> (string)

If there are more elements to be listed, this element is present and contains the value that you can use for the Marker request parameter to continue listing your public keys where you left off.

MaxItems -> (integer)

The maximum number of public keys you want in the response body.

Quantity -> (integer)

The number of public keys you added to CloudFront to use with features like field-level encryption.

Items -> (list)

An array of information about a public key you add to CloudFront to use with features like field-level encryption.

(structure)

Public key information summary.

Id -> (string)

ID for public key information summary.

Name -> (string)

Name for public key information summary.

CreatedTime -> (timestamp)

Creation time for public key information summary.

EncodedKey -> (string)

Encoded key for public key information summary.

Comment -> (string)

Comment for public key information summary.