Skip to main content

Stream Key

A stream key is the private code that authenticates your broadcast to a platform — treat it like a password and never show it on stream.

A stream key is a unique alphanumeric string issued by a streaming platform. Combined with the platform's RTMP server URL, it tells your encoder where to send the stream and which channel it belongs to.

Why it must stay private

The key is the only credential the ingest server checks. Anyone who has it can broadcast to your channel from anywhere in the world, and your viewers will see it as you going live. Keys leak most often through screen shares, OBS settings shown on camera, and screenshots posted for troubleshooting help.

If your key leaks

Reset it immediately from the platform dashboard — Twitch Creator Dashboard → Settings → Stream → Reset, or YouTube Studio → Go Live → Stream settings. The old key becomes invalid the moment a new one is generated, so you must update your encoder before your next broadcast.

The safer alternative

Most platforms now support connecting your account directly inside OBS via OAuth. OBS then requests a session-scoped key automatically, so no key is ever stored in plain text in your profile. Use this wherever it is offered; reserve manual key entry for simulcasting and restream services that require it.

Why it matters

Losing control of your stream key means losing control of your channel's live presence. Rotate it after any screen share, never paste it into a Discord support thread, and blur it out of any setup screenshots.

Frequently asked questions

Where do I find my Twitch stream key?

Creator Dashboard → Settings → Stream → Primary Stream key. Use the copy button rather than revealing the value on screen.

Does resetting my stream key affect a live stream?

Resetting while live will not immediately end the current broadcast, but the next connection attempt with the old key will fail. Reset between sessions where possible.

Can I use one stream key for multiple platforms?

No. Every platform issues its own key tied to your account there. Simulcasting requires the correct server URL and key pair for each destination.

Related reading