Skip to content

Instantly share code, notes, and snippets.

@kyanny kyanny/aws-logout.sh

Last active Jul 30, 2020
Embed
What would you like to do?
aws-logout() {
for env in $(awk 'BEGIN{for(v in ENVIRON) print v}' | grep ^AWS)
do
echo "unset $env"
unset $env
done
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.