netauth auth inspect-token

Inspect a token locally

Synopsis

inspect-token prints a token for inspection locally. Specifically it prints the claims held in an encoded token. Tokens are summoned on demand, and this command will trigger an implicit call to get-token if no local token is valid or available.

netauth auth inspect-token [flags]

Examples

$ netauth auth inspect-token
Secret:
{root [GLOBAL_ROOT] 5}

$ netauth auth inspect-token
{root [GLOBAL_ROOT] 5}

Options

  -h, --help   help for inspect-token

Options inherited from parent commands

      --config string   Use an alternate config file
      --entity string   Specify a non-default entity to make requests as
      --secret string   Specify the request secret on the command line

SEE ALSO

Auto generated by spf13/cobra on 3-Jun-2022