Stream key

The secret code that tells a streaming platform which live event your encoder is sending to. Together with the server URL, it is all OBS needs to go live.

Updated: November 2026 4 min read Streaming
In short

A stream key is a unique code the platform issues for your channel or live event. The encoder sends it to the ingest server over RTMP, together with the server URL. Anyone who has the key can stream into your event, so keep it hidden and reset it if it leaks.

What is a stream key?

When an encoder such as OBS, vMix or Larix starts a live stream, it connects to the platform’s ingest server over RTMPRTMPThe protocol encoders such as OBS and vMix use to send a live signal to the platform. Viewers then watch over HLS.Open definition →. One server receives streams from many people at once, so the encoder also sends a code that says whose stream this is. That code is the stream key.

The platform checks the key, matches the signal to your channel or event and starts delivering it to viewers, usually over HLSHLS (HTTP Live Streaming)Apple’s adaptive streaming protocol. Uses .m3u8 manifests and segmented delivery; supported on every browser, device and smart TV.Open definition →. Twitch also calls it an authorization key, because the key alone gives the encoder permission to stream.

Server URL and stream key

Server URLStream key
Also calledRTMP URL, ingest URL, serverAuthorization key
What it identifiesThe ingest serverYour channel or event
Shared with others?Yes, the same for many usersNo, unique to you
Example formatrtmp://rtmp-eu.kinescope.ioA long random string

Some mobile apps, such as Larix, take both in one merged link. Kinescope shows that link as “Copy merged link” next to the key.

Where to find your stream key

PlatformWhere the key is
YouTubeYouTube Studio → Create → Go live → Stream tab
TwitchCreator Dashboard → Settings → Stream
KinescopeLive → your event → Settings tab, or the “Connect your encoding software” card in Studio

Twitch’s mobile app streams without a key. A key is needed only when you stream from an encoder.

How to use a stream key in OBS

Copy the URL and key

Open the live event on your platform and copy the server URL and the stream key.

Open stream settings

In OBS Studio go to File → Settings → Stream and choose Service: Custom.

Paste both

Server URL into Server, the key into Stream key. Click Apply and OK.

Start streaming

Click Start Streaming and check in the platform that the event is live and the picture is right.

Keep the key safe

Anyone with your key can send their own video into your event, and your viewers will see it. Treat the key like a password:

  • Do not post it in chats, tickets or screenshots, and hide it before you share your screen.
  • Give the key only to the person who runs the encoder. On Twitch, extra broadcasters get their own guest key instead.
  • Reset the key if it was shown on stream or sent to the wrong person. The old key stops working, and you paste the new one into the encoder.

Further reading

Denis Konnov

Written by

Denis Konnov Verified

CMO at Kinescope

Denis leads marketing and content at Kinescope, working closely with the platform's engineers. This glossary is reviewed and kept up to date by the team building Kinescope's streaming, encoding and CDN delivery infrastructure.

FAQ

Can’t find the answer you need? Check out our Help Center.

A stream key is a secret code the streaming platform gives you for a live event or channel. Your encoder sends it together with the server URL, and the platform uses it to know which event the incoming signal belongs to and that you are allowed to stream there.

No. The server URL (often called the RTMP URL) is the address of the ingest server and is the same for many users. The stream key is unique to your event or channel. The encoder needs both; some apps, like Larix, accept them merged into one link.

In the live or stream settings of the platform you stream to, next to the server URL. On YouTube: YouTube Studio → Create → Go live → Stream tab. On Twitch: Creator Dashboard → Settings → Stream. On Kinescope: the Settings tab of the live event or the “Connect your encoding software” card in Studio.

In OBS Studio open File → Settings → Stream, set Service to Custom, paste the server URL into Server and the key into Stream key, then click Apply. Platforms that OBS lists by name may let you connect your account instead of pasting the key.