What is Stream Key?

Updated September 2026 · Reviewed by the Flicknexs platform team

Quick answer

A stream key is a unique, secret string that authenticates your encoder to a live streaming ingest server. It acts as a password, verifying that only authorized devices can push video data. Without the correct key, the server rejects the connection, protecting your live channel from unauthorized access or hijacking.

Key takeaways

  • Treat the key like a password; never share it publicly.
  • Rotate keys immediately if you suspect a leak.
  • Use a key only for the specific encoder session.
  • Store keys securely in your encoder software settings.

How a stream key works

When you start a live broadcast, your encoder (like OBS Studio) connects to an ingest server using RTMP. The server requires a stream key to verify the source. This key is a long, random alphanumeric string generated by the platform.

The mechanism is simple: your encoder sends the key during the handshake. If it matches the record in the platform's database, the server accepts the video stream. If it fails, the connection drops. This prevents anyone from guessing your URL and pushing their own content into your channel.

Most platforms allow you to generate a new key at any time. Some offer static keys for recurring shows, while others create dynamic keys for one-off events. You paste this string into your encoder's settings field. Once the connection is established, the key is no longer transmitted with every video frame; it only validates the initial link.

Why a stream key matters for a streaming business

A compromised stream key is a serious operational risk. If an attacker obtains your key, they can push malicious content, interrupt your live event, or degrade your channel's reputation. This is not just a technical issue; it is a brand safety problem.

For operators running 24/7 linear channels or pay-per-view events, live interruptions are costly. Viewers lose trust when a channel goes down or shows unexpected content. A secure ingest process protects your uptime and your viewer experience. Also, stream keys help with access control. You can issue different keys to different producers or remote contributors. If a contributor leaves or a key is shared too widely, you can revoke that specific key without affecting other active streams. This granularity helps you manage a larger production team safely.

Common mistakes with stream keys

Operators often treat stream keys as disposable, which leads to security gaps.

  • Sharing keys in public forums: Never post your key in chat rooms, social media, or public documentation.
  • Using the same key for years: Rotate keys periodically, especially after team changes.
  • Leaving keys in browser history: Clear browser data after pasting keys into web interfaces.
  • Ignoring revocation: If you suspect a leak, rotate the key immediately. Do not wait for the next scheduled broadcast.
  • Using weak encoder security: Make sure your encoder software is up to date to prevent local exploits that could expose stored credentials.

How Flicknexs handles stream keys

Flicknexs generates unique stream keys for every live channel and event. You can create, view, and regenerate these keys directly in your dashboard. The system supports RTMP ingest, allowing you to connect standard encoders like OBS Studio. When you rotate a key, the old one stops working immediately, and new connections must use the updated string. This gives you full control over who can push content to your channels. For 24/7 linear playout, you can use stable keys for automated systems, while event-based streams benefit from fresh keys for each session. Check the Broadcast streaming software page for details on setting up your live infrastructure.

Broadcast streaming software

Done reading about Stream Key?

Flicknexs ships it as part of a white-label streaming platform: web, mobile and TV apps, billing, ads, DRM and playout, on your own domain.

Stream Key FAQ

The URL is the public address of your ingest server. The stream key is the secret password that authenticates the connection. You need both to push video. The URL can be shared, but the key must remain private.
No. Most platforms, including Flicknexs, allow only one active connection per key. If a second encoder tries to connect with the same key, it will disconnect the first one. Use separate keys for separate sources.
Rotate keys whenever personnel change, after a suspected leak, or on a regular schedule (e.g., quarterly). For one-off events, generate a new key for each event and discard it afterward.
No. The key protects the ingest point, not the delivered video. Once your stream is live, anyone with the playback URL can watch it. Use DRM or signed URLs to protect the final viewer experience.
Access the video CMS dashboard and handle to the live streaming settings. Select the specific channel or stream you wish to configure. The system generates a unique RTMP URL and stream key pair. Copy these credentials into your encoder software to begin pushing video data to the cloud infrastructure.
Anyone with the key can push video to your channel, potentially replacing your content or causing service disruption. Treat the key like a password. If you suspect unauthorized access, revoke the current key immediately and generate a new one. This stops the unauthorized feed and restores control over your broadcast.

Further reading

Stream Key: Definition, Security & Best Practices