# dflow tokens:list

> List tokens in the current workspace.

Web page: /docs/cli/access/tokens-list/

This lists the tokens in the current workspace. You see the name, when the token expires, and when it was last used. The secret is not printed.

```bash
dflow tokens:list
```

## Flags

Global flags only. This page does not add a flag. Secrets are not printed.

## What you see

The token rows, without the secret. Each row shows the name, when the token expires, and when it was last used. A token that already existed when expiry was added prints a warning. Its expiry was set to 90 days.

## When it fails

A platform token on a workspace command exits 2.
