kes key import

Overview

Import a cryptographic key.

Syntax

kes key import                  \
        <name>                  \
        <key>                   \
        [--insecure, -k]

Parameters

name

Required

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

key

Required

Key to use to decrypt the import file.

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

Examples

Import an encrypted key as my-key-2.

kes key import my-key-2 Xlnr/nOgAWE5cA7GAsl3L2goCvmfs6KE0gNgB1T93wE=