minkms keygen
Generate a new data key.
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 keygen \
NAME \
[-a | --api-key KEY] \
[-e | --enclave NAME] \
[-v | --version VERSION] \
[--json] \
[-k | --insecure]
PARAMETERS
NAME
Required
The name of the key to use for data key generation.
--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
Generate data key from key within enclave..
--version
Optional
Alias: -v
Use key with the specified version to generate data key. Defaults to latest currently used key version.
--json
Optional
Print output in JSON format.
--insecure
Optional
Alias: -k
Skip server certificate verification.