Apply suggestions from code review + local changes Co-authored-by: Poorna Krishnamoorthy <poornas@users.noreply.github.com> Co-authored-by: Krishnan Parthasarathi <krisis@users.noreply.github.com> Apply suggestions from code review Co-authored-by: Krishnan Parthasarathi <krisis@users.noreply.github.com>
5.3 KiB
MinIO Admin (mc admin)
minio
Table of Contents
mc admin
The MinIO Client mc command line tool provides the mc admin 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 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 service |
|
mc admin tier |
|
mc admin top |
|
mc admin trace |
|
mc admin update |
|
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-cli/minio-mc-admin/*