google-gemini / google-gemini/live-api-web-console

How to protect Gemini API key?

Open
#44 9 comments 0 reactions 1 assignee Claimed by @hapticdata View on GitHub
question
Dominant language
TypeScript
Stars
2.6k
Forks
731
PR merge metrics
No merged PRs in 30d

Description

### Description of the bug:

Gemini API key is compiled into the frontend code. What is the best practice for secure management of Gemini API keys?

### Actual vs expected behavior:

Some mechanism to prevent disclosure of Gemini API keys to web browser.

### Any other information you'd like to share?

Same question, here: https://github.com/pipecat-ai/gemini-multimodal-live-demo/issues/9

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.