minkms rm-key
Remove a key or key version.
The following settings determine which remote Key Manager server the command runs against in order of priority:
- The
MINIO_KMS_SERVER
environment variable. - The default value of
https://localhost:7373
.
SYNTAX
minkms rm-key \
NAME \
[-a | --api-key KEY] \
[-e | --enclave NAME] \
[-v | --version VER] \
[--all] \
[-k | --insecure]
PARAMETERS
NAME
Required
The name of the key to remove.
--api-key
Optional
Alias: -a
The API key of an identity the command uses to authenticate to the Key Manager cluster.
Defaults to the value of MINIO_KMS_API_KEY
.
--enclave
Optional
Alias: -e
Delete key within enclave..
--version
Optional
Alias: -v
Remove the given key version. Defaults to latest currently used key version.
All data encrypted using the deleted key version becomes permanently unreadable. You can restore the deleted key from a backup if one is available.
--all
Optional
Delete the entire key and all its versions.
All data encrypted using the deleted key and its versions becomes permanently unreadable. You can restore the deleted key from a backup if one is available.
--insecure
Optional
Alias: -k
Skip server certificate verification.