Silo Client Administration
The Silo client mc provides the mc admin command for performing administrative tasks on Silo and compatible MinIO deployments.
While mc supports general S3-compatible services, mc admin uses MinIO-specific administration APIs and therefore only supports Silo or compatible MinIO deployments.
mc admin has the following syntax:
mc admin [FLAGS] COMMAND [ARGUMENTS]
Command Quick reference
The following table lists mc admin commands:
Command | Description |
|---|---|
The | |
The | |
The | |
The | |
The | |
The | |
The | |
The | |
Use the | |
The | |
The | |
The | |
The Site replication mimics an active-active bucket replication, but for multiple MinIO deployments. Wherever a change occurs to IAM settings, buckets, or objects across the set of sites, the change replicates across all sites in the site replication group. | |
The | |
The | |
The | |
The | |
The |
Installation
Install the maintained client from Download & Install, or follow the source-build instructions in the mc reference. Standalone archives and Linux packages use the mcli command name; substitute mcli admin for mc admin in the examples when that is the installed name.
Quickstart
Ensure that the host machine has mc installed prior to starting this procedure.
Important
The following example temporarily disables the bash history to mitigate the risk of authentication credentials leaking in plain text. This is a basic security measure and does not mitigate all possible attack vectors. Defer to security best practices for your operating system for inputting sensitive information on the command line.
Use the mc alias set command to add the deployment to the mc configuration.
bash +o history
mc config host add <ALIAS> <ENDPOINT> ACCESS_KEY SECRET_KEY
bash -o history
Replace each argument with the required values. Specifying only the mc config host add command starts an input prompt for entering the required values.
Use the mc admin info command to test the connection to the newly added MinIO deployment:
mc admin info <ALIAS>
Global Options
mc admin supports the same global options as mc. See Global Options.
Portions adapted from minio/docs, © 2020–Present MinIO, Inc. Licensed under CC BY 4.0 — see Attribution.
This page was modified by the Silo project — view the change history.