rspm list tokens#
Command to list tokens
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#
-a, --address string The address of the remote server. If not specified, the PACKAGEMANAGER_ADDRESS environment variable is used.
-c, --config string Path to config file
--insecure-ssl-skip-verify If true, skip SSL certificate validation. This reduces the security that SSL normally provides.
-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