-
Notifications
You must be signed in to change notification settings - Fork 94
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
Invalidate token when az logout
#137
Comments
i think we can disable token cache in azurecli mode. |
weinong
added a commit
that referenced
this issue
Oct 19, 2022
remove token cache for azurecli login since az already does that. It ensures kubelogin would not leak the token after az logout addresses #137
fixed in |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The access token in
~/.kube/cache/kubelogin
is valid for 1 hour and is not invalidated when we logout with the commandaz logout
. Mykubelogin
command is configured with--login azurecli
. So, if :A
:az login -u A
~/.kube/cache/kubelogin
.az logout
B
:az login -u B
I think this is a critical security issue. Is it possible to invalidate the access token when logout ? Or, at least, remove the access token in cache, but this is not sufficient I think.
The text was updated successfully, but these errors were encountered: