Skip to content

evroc kms keys trim

Trim versions of a key

Trim versions of a key.

Trims all versions lower than the specified minimum version to keep. The trimmed versions are immediately suspended from being used, but are not immediately permanently deleted. The version will be pending final trim until a grace period has passed. See the “trim-abort” command for how to abort the trimming of the versions.

It is not possible to trim the latest/current version.

Terminal window
evroc kms keys trim <key_id> [flags]
Terminal window
--force Skips interactive prompts and executes destructive actions.
-h, --help help for trim
--min-version-to-keep uint The minimum version to keep
Terminal window
--config string Path to the evroc config file (default "~/.evroc/config.yaml")