These docs are for Cribl Stream 4.11 and are no longer actively maintained.
See the latest version (4.14).
keys
Manages encryption keys.
You must append the
-g <group>argument to specify a Worker Group/Fleet. As a fallback, append the argument-g default. For example:./cribl keys list -g default.
Sub-commands:
Sub-commands and Options
keys add
Add encryption keys.
Usage:
./cribl keys add -g default
./cribl keys add -g production_logsSample response:
Adding key succeeded. Key count=1Arguments:
| Option | Definition |
|---|---|
-a <algorithm> | Encryption algorithm. Supported values: aes-256-cbc (default), aes-256-gcm. |
-c <keyclass> | Key class to set for the key. |
-k <kms> | KMS to use. Must be configured; see cribl.yml. |
-e <expires> | Expiration time, in epoch time. |
-i | Use an initialization vector. (IV size configurable for algorithm aes-256-gcm & fixed to 16 for algorithm aes-256-cbc) |
-s <ivSize> | (For algo ‘aes-256-gcm’ only) Initialization vector size (bytes). Supported values: 12 (default), 13, 14, 15, 16 |
-g <group> | Worker Group ID. |
keys list
List encryption keys.
Usage:
./cribl keys add -g default
./cribl keys add -g production_logsArguments:
| Option | Definition |
|---|---|
-g <group> | Worker Group ID. |