kes policy info

Overview

Outputs the name, date, and creation information for a specified policy.

The output resembles the following:

Name        my-app
Date        2023-03-07 17:17:05
Created by  3ecfcdf38fcbe141ae26a1030f81e96b753365a46760ae6b578698a97c59fd22

Syntax

kes policy info                     \
           <name>                   \
           [--color <string>]       \
           [--insecure, -k]         \
           [--json]

Parameters

name

Required

The short name of the policy about which to output information.

--color

Optional

Specify when to use colored output. Possible values: auto, never, always

auto enables colors if an interactive terminal is detected and disables colors if the output goes to a pipe.

If not defined, KES uses the auto method.

--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.

--json

Optional

Output the results in JSON format.

Examples

kes policy info my-policy