Skip to content
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

As a session tool user I want to query the current shell for active session(s) #42

Open
bjornrog opened this issue Sep 26, 2023 · 0 comments

Comments

@bjornrog
Copy link
Contributor

I want to query session tool doing something like this:

$ get_session -q
Active profile: awsops
Expiration: 23:05:17

Or if the session is switched to a role:

$ get_session -q
Active profile: awsops
Expiration: 23:05:17
Role: bf-awsopslab-admin
Role expiration: 10:23:05

Today we only have the '-v' option, and that only returns true/false for the validity of the session and the '-l' option that will list stored sessions.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant