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

# egulu secrets create

POST /v1/projects/{project}/locations/{location}/secrets

```sh
egulu secrets create <NAME> [options]
```

## API operation

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

## Arguments

| Name | Required | Description |
|---|---|---|
| `NAME` | yes | the secretId |

## Options

| Option | Takes | Required | Description |
|---|---|---|---|
| `--display-name` | value | no | displayName |
| `--expire-time` | value | no | expireTime |
| `--location` | value | yes | location |
| `--project` | value | yes | project |
| `--replication-locations` | value | no | replicationLocations: comma-separated, or @file with one item a line |
| `--rotation-period-days` | value | no | rotationPeriodDays |
| `--validate-only` | value | no | validateOnly |

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