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