1
0
mirror of https://github.com/minio/docs.git synced 2025-04-27 18:36:56 +03:00
docs/source/reference/minio-mc-admin.rst
Daryl White 6a186df4a4 Creating site replication documentation.
Adding replication overview and site replication overview docs.
Distinguising between bucket replication and site replication.
Adds mc admin replicate docs.
Including tutorials for how to do site replication.
2022-05-16 15:50:37 -05:00

6.0 KiB

MinIO Admin (mc admin)

minio

Table of Contents

mc admin

The MinIO Client mc command line tool provides The command command for performing administrative tasks on your MinIO deployments.

While mc supports any S3-compatible service, mc admin only supports 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
mc admin bucket remote
mc admin bucket quota
mc admin decommission
mc admin group
mc admin heal
mc admin info
mc admin kms key
mc admin obd
mc admin policy
mc admin profile
mc admin prometheus
mc admin replicate
mc admin service
mc admin speedtest
mc admin tier
mc admin top
mc admin trace
mc admin update
mc admin user
mc admin user

Installation

Quickstart

Ensure that the host machine has mc installed <mc-admin-install> 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 minio-mc-global-options.

/reference/minio-mc-admin/*