What is a Stream Key?
A stream key is a secret identifier that associates an incoming publishing connection with a live channel or account. A streaming service uses it to authorize and route the submitted media.
How Stream Keys work
A stream key is an ingest-side credential included when an encoder connects to a service’s publishing endpoint. The platform resolves it to a destination and policy, then accepts or rejects the incoming feed before routing it through the live pipeline. It is distinct from a public watch URL, playback token, or media encryption key. Operationally, it belongs in secret storage and encoder configuration, with rotation and audit processes similar to other service credentials.
Key facts
- Embedding a key in screenshots, command histories, client-side code, or public configuration can let an unauthorized encoder impersonate the legitimate publisher without taking over the account.
- Some platforms issue persistent keys while others create event-scoped or rotating values; automation must not assume that a channel identifier and its current publishing credential are identical.
- A valid key usually authenticates the publishing target, not the quality of the feed, so codec, container, resolution, bitrate, and audio validation can still reject or degrade an authorized stream.
When Stream Keys matter
Configure the key in broadcasting software and handle it as a credential, not as a public channel identifier. If exposed, it should be rotated promptly because another party may publish to the stream.