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

# POST /GetPlaybackKeyPair

`POST /GetPlaybackKeyPair`

Gets a specified playback authorization key pair and returns the <code>arn</code> and <code>fingerprint</code>. The <code>privateKey</code> held by the caller can be used to generate viewer authorization tokens, to grant viewers access to private channels. For more information, see <a href="https://docs.aws.amazon.com/ivs/latest/userguide/private-channels.html">Setting Up Private Channels</a> in the <i>Amazon IVS User Guide</i>.

## Request body

- object
  - `arn` string, required — ARN of the key pair to be returned.

## Response `200`

Success

- GetPlaybackKeyPairResponse
  - `keyPair` object — <zonbook></zonbook><xhtml></xhtml>
    - `arn` string — Key-pair ARN.
    - `fingerprint` string — Key-pair identifier.
    - `name` string — Playback-key-pair name. The value does not need to be unique.
    - `tags` object — Tags attached to the resource. Array of 1-50 maps, each of the form <code>string:string (key:value)</code>. See <a href="https://docs.aws.amazon.com/general/latest/gr/aws_tagging.html">Tagging Amazon Web Services Resources</a> for more information, including restrictions that apply to tags and "Tag naming limits and requirements"; Amazon IVS has no service-specific constraints beyond what is documented there.

## Other responses

- `480` — ResourceNotFoundException
- `481` — AccessDeniedException
- `482` — ValidationException

---

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