API keys from environment variables #2057
Replies: 6 comments 4 replies
-
Beta Was this translation helpful? Give feedback.
-
As I use Roo code on Github Code Spaces, and setting environment variable through Github Secrets and Variables, |
Beta Was this translation helpful? Give feedback.
-
I started working up an implementation for this main...suprjinx:Roo-Code:add_api_key_env_vars |
Beta Was this translation helpful? Give feedback.
-
@hannesrudolph his discussion is where PR #3032 originated. I think an EnvVar source for api tokens could be helpful for a lot of token rotation/storage stories, eg #3610 |
Beta Was this translation helpful? Give feedback.
-
FWIW, at our company we have rotating IAP keys that are generated with a CLI command. It would be great to be able to allow a CLI hook as well to generate the keys which is a feature Claude Code has for enterprise users |
Beta Was this translation helpful? Give feedback.
-
@NamesMT made a good work-around suggestion in the feature request -- you can put a value like EDIT: I don't think it will automatically expand env placeholders without code changes to incorporate |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Hello! Loving roocode, it's a pleasure to use it every time.
I had a small QoL feature request: loading API keys from environment variables/secrets manager.
Would be nice for dev environments like devcontainers which might rotate API keys frequently.
e.g.
ROO_ANTHROPIC_API_KEY
,ROO_OPENAI_API_KEY
etc.Thanks for the extension!!
Beta Was this translation helpful? Give feedback.
All reactions