netauth auth get-token

Request a new token from the server

Synopsis

get-token retrieves a token from the server if one is not already available locally. If a token is available locally and is still valid, the server will not be contacted.

netauth auth get-token [flags]

Examples

$ netauth auth get-token
Secret:
Token obtained

Options

  -h, --help   help for get-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