kes secret create
Add a new secret to use on the KES server.
kes secrete create \
[--enclave, -e <name>] \
[--file <path>] \
A short name to use to refer to the secret.
The short name of the KES enclave to output information about.
Use the contents of a file as the secret. Provide the path to the file.
You cannot provide both a –file and a value.
Directs the command to skip x.509 certificate validation during the TLS handshake with the KES server. This allows connections to KES servers using untrusted certificates (i.e. self-signed or issued by an unknown Certificate Authority).
MinIO strongly recommends against using this option in production environments.
The string to use as the secret. You cannot provide both a –file and a value.
If you do not provide a value to use and do not specify –file, KES prompts you to enter the secret.
Have KES prompt for the secret to use:
kes secret create my-secret-prompt-me
Specify the value of the secret in the command:
kes secret create my-secret Ch@ng3-Me
Use the contents of a file as the secret:
kes secret create my-secret-from-file ./path/to/file.txt