YouTube Stream Key: What It Is, Where to Find It, and How to Use It
Everything you need to know about your YouTube stream key — what it does, where to find it, how to use it in OBS, and how to keep it secure.
Never share your stream key publicly or include it in screenshots or videos. Anyone with your stream key can go live on your channel without your permission. If you accidentally expose it (in a stream screenshot, video tutorial, etc.), reset it immediately in YouTube Studio.
Where to Find Your YouTube Stream Key
- Go to YouTube Studio — visit studio.youtube.com and sign in
- Click “Go Live” — the camera icon with a plus sign in the top right corner
- Select “Stream” — this opens the live stream setup, not the webcam option
- Find Stream settings — look for the “Stream settings” panel on the right side
- Copy your stream key — click the copy icon (📋) next to the hidden key field. The eye icon reveals it temporarily.
Persistent Key vs. Per-Event Key
| Type | Description | When to Use | Expires? |
|---|---|---|---|
| Persistent Stream Key | The same key every time you stream; found in main Stream settings | For regular OBS streaming; best for most creators | No — stays valid until you reset it |
| Per-Event Stream Key | Generated for a specific scheduled live event | When scheduling a one-time event via YouTube Studio | Yes — expires when the scheduled event ends |
How to Use Your Stream Key in OBS
- Open OBS → File → Settings → Stream
- Set Service to “YouTube – RTMPS”
- Set Server to “Primary YouTube ingest server” or Auto
- Click in the Stream Key field → Select All (Ctrl+A) → Paste your key (Ctrl+V)
- Click OK to save → Click “Start Streaming” to go live
How to Reset Your Stream Key
If your key is compromised or not working, reset it in YouTube Studio:
- YouTube Studio → Go Live → Stream → Stream settings → Click “Reset stream key”
- The old key is immediately invalidated — any active stream using it will disconnect
- Copy the new key and update it in OBS and any other streaming tools
- Tip: Resetting your key does not affect your channel or scheduled events — only the key value changes
Stream Without Managing Keys
YTStreamer connects directly to your YouTube account via the YouTube API — no manual stream key management required. Just upload, schedule, and stream.