CmdID

CmdID / aws / aws ivs

aws ivs create-stream-key

Creates a stream key, used to initiate a stream, for the specified channel ARN. AWS CLI reference

1 example 2 options Its page in the AWS CLI reference

Opens CmdID with your command. It is read in your browser and sent nowhere.

Examples

from aws-cli, each command read by CmdID

To create a stream key

The following create-stream-key example creates a stream key for a specified ARN (Amazon Resource Name).

aws ivs create-stream-key --channel-arn arn:aws:ivs:us-west-2:123456789012:channel/abcdABCDefghIdentify
--channel-arnARN of the channel for which to create the stream key.
Its output
{
    "streamKey": {
        "arn": "arn:aws:ivs:us-west-2:123456789012:stream-key/abcdABCDefgh",
        "value": "sk_us-west-2_abcdABCDefgh_567890abcdef",
        "channelArn": "arn:aws:ivs:us-west-2:123456789012:channel/abcdABCDefgh",
        "tags": {}
    }
}

For more information, see Create a Channel in the IVS Low-Latency User Guide.

Options

2 in the AWS CLI reference
--channel-arnARN of the channel for which to create the stream key.
--tagsArray of 1-50 maps, each of the form string:string (key:value).