Adds diagnostic tooling which will allow users to better understand the issues with granted / their local configuration with AWS
the granted doctor command checks the existence of plaintext AWS SSO cached tokens and check the keychain for cached tokens, then run aws sts get-caller-identity on each cached profile to check if it's valid.
I have also added some frequent offenders of confusion that users run into, mostly surrounding Granteds configuration options.
Why?
To help Granted users debug issues they may be having requesting access with Granted
How did you test it?
run granted doctor in different scenarios with cached
What changed?
Adds diagnostic tooling which will allow users to better understand the issues with granted / their local configuration with AWS
the granted doctor command checks the existence of plaintext AWS SSO cached tokens and check the keychain for cached tokens, then run aws sts get-caller-identity on each cached profile to check if it's valid.
I have also added some frequent offenders of confusion that users run into, mostly surrounding Granteds configuration options.
Why?
To help Granted users debug issues they may be having requesting access with Granted
How did you test it?
run
granted doctor
in different scenarios with cachedPotential risks
Is patch release candidate?
Link to relevant docs PRs