diff --git a/docs/minio-admin-complete-guide.md b/docs/minio-admin-complete-guide.md index 8290a43b..98a81a8e 100644 --- a/docs/minio-admin-complete-guide.md +++ b/docs/minio-admin-complete-guide.md @@ -5,6 +5,8 @@ Minio Client (mc) provides `admin` sub-command to perform administrative tasks o ```sh service Stop, restart or get the status of Minio servers info Display Minio server information +credentials Change server access and secret keys +config Manage server configuration file heal Heal disks, buckets and objects on Minio server ``` @@ -210,6 +212,8 @@ Skip SSL certificate verification. |:---| |[**service** - Start, stop or get the status of Minio server](#service) | |[**info** - Display Minio server information](#info) | +|[**credentials** - Change server access and secret keys](#credentials) | +|[**config** - Manage server configuration file](#config)| |[**heal** - Heal disks, buckets and objects on Minio server](#heal) | @@ -269,6 +273,55 @@ FLAGS: Storage : Used 8.2GiB ``` + +### Command `credentials` - Change server access and secret keys +`credentials` command to set new credentials of a Minio server. + +```sh +NAME: + mc admin credentials - Change server access and secret keys + +FLAGS: + --help, -h Show help. +``` + +*Example: Set new credentials of a Minio server represented by its alias 'myminio'.* + +```sh +mc admin credentials myminio/ minio minio123 +``` + + +### Command `config` - Manage server configuration +`config` command to manage Minio server configuration. + +```sh +NAME: + mc admin config - Manage configuration file + +USAGE: + mc admin config COMMAND [COMMAND FLAGS | -h] [ARGUMENTS...] + +COMMANDS: + get Get config of a Minio server/cluster. + set Set new config file to a Minio server/cluster. + +FLAGS: + --help, -h Show help. +``` + +*Example: Get server configuration of a Minio server/cluster.* + +```sh +mc admin config get myminio > /tmp/my-serverconfig +``` + +*Example: Set server configuration of a Minio server/cluster.* + +```sh +mc admin config set myminio < /tmp/my-serverconfig +``` + ### Command `heal` - Heal disks, buckets and objects on Minio server `heal` command heals disks, missing buckets, objects on Minio server. NOTE: This command is only applicable for Minio erasure coded setup (standalone and distributed).