DEFINITION
BYOK
Bring Your Own Key
Definition
A security and privacy pattern where API keys and credentials are provided by the user and stored locally (e.g., in browser localStorage) rather than on the server. The application never has access to the user's keys, ensuring data privacy and reducing server-side security risks.
Examples in the Wild
- Example 1:OpenGravity storing Gemini API key in localStorage
- Example 2:User-provided LLM API keys
- Example 3:Client-side credential management