Closed Hustenbonbon closed 1 year ago
If wished by maintainers, it might be an option to move this functionality to an own command, or use a flag for it. If you have suggestions for restructuring the code, I'm happy to comply
Hi @Hustenbonbon !
Thanks for your PR, I think this would be suited to being its own command.
granted credentials import-from-environement
Would you mind restructuring this into it's own command?
Sure, I'd be happy. Might be a couple of days until I get to it, but you should hear from me latest next week.
Thanks for this @Hustenbonbon
I have created this as a separate command here https://github.com/common-fate/granted/pull/475 . Closing this for now
Wow, thanks for taking over, never got the time to get back to it!
What changed?
When using
granted credentials import my.profile
, check if env varsAWS_ACCESS_KEY_ID
andAWS_SECRET_ACCESS_KEY
both exist, and if yes, import them for the profileWhy?
To make it easy to migrate from tools like aws-vault with
How did you test it?
With above command, worked fine
Potential risks
Is patch release candidate?
I don't know what that means
Link to relevant docs PRs
Don't exist - I created this PR after not seeing an issue or PR addressing it