-
Notifications
You must be signed in to change notification settings - Fork 825
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
AWS-Vault clear does not clear AWS_VAULT
environmental variable
#905
Comments
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
I used this piece of nonsense to workaround it:
|
Same error for me. |
When a command isn't specified, aws-vault creates a "subshell" by running Fixed in #1136 |
.aws/config
(redacted if necessary)aws-vault --debug
(redacted if necessary)Running
aws-vault clear
does not clear out theAWS_VAULT
environmental variable.Steps to reproduce:
aws-vault exec <PROFILE> --ecs-server
echo $AWS_VAULT
to see<PROFILE>
aws-vault clear
echo $AWS_VAULT
(<PROFILE>
is still set)aws-vault exec <PROFILE> --ecs-server
aws-vault: error: exec: aws-vault sessions should be nested with care, unset AWS_VAULT to force
Recommend adding to the clear function:
The text was updated successfully, but these errors were encountered: