# clanker vault secret history

List a secret's versions in one environment, newest first

## Usage

```bash
clanker vault secret history [options]
```

## Arguments

None.

## Options

- `--workspace <slug>`: Workspace slug or id (default: the linked workspace)
- `--product <slug>` (required): The product, such as storefront
- `--name <name>` (required): The secret's name, such as DATABASE_URL
- `--before <version>`: Return versions older than this version (100 per page)
- `--env <slug>` (required): The environment, such as staging
- `--values`: Include each non-production version's value

## Examples

```bash
clanker vault secret history --product storefront --name DATABASE_URL --env staging
```
