Skip to content
Discussion options

You must be logged in to vote

the bot answer seems over-kills to me. Environment variables are fine as a runtime injection mechanism — the key is where they are sourced from. If you are worried of reverse engineering of your app codes. as you mentioned you can store it in your remote secure store and retrieve it on the fly. but similarly how do you store the credential that access your remote secure store ? I guess the app here is a mobile app, you can let your app authenticates against your backend (e.g., with OAuth2, Firebase Auth, username/password, etc.). Backend checks the user’s identity and runs the agent using its own secured API key and returns the result to the mobile app.

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by seanzhou1023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
bot responded [Bot] This issue is responded by ADK bot
3 participants