mc admin cluster iam export
Description
New in version RELEASE.2022-06-26T18-51-48Z.
The mc admin cluster iam export
command exports IAM metadata for use with the mc admin cluster iam import
command.
The command saves the output as ALIAS-iam-metadata.zip
, where ALIAS
is the alias
of the MinIO deployment.
The following command exports all IAM metadata for the myminio
deployment.
mc admin cluster iam export myminio
The command has the following syntax:
mc [GLOBALFLAGS] admin cluster iam export ALIAS
Brackets
[]
indicate optional parameters.Parameters sharing a line are mutually dependent.
Parameters separated using the pipe
|
operator are mutually exclusive.
Copy the example to a text editor and modify as-needed before running the command in the terminal/shell.
Starting with https://github.com/minio/mc/releases/tag/RELEASE.2023-05-04T18-10-16Z, mc admin cluster iam export
adds support for aliases ending with a trailing forward slash ALIAS/
.
Prior to this release, the command would fail when provided a trailing forward slash.
Parameters
- ALIAS
- Required
The alias of the MinIO deployment to export IAM metadata for.
Global Flags
This command supports any of the global flags.