Skip to content

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

@bjornrog

Description

@bjornrog

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions