kes policy assign

Overview

Assign a KES policy to identities.

Syntax

kes policy assign                   \
           <policy>                 \
           <identity>               \
           [--insecure, -k]

Parameters

policy

The name of the policy to add to the identity.

Use kes policy ls to find the name.

identity

The name of the identity to which to assign the policy.

--insecure, -k

Optional

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.

Examples

kes policy assign my-policy 032dc24c353f1baf782660635ade933c601095ba462a44d1484a511c4271e212