-
Notifications
You must be signed in to change notification settings - Fork 821
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
Clarify credentials, sessions and profiles #161
Conversation
db73b84
to
ff66343
Compare
1cb7512
to
c851695
Compare
So if I understand correctly - Profile is what's in config, Credentials is the ID for the credentials aws-vault stores (and uses to generate the session), and will correspond to the It seems the challenge is working out the right UI to disambiguate between profiles/credentials and make users aware of this nuance, so this is definitely an improvement on what we currently have. So because it seems this command is using profiles as it's main starting point, does this command list all profiles in config, or just profiles we have credentials stored for? |
Ha I just realised you asked the same question #137 (comment) |
Yeah, I decided c) all of the above. It will show profiles in your config and it will show credentials without a profile in the config. The only thing it won't do is show sessions that don't have a config entry. |
I'm going to automatically add a config entry with the |
Closes #137. Relates to #160.
General cleanup of profile / config parsing code. Implements the
list
command with tabular output:This of course begs the question, why do we have so many old sessions hanging around?