1
0
mirror of https://github.com/minio/docs.git synced 2025-08-08 01:43:18 +03:00
Files
docs/source/reference/minio-mc/mc-license-update.rst
Daryl White a210da5f61 Adding mc version info for license add or update (#1111)
Per internal discussion, this adds some admonitions for mc license
commands and the SUBNET registration section of the troubleshooting
page. Also adds information about Client and Server version alignment.
2024-01-30 12:45:04 -05:00

2.5 KiB

mc license update

minio

Table of Contents

mc license update

Important

mc license update requires MinIO Client <minio-client> version RELEASE.2023-11-20T16-30-59Z. While not strictly required, best practice keeps the MinIO Client version <mc-client-versioning> in alignment with the MinIO Server version.

If for any reason you cannot upgrade your MinIO Client to the required version or later for the purpose of registering to SUBNET, register using the MinIO Console <minio-docs-subnet> instead.

Description

Use the mc license update command to replace a license key for a deployment.

RELEASE.2023-01-18T04-36-38Z

For deployments registered for |SUBNET|, MinIO automatically checks for and updates the license every month.

If not passed with the command, MinIO checks the license file on SUBNET and automatically updates it.

Examples

Update the License Key for a Deployment with Alias minio1

mc license update minio1 license.key

Syntax

The command has the following syntax:

mc [GLOBALFLAGS] license update                   \
                         ALIAS                    \
                         [LICENSE-FILE-WITH-PATH] \
                         [--airgap]

Parameters

ALIAS

The alias <alias> of the MinIO deployment.

LICENSE-FILE-WITH-PATH

The path (relative to the current working directory) and file name of the key to use to update the deployment's license.

See the troubleshooting page <minio-subnet-license-file-download> for instructions on downloading the license file.

--airgap

Use in environments without network access to SUBNET (for example, airgapped, firewalled, or similar configuration).

If the deployment is airgapped, but the local device where you are using the minio client <minio-client> has network access, you do not need to use the --airgap flag.

Global Flags