minkms add-policy
Create or overwrite a policy.
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 policy add \
NAME \
FILE \
[-a | --api-key KEY] \
[-e | --enclave NAME] \
[-k | --insecure]
PARAMETERS
NAME
Required
The name of the policy to create or overwrite.
FILE
Required
The file containing the policy definition.
--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
Create policy within enclave.
--insecure
Optional
Alias: -k
Skip server certificate verification.