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

# POST /GetPublicKey

`POST /GetPublicKey`

Gets information for the specified public key.

## Request body

- object
  - `arn` string, required — ARN of the public key for which the information is to be retrieved.

## Response `200`

Success

- GetPublicKeyResponse
  - `publicKey` object — The public key that is returned.
    - `arn` string — Public key ARN.
    - `name` string — Public key name.
    - `publicKeyMaterial` string — Public key material.
    - `fingerprint` string — The public key fingerprint, a short string used to identify or verify the full public key.
    - `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.

## Other responses

- `480` — ResourceNotFoundException
- `481` — ValidationException
- `482` — 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)
