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

# POST /ImportPublicKey

`POST /ImportPublicKey`

Import a public key to be used for signing stage participant tokens.

## Request body

- object
  - `publicKeyMaterial` string, required — The content of the public key to be imported.
  - `name` string — Name of the public key to be imported.
  - `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.

## Response `200`

Success

- ImportPublicKeyResponse
  - `publicKey` object — The public key that was imported.
    - `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` — ValidationException
- `481` — AccessDeniedException
- `482` — ServiceQuotaExceededException
- `483` — ConflictException
- `484` — PendingVerification

---

[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)
