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 oxide env subcommand to populate environment with OXIDE_HOST and OXIDE_TOKEN variables #596

Open
ahl opened this issue Mar 13, 2024 · 1 comment

Comments

@ahl
Copy link
Collaborator

ahl commented Mar 13, 2024

I've found something like this (https://github.com/transposit/awscli-as-session) to be useful for running terraform e.g. oxide env terraform plan would run terraform with OXIDE_HOST and OXIDE_TOKEN set in that environment. This will further be useful when Oxide supports MFA, and keys that expire.

@karencfv
Copy link
Contributor

ooooh this is nice!

I was also thinking that when it's possible to set a default host on the CLI's hosts.toml file, the terraform provider could pull in the the information from the default host and use that as authentication information.

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