Open JohnPolansky opened 10 months ago
@JohnPolansky There is a granted cache clear
command from where you can select specific cached granted-aws-session-credentials
and clear it.
However, as you mentioned, a single command to clear all should be an excellent addition.
I'm trying to find a command to remove all granted credentials both SSO/CLI/SESSION. When using SSO to sign in in
Keychain
you see the following created:aws sts get-caller-identity --profile <profile>
you will see the following created:Unfortunately it appears the command:
ONLY removes the
granted-aws-sso-tokens
and misses thegranted-aws-session-credentials
this means you are not fully logged out since theaws sts get-caller-identity --profile <profile>
command STILL works.Is there a way to properly remove all sign-in information? or can we updated it to have
granted sso-sesssions clear -all
or the like?