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 way to pass in api keys to client #40

Open
PCSwingle opened this issue Apr 9, 2024 · 1 comment
Open

Add way to pass in api keys to client #40

PCSwingle opened this issue Apr 9, 2024 · 1 comment

Comments

@PCSwingle
Copy link
Member

I think the best way to use Spice will definitely be to just have a .env, but for people who want to pass in specific api keys, how should we handle this? We could just have them pass in an env dictionary to the client, but that is slightly confusing since we wouldn't actually be changing the environment variables.

@biobootloader
Copy link
Member

passing in a dict is good I think. Can call it api_variables or something and say it takes precedence over what's found in the env

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants