Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add per provider api-key-cmd key that takes a command that outputs API_KEY #388

Open
sedlund opened this issue Nov 14, 2024 · 0 comments · May be fixed by #398
Open

add per provider api-key-cmd key that takes a command that outputs API_KEY #388

sedlund opened this issue Nov 14, 2024 · 0 comments · May be fixed by #398
Labels
enhancement New feature or request

Comments

@sedlund
Copy link
Contributor

sedlund commented Nov 14, 2024

Is your feature request related to a problem? Please describe.
For security I use rbw bitwarden client to secure my keys. I do not leave them in the environment all the time, so I have a wrapper script for mods that gets all my API keys in parallel. It does not know what model I am going to request, so it must grab all of them.

Describe the solution you'd like
I would like a per api key in the config file api-key-cmd that runs the given command to get the API key, like many other programs do when requiring keys or passwords.

Describe alternatives you've considered
I have a wrapper script, but it would be cleaner and useful to others to implement api-key-cmd

@sedlund sedlund added the enhancement New feature or request label Nov 14, 2024
@sedlund sedlund linked a pull request Nov 29, 2024 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant