[egulu CLI reference](../index.md) / [egulu secrets](index.md)

# egulu secrets add-version

POST /v1/projects/{project}/locations/{location}/secrets/{secret}:addVersion

```sh
egulu secrets add-version [options]
```

## API operation

[SecretLifecycle_addVersion](../../api/secrets/SecretLifecycle_addVersion.md): `POST /v1/projects/{project}/locations/{location}/secrets/{secret}:addVersion` (secrets module)

## Options

| Option | Takes | Required | Description |
|---|---|---|---|
| `--data` | value | no | data |
| `--data-crc32c` | value | no | dataCrc32c |
| `--location` | value | yes | location |
| `--project` | value | yes | project |
| `--secret` | value | yes | secret |
| `--validate-only` | value | no | validateOnly |

The [global options](../index.md) apply too.
