kes secret info

Overview

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

The output resembles the following:

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

Syntax

kes secret info                     \
           <name>                   \
           [--color <string>]       \
           [--insecure, -e]         \
           [--json]

Parameters

name

Required

The short name of the secret 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 secret info my-secret