---
title: "POST /ListPublicKeys"
method: POST
path: "/ListPublicKeys"
---

# POST /ListPublicKeys

`POST /ListPublicKeys`

Gets summary information about all public keys in your account, in the AWS region where the API request is processed.

## Request body

- object
  - `nextToken` string — The first public key to retrieve. This is used for pagination; see the <code>nextToken</code> response field.
  - `maxResults` integer — Maximum number of results to return. Default: 50.

## Response `200`

Success

- ListPublicKeysResponse
  - `publicKeys` PublicKeySummary[], required — List of the matching public keys (summary information only).
    - `arn` string — Public key ARN.
    - `name` string — Public key name.
    - `tags` object — Tags attached to the resource. Array of maps, each of the form <code>string:string (key:value)</code>. See <a href="https://docs.aws.amazon.com/tag-editor/latest/userguide/best-practices-and-strats.html">Best practices and strategies</a> in <i>Tagging AWS Resources and Tag Editor</i> for details, including restrictions that apply to tags and "Tag naming limits and requirements"; Amazon IVS has no constraints on tags beyond what is documented there.
  - `nextToken` string — If there are more public keys than <code>maxResults</code>, use <code>nextToken</code> in the request to get the next set.

## Other responses

- `480` — ValidationException
- `481` — AccessDeniedException

---

[API](https://skmtc.net/aws/apis/ivs-realtime.md) · [All operations](https://skmtc.net/aws/apis/ivs-realtime/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/aws/ivs-realtime/versions/f8857274a50f/schema)
