nsc token list

List revokable tokens.

nsc token list displays all revokable tokens that have been created in your workspace. By default, only active (non-revoked) tokens are shown, but you can include revoked tokens using the --include_revoked flag.

Usage

nsc token list

Example

$ nsc token list
TOKEN ID              NAME              DESCRIPTION                 CREATED                STATUS
tok_abc123def456      production-api    Production API token         2024-01-10T10:30:00Z   Active
tok_ghi789jkl012      ci-cd-token       CI/CD automation token       2024-01-01T14:20:00Z   Expired

Options

--output, -o <format>

Output format. One of table or json. Default is table.

--include_revoked

Include revoked tokens in the list.

Last updated