-
mc admin service { start | restart } ALIAS
- remains as is
-
mc admin info ALIAS
- remains as is
-
mc admin credentials [access_key] [secret_key] ALIAS
- renamed from
password
- if keys are not supplied returns currently used keys for server
- use
creds
a command alias.
- renamed from
-
mc admin config { get | set } ALIAS
- remains as is
-
mc admin heal [--fake] ALIAS/PATH
- remove
list
; use--fake
to achieve the same
- remove
-
mc admin locks { list | clear --force} ALIAS/PATH
- added --force to avoid accidental clearing of locks
- similar to
mc rm -r --force
in principle
tl;dr
mc admin service info
- Previously,
mc admin info
mc admin credentials access_key secret_key ALIAS
- Previously,
mc admin password ALIAS access_key secret_key
. credentials
is how we refer to access_key, secret_key pair in docs and code.
- We can hide
mc admin locks
from usage text ofmc admin
.
- Not recommended usually (or lightly).
- Meant only for dire situations where the consequences are well understood.
A consistent command structure allows users to guess command arguments without looking up documentation.
mc admin COMMAND [OPTIONS] { SUBCOMMAND1 | SUBCOMMAND2 } ALIAS
mc admin service {info | status | restart} ALIAS
- Moved
info
underservice
subcommand.
mc admin credentials access_key secret_key ALIAS
- Changed the order of arguments to keep ALIAS at the end
- To be consistent with other commands (incl. non-admin subcommands).
mc admin config {get | set} ALIAS
- Same as now
mc admin heal [--fake] ALIAS/PATH
- As suggested in #general discussion
Comments from discussion on #general with AB.
mc admin creds [ak] [sk] ALIAS
- if you only give server, it shows what the keys are, if not you can set it