Skip to navigation
Best Practices

Best Practices for Using API Keys

General guidelines for managing and using API keys safely
View as Markdown

API keys are required for apps and projects that use Plex APIs. Secure your API keys when you create them for maximum security.

It’s possible to secure API keys after they’re created and in use, but there can be different constraints based on how the key is used. Protect against unauthorized access by selecting the products it’s used for and regularly replacing keys.

The best time to secure your API keys is when you first create them. Retroactively applying restrictions may require updating existing applications.

Key security practices