Read API keys from environment variables #725
kevinvandijk
started this conversation in
1. Feature requests
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
In some setups—like corporate environments where API keys are rotated frequently—it becomes a hassle for users to constantly update their API keys manually. If Kilo Code could just read the key from an environment variable (which many platforms already inject securely), users wouldn't have to chase down the latest key or update settings every time it changes.
The idea is to let users choose to pull the API key for a provider directly from an environment variable instead of filling it into the UI manually.
Ideally, there could be a checkbox in the UI labeled something like: “Use API key from environment variable: MY_API_KEY.” When checked, the manual input field would be disabled and marked as not required.
To avoid confusion, the checkbox would only be enabled if the extension actually detects that the expected environment variable is present.
Beta Was this translation helpful? Give feedback.
All reactions