egulu CLI reference / egulu secrets
egulu secrets create
POST /v1/projects/{project}/locations/{location}/secrets
egulu secrets create <NAME> [options]
API operation
Secrets_create: 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 apply too.