What Is a Stream Key? Where to Find It, Reset It and Keep It Safe
What a stream key is
A stream key is a private code that tells a streaming platform which channel an incoming stream belongs to. Your encoder sends video to the platform's server address, and the key is what lets the platform accept it and attach it to your account. YouTube describes stream keys like this: "Stream keys are like your YouTube stream's password and address. They tell your encoder where to send your feed and let YouTube accept it." Twitch's developer documentation calls the key (also known as an authorization key) the value that uniquely identifies the stream and says Twitch assigns it.
Stream key vs server URL
Encoders ask for two values, and they do different jobs. The server URL (also called the stream URL, ingest URL or RTMP URL) says where to send the video. The stream key says which channel or event the video belongs to. Twitch's developer documentation shows how they fit together: rtmp://<ingest-server>/app/<stream-key>, where the ingest server is a specific Twitch server and the key, which Twitch assigns, uniquely identifies the stream.
| Feature | Server URL | Stream key |
|---|---|---|
| What it does | Points your encoder at the platform's ingest server | Tells the platform which channel or event the stream is for |
| Is it secret? | No. Twitch, for example, publishes its list of ingest servers | Yes. Anyone who has it can usually stream to your channel |
| Where it goes in OBS Studio | The Server field | The Stream Key field |
| When it changes | When the platform changes its addresses, or you pick another server | When you reset it, or for every broadcast on platforms with one-time keys |
If a tool has only one field, it usually wants both joined as server-url/stream-key. When there is a separate key field, do not add the key to the server URL. The protocol behind this is RTMP (or its encrypted form, RTMPS), and the custom RTMP guide shows how each platform labels the two fields.
How the platforms treat their keys
| Platform | Where the platform says to find it | Reset or reuse (as documented) |
|---|---|---|
| YouTube | Live Control Room in YouTube Studio, Stream tab | Reset in the Live Control Room (channel owner or manager only); custom stream keys can be reused |
| Twitch | Broadcaster dashboard on twitch.tv, or the Get Stream Key API | Assigned by Twitch; for resetting, see Twitch's Help Center |
| facebook.com/live/create, Streaming software | A standard key cannot be reused; a persistent stream key can, one live video at a time | |
| Kick | Creator dashboard, Channel, Stream URL and Key | Reset button in the Streamer Dashboard; update your software afterwards |
| LinkedIn Live | Manage streams in LinkedIn Live Studio, per event | Generated for each event, shortly before the start time |
| Live Producer on instagram.com | Not static; refreshes each time you use Live Producer |
How to reset or regenerate a stream key
Resetting gives you a new key. Do it whenever a key may have been seen by someone else, then paste the new key everywhere the old one was used: your encoder, any backup encoder and your relay.
| Platform | How to get a new key, as documented |
|---|---|
| YouTube | YouTube Studio, Create, Go Live, Stream tab: click Reset next to the hidden key, copy the new key and update your encoder. Only channel owners and managers can do this. |
| Kick | Streamer Dashboard: click Reset, then update your streaming software with the new key. |
| A standard key is shown when you set up a stream with streaming software and cannot be reused. Facebook's guidelines also advise refreshing stream keys that are older than 7 days. | |
| Nothing to reset: Instagram says the key refreshes each time you use Live Producer. | |
| LinkedIn Live | Nothing to reset: a Stream URL and key are generated for each event in LinkedIn Live Studio. |
| Twitch | Twitch's reset help page could not be loaded for this guide, so we do not list its steps. Look in your dashboard's stream settings. |
Persistent vs one-time stream keys
Some keys stay the same from one broadcast to the next. Others are made for a single stream or event. A reusable key suits a regular show, because your encoder and relay settings stay the same each week. A one-time key means copying fresh values before every broadcast.
| Type | Platforms, as documented | What it means for you |
|---|---|---|
| Reusable until you reset it | YouTube (custom stream keys, or Reuse settings), Kick, Twitch (one key assigned by Twitch and shown in your dashboard) | Set it up once in your encoder or relay; reset it if it leaks |
| Persistent, if you turn it on | Facebook's persistent stream key, in Advanced Settings | Reusable, but only one live video at a time with it |
| New for each broadcast or event | Facebook standard keys, Instagram Live Producer, LinkedIn Live events | Copy new values before each stream, and update the destination in your relay each time |
Platform guides with the exact screens: YouTube, Twitch, Facebook, Kick, LinkedIn Live and Instagram. We also have guides to the TikTok stream key and the X (Twitter) stream key.
Keep it private
Anyone with your key can usually stream to your channel. Facebook says it directly (its steps are in our Facebook Live stream key guide): never share your stream key or persistent stream key, because anyone with these details can stream to your post. YouTube says to reset the key if it is compromised, and Kick says to reset it from the dashboard and then update your streaming software. Practical habits that follow from this:
- Do not paste a key into screenshots, chat, a public repository or a video.
- Turn on your streaming software's option to hide the key field if it has one.
- If you suspect a leak, reset the key on the platform and update every encoder and relay that uses it.
- When you give a team member access, prefer the platform's own roles; YouTube, for example, restricts key reset to channel owners and managers.
- Reset keys from time to time. Facebook's guidelines suggest refreshing stream keys older than 7 days.
Stream keys and multistreaming
When you use a relay such as Multistream Platform you add each destination's server URL and key once, and your encoder sends a single stream to the relay. The keys stay in the relay's settings instead of in every encoder. Find them with the RTMP URL and stream key helper or the per-platform pages linked from stream keys by platform. TikTok is a special case: see how to stream on TikTok without a stream key.
Try it with Multistream Platform. Send one RTMP or SRT stream and relay it to YouTube, Twitch, Facebook, Kick, TikTok and custom endpoints. Start on the free Starter plan (2 channels, 20 streaming hours a month) and see the pricing page for paid plans.
Keep going. Kick keeps its key in the creator dashboard (Kick stream key guide); YouTube's steps are in stream on YouTube with OBS and go live on YouTube from a PC. TikTok shows its key on the desktop Go LIVE page when you set up a LIVE, and says keys expire after inactivity: see the TikTok stream key guide. X keeps a reusable key on each source in its Live Studio: see the X (Twitter) stream key guide.
Sources
- YouTube Help: Manage live stream settings
- Twitch Developers: Video Broadcast (broadcast URLs and stream keys)
- Twitch ingest server list
- Facebook Help Centre: Go live on Facebook using streaming software
- Facebook Help Centre: Time limit and guidelines for live streaming on Facebook
- Kick Help Center: How to stream on KICK.com (May 22, 2026)
- LinkedIn Help: Go live using a custom stream (RTMP)
- Instagram: Live Producer (published November 2, 2022)
Platform figures were checked on October 5, 2026. Platforms change their recommendations, so confirm against the current documentation before you go live.
Frequently asked questions
Keep learning
Where each platform keeps its stream key, whether it can be reset or reused, and the protocol it uses.
Read the guideThe server URL and stream key, rtmp:// vs rtmps://, where each platform shows them, and fixes for common errors.
Read the guideStandard vs persistent stream keys, requirements and format settings from Facebook Help.
Read the guideGo live everywhere from one stream
Send one RTMP or SRT stream from OBS, vMix or a hardware encoder and we relay it to YouTube, Twitch, Facebook, Kick, TikTok and custom destinations. The Starter plan is $0 a month with 2 channels and 20 streaming hours.
Ready to stream everywhere?
Bring your live, hosted, and pre-recorded streams into one platform.
