-
Notifications
You must be signed in to change notification settings - Fork 13
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
allow setting token via environment variable for spin cloud deploy #103
Comments
spin cloud deploy
Can you elaborate on the use case @rajatjindal? Perhaps for scenarios where the Question on precedence: If the env var is non-empty, I'm assuming its value should take precedence over the token stored in the json config, if exists, for the current deployment environment? |
yes, precisely that. if we have a cloud token, we should be able to use that directly without having to write it to a file in a specific format.
yes, I would think so too. on the other hand, if we want to introduce a flag |
You'd need an env var for server URL (and arguably "danger_accept_invalid_certs") too, wouldn't you? I wonder if we'd be better off adding a |
I'd be a big proponent of adding env vars over requiring we write config to a fixed file - esp for CI/CD Workflows where you probably wanna pull those from "some" kind of secret store |
it will be useful to support setting an env variable which can be consumed by
spin cloud deploy
to do the deployment.The text was updated successfully, but these errors were encountered: