-
Notifications
You must be signed in to change notification settings - Fork 2
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
Rust improvements #331
Rust improvements #331
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good 👍 we can do this as a patch in my opinion as the behavior doesn't change, otherwise good to merge
/// Specify AWS region for the bucket | ||
#[arg(short, long, env = "AWS_REGION")] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hmm, how does this work aka which gets priority. E.g. AWS_REGION=eu-west-1 vault --region eu-central-1 lookup secret
, which one is the one that is used? I'd assume it's the flag one, but unsure
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Tested this, works as expected, the command above targets eu-central-1
Co-authored-by: Kalle Ahlström <[email protected]>
AWS_REGION
env variable option