common-fate / granted

The easiest way to access your cloud.
https://granted.dev
MIT License
1.04k stars 93 forks source link

Allow specifying destination profile with `assume --export` #390

Open dsech opened 1 year ago

dsech commented 1 year ago

Right now the command assume some-profile --export stores the temporary credentials in .aws/credentials into profile some-profile-tmp.

Would be a nice to have feature to be able to specify the target profile. Maybe something like assume some-profile --export other-profile.

This would help a lot with existing tools that are using hardcoded profiles. Ideally it should also be possible to store the temporary credentials in the default profile.

karlatkinson commented 1 year ago

this would be very useful👍🏻