TACC-Cloud / agave-cli

The Tapis CLI
Other
4 stars 8 forks source link

Improving authentication workflow #57

Closed alejandrox1 closed 5 years ago

alejandrox1 commented 5 years ago

Is your feature request related to a problem? Please describe. Currently, to begin work, one has to use tenants-init, clients-create, and auth-token-create to get to a point where a user can began to interact with Agave. We want to fix this to streamline the process by one command-line tool utility. This utility will also allow one to make use of the new configurations format used in TACC/agavepy to switch between different sessions (tenant id, username, client name).

Describe the solution you'd like The tool will be names something along the lines of auth-session-init. It can be used as

auth-session-init -t tenant # Create a session
auth-session-init -t tenant -u username -c client-name # Use an existing one

To create a new sessions based on the specified parameters or to reuse an existing one.

Additional context This tool will take over the responsibilities of tenants-init, clients-create, auth-tokens-create, and auth-swithc.