kes secret ls

Overview

Display a list of secrets on the KES server.

You can display a list of all secrets or a list that match a specific pattern.

Syntax

kes secret ls                       \
           [--color <string>]       \
           [--insecure, -k]         \
           [--json]                 \
           [<'pattern'>]

Parameters

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

pattern

Optional

A single-quote bounded string to use to find matching policies. Only the policies matching the specified string display.

Examples

List all secrets:

kes secret ls

List secrets that begin with the string my-secret:

kes secret ls 'my-secret*'