Devenv-awsenv; use mutliple AWS identities in Devenv

NixOS 103: devenv-awsenv: A tool to help with multiple AWS identities within Devenv

1 Like

It might be worth looking at aws-vault, because then your devenv implementation simplifies down (??) to setting AWS_PROFILE. Added bonus that it works everywhere that you have awscli installed (even outside of nix shells). Bonus++ you can do builds that need aws credentials by using aws-vault exec --ec2-server $profile -- nix-build which will run an aws metadata service which the nix-daemon can hit as part of the default credentials chain.

Cool project!

1 Like

Thanks for the tip, I’ll check it out!