kes secret show

Overview

Output the contents of a secret.

Syntax

kes secret show                     \
           <name>                   \
           [--color <string>]       \
           [--enclave, -e <name>]   \
           [--insecure, -k]         \
           [--json]                 \
           [--plain, -p]

Parameters

name

Required

The short name of the secret to remove.

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

--enclave, -e

Optional

The short name of the KES enclave to output information about.

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

--plain, -p

Output the raw secret with no styling.

Examples

kes secret show my-secret