Skip to content

rspm list tokens#

Command to list tokens

rspm list tokens [flags]

Examples#

    rspm list tokens
    - List all API tokens
  rspm list tokens --expired=no
    - List API tokens that have not expired
  rspm list tokens --expired=yes
    - List API tokens that have expired
  rspm list tokens --revoked=yes
    - List revoked API tokens
  rspm list tokens --revoked=no
    - List API tokens that are not revoked
  rspm list tokens --revoked=no --expired=no
    - List only active API tokens (not revoked, not expired)

Options#

      --expired string   Filter for expiration. Use 'yes' to show expired tokens and 'no' to hide them.
  -h, --help             help for tokens
      --revoked string   Filter for revoked status. Use 'yes' to show revoked tokens and 'no' to hide them.

Options inherited from parent commands#

  -c, --config string          Path to config file
  -o, --output-format string   Specify the output format 'human' for human-readable output or 'json' for JSON-encoded output. (default "human")
  -v, --verbose                Provide additional output