Allow user-provided API key at runtime with OpenAPI tools
Open
enhancement
- Dominant language
- TypeScript
- Stars
- 1k
- Forks
- 267
- Avg merge
- 1d 12h
- Merged PRs (30d)
- 9
Description
Is it possible for tools created with the OpenAPIToolset to use API keys provided by the user in chat?
Currently it seems that the auth_credential can only be set upon initialization. When using the adk api_server, this means credentials are shared between users since there is only one root_agent per app.
It would be helpful to support user-provided API keys at runtime, so that each user’s credentials can be used only within their own session. Could this feature be added, or is there a recommended pattern for handling per-user credentials in this scenario?
Thanks
Contributor guide
Assessment
This issue has not been assessed yet.