ezgh objects buckets encryption set <bucket> --key <key> [flags]Make a key from Keys (kms_…) a bucket’s default encryption. It must be enabled and in the bucket’s project, and you need keys.keys.generateDataKey and keys.keys.decrypt on it.
New objects use it. Existing objects don’t change.
Part of ezgh objects buckets encryption.
Examples
ezgh objects buckets encryption set bkt_4k2m9x0a7qpe --key kms_7t3n1v8c2wzdFlags
| Flag | Type | Default | Description |
|---|---|---|---|
--key |
string | the key’s ID (kms_…) |
This command also takes the global flags.