kes key ls

Command deprecated:
The kes identity ls command has been deprecated as of KES release 2024-06-17T15-47-05Z. Use kes ls instead.

Overview

Return a list of existing cryptographic keys.

Output resembles the following:

Date Created        Key
     <unknown>      minio-s1
     <unknown>      minio-sse-key
     <unknown>      my-key-1
     <unknown>      my-minio-key
     <unknown>      my-minio-sse-kms-key
     <unknown>      my-minio-sse-s3-key

Syntax

kes key 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 string surrounded by single quotes to match when listing keys.

Examples

List all cryptographic keys for the KES server.

kes key ls

List cryptographic keys for the KES server that start with my-key.

kes key ls 'my-key*'