egulu CLI reference / egulu crypto-keys
egulu crypto-keys rotate
POST /v1/projects/{project}/locations/{location}/keyRings/{keyRing}/cryptoKeys/{cryptoKey}:rotate
egulu crypto-keys rotate [options]
API operation
CryptoKeyLifecycle_rotate: POST /v1/projects/{project}/locations/{location}/keyRings/{keyRing}/cryptoKeys/{cryptoKey}:rotate (kms module)
Options
| Option | Takes | Required | Description |
|---|---|---|---|
--crypto-key | value | yes | cryptoKey |
--expected-primary | value | no | expectedPrimary |
--key-ring | value | yes | keyRing |
--location | value | yes | location |
--project | value | yes | project |
The global options apply too.