1
0
mirror of https://github.com/minio/docs.git synced 2025-07-28 19:42:10 +03:00
Files
docs/source/reference/minio-mc-admin/mc-admin-kms-key.rst
Daryl White 28e415fd8c Updates for mc RELEASE.2023-08-29T22-55-06Z (#979)
mc
[RELEASE.2023-08-29T22-55-06Z](https://github.com/minio/mc/releases/tag/RELEASE.2023-08-29T22-55-06Z)
has changes that impact the docs:

- Adds `list` command to `mc admin kms key`
- Adds new group of `scanner` event types

There is no issue to track this release.
2023-08-31 09:53:21 -05:00

110 lines
2.5 KiB
ReStructuredText

====================
``mc admin kms key``
====================
.. default-domain:: minio
.. contents:: Table of Contents
:local:
:depth: 2
.. mc:: mc admin kms key
Description
-----------
.. start-mc-admin-kms-key-desc
The :mc-cmd:`mc admin kms key` command performs cryptographic key management
operations through the MinIO Key Encryption Service (KES).
.. end-mc-admin-kms-key-desc
.. admonition:: Use ``mc admin`` on MinIO Deployments Only
:class: note
.. include:: /includes/facts-mc-admin.rst
:start-after: start-minio-only
:end-before: end-minio-only
.. TODO
Return to this section as part of the KES documentation. There's a lot here
that only makes sense once we can link to KES overview + config.
Syntax
------
.. mc-cmd:: create
:fullpath:
Creates a new master key on a Key Management System (KMS).
The command has the following syntax:
.. code-block:: shell
:class: copyable
mc admin kms key create TARGET [KEY_NAME]
The command accepts the following arguments:
.. mc-cmd:: TARGET
Specify the :mc-cmd:`alias <mc alias>` of a configured MinIO deployment.
The ``TARGET`` deployment **must** include a configured
MinIO Key Encryption Service (KES) server.
.. mc-cmd:: KEY_NAME
Specify the name of the new master key.
.. mc-cmd:: status
:fullpath:
Requests information on a Key Management System (KMS) master key.
The command has the following syntax:
.. code-block:: shell
:class: copyable
mc admin kms key status TARGET [KEY_NAME]
The command accepts the following arguments:
.. mc-cmd:: TARGET
Specify the :mc-cmd:`alias <mc alias>` of a configured MinIO deployment.
The ``TARGET`` deployment **must** include a configured MinIO Key
Encryption Service (KES) server.
.. mc-cmd:: KEY_NAME
Specify the name of a master key on the KMS.
Omit this argument to return the default master key on the
:mc-cmd:`~mc admin kms key status TARGET` deployment.
.. mc-cmd:: list
:fullpath:
List all Key Management System (KMS) keys for a MinIO instance.
The command has the following syntax:
.. code-block:: shell
:class: copyable
mc admin kms key list TARGET
The command accepts the following argument:
.. mc-cmd:: TARGET
Specify the :mc-cmd:`alias <mc alias>` of a configured MinIO deployment.
The ``TARGET`` deployment **must** include a configured MinIO Key Encryption Service (KES) server.