Skip to main content

playback_key_pairs

Creates, updates, deletes, gets or lists a playback_key_pairs resource.

Overview

Nameplayback_key_pairs
TypeResource
Idaws.ivs.playback_key_pairs

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
namestringPlayback-key-pair name. The value does not need to be unique. (pattern: <code>[a-zA-Z0-9-_]*</code>)
arnstringKey-pair ARN. (pattern: <code>arn:aws:ivs:[a-z0-9-]+:[0-9]+:playback-key/[a-zA-Z0-9-]+</code>)
fingerprintstringKey-pair identifier.
tagsobjectTags attached to the resource. Array of 1-50 maps, each of the form string:string (key:value). See Best practices and strategies in Tagging Amazon Web Services Resources and Tag Editor for details, including restrictions that apply to tags and "Tag naming limits and requirements"; Amazon IVS has no service-specific constraints beyond what is documented there.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
get_playback_key_pairselectregionGets a specified playback authorization key pair and returns the arn and fingerprint. The privateKey held by the caller can be used to generate viewer authorization tokens, to grant viewers access to private channels. For more information, see Setting Up Private Channels in the Amazon IVS User Guide.
list_playback_key_pairsselectregionGets summary information about playback key pairs. For more information, see Setting Up Private Channels in the Amazon IVS User Guide.
delete_playback_key_pairdeleteregionDeletes a specified authorization key pair. This invalidates future viewer tokens generated using the key pair’s privateKey. For more information, see Setting Up Private Channels in the Amazon IVS User Guide.

Parameters

Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.

NameDatatypeDescription
regionstringAWS region (default: us-east-1)

SELECT examples

Gets a specified playback authorization key pair and returns the arn and fingerprint. The privateKey held by the caller can be used to generate viewer authorization tokens, to grant viewers access to private channels. For more information, see Setting Up Private Channels in the Amazon IVS User Guide.

SELECT
name,
arn,
fingerprint,
tags
FROM aws.ivs.playback_key_pairs
WHERE region = '{{ region }}' -- required
;

DELETE examples

Deletes a specified authorization key pair. This invalidates future viewer tokens generated using the key pair’s privateKey. For more information, see Setting Up Private Channels in the Amazon IVS User Guide.

DELETE FROM aws.ivs.playback_key_pairs
WHERE region = '{{ region }}' --required
;