minkms set-policy
Assign a policy to an identity.
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 set-policy \
POLICY \
IDENTITY \
[-a | --api-key KEY] \
[-e | --enclave NAME] \
[-k | --insecure]
PARAMETERS
POLICY
Required
The name of the policy to assign.
IDENTITY
Required
The name of the identity to assign the policy to.
--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
Assign the POLICY
to the IDENTITY
within the specified enclave..
--insecure
Optional
Alias: -k
Skip server certificate verification.