CLI Menu

Command Line Interface (CLI) CLI QuickStart GuideCommand Line Interface (CLI) ExamplesUsing the CLI with High Assurance Resources


globus session show - List all identities in the user’s CLI auth session


globus session show ['OPTIONS']


The globus session show command lists all identities that are in the session tied to the CLI’s access tokens along with the time the user authenticated with that identity.


--map-http-status 'TEXT'

Map non success HTTP response codes to exit codes other than 1. e.g. "--map-http-satus 403=0,404=0" would exit with 0 even if a 403 or 404 http error code was received. Valid exit codes are 0,1,50-99.

-F, --format '[json|text]'

Set the output format for stdout. Defaults to "text".

--jq, --jmespath 'EXPR'

Supply a JMESPath expression to apply to json output. Takes precedence over any specified '--format' and forces the format to be json processed by this expression.

A full specification of the JMESPath language for querying JSON structures may be found at

-h, --help

Show help text for this command.

-v, --verbose

Control the level of output.

Use -v or --verbose to show warnings and any additional text output.

Use -vv to add informative logging.

Use -vvv to add debug logging and full stack on any errors. (equivalent to -v --debug)


Note: this output will not show your primary identity if it is not in session. For information on your identity set use globus whoami.

When textual output is requested, the output will be a table with the following fields:

  • 'Username'

  • 'ID'

  • 'Auth Time'

When JSON output is requested the output will also have the session id if needed.


Display the current session with JSON output

$ globus session show --format json

© 2010- The University of Chicago Legal