Closed holybit closed 6 years ago
If you execute awsume -k
, which normally is used to stop awsume role auto-refresher, it will unset all environment variables that awsume sets.
This feature hasn't been documented, but I will be sure to document it in the usage description in the next release.
I would like to request this issue be re-opened @mbarneyjr.
First, the docs still don't say that awsume -k
will unset all env vars. Secondly, it's not good CLI arg form to have a single command do two things at once. I would say add a -u
flag for unset.
$ awsume -v
3.2.5
$ awsume -h
...
-k, --kill-refreshing Kill autoawsume
...
A common issue I have is I need to unset all existing shell environment variables that a previous run of
. awsume -s PROFILE
set.Woud be nice if you could run
awsume -u
and it would dump something such as: