mc license update
Table of Contents
Description
Use the mc license update
command to replace a license key for a deployment.
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
- Required
The alias of the MinIO deployment.
- LICENSE-FILE-WITH-PATH
- Required
The path (relative to the current working directory) and file name of the key to use to update the deployment’s license.
- --airgap
- Optional
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 has network access, you do not need to use the
--airgap
flag.
Global Flags
This command supports any of the global flags.