Closed tigris closed 8 months ago
Hi @tigris, with v0.20.0, you will be able to add the configuration DefaultExportAllEnvVar=true
to your ~/.granted/config
. This should default to exporting all environment variables and the -ar
flag should work ask before. Let me know if that works for you.
Since upgrading to a version with #467 in it, where the AWS ENV vars are not exported by default, I am unable to use the
--active-role
(or-ar
) feature.This is after I have done a successful
assume
where i can do other credential required things (such asaws s3 ls
) and granted has put anAWS_PROFILE
in my environment.A snippet of my
~/.aws/confg
looks like this:I'm not entirely sure if there is some config I'm missing, or if I'm supposed to run something extra with the regular
assume
to make it export theGRANTED_*
variables thatassume -ar
wants?