kes key info

Overview

Return the name, ID, and creation information about a cryptographic key.

Output resembles the following:

Name        my-key
ID          14eb17aec10cd31a6bc006ba81d63589
Created At  2023-03-09 18:16:11
Created By  3ecfcdf38fcbe141ae26a1030f81e96b753365a46760ae6b578698a97c59fd22

Syntax

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

Parameters

name

Required

The short identifier for the key to use for the data encryption key.

--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 key info my-key