bm admin cluster iam import

Description

The bm admin cluster iam import command imports IAM metadata as created by the bm admin cluster iam export command.

You can use this command to manually restore IAM metadata settings for a Buckit deployment.

The following command imports the IAM metadata of the specified file onto the mybuckit deployment.

bm admin cluster iam import mybuckit ~/minio-metadata-backup/mybuckit-cluster.zip

The command has the following syntax:

bm [GLOBALFLAGS] admin cluster iam import  \
                                   ALIAS \
                                   IAM-METADATA.ZIP
  • 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.

bm admin cluster iam import 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 Buckit deployment.

IAM-METADATA.ZIP
Required

The path to the IAM metadata file to import.

Use the bm admin cluster iam export to export IAM metadata for use with this command.

Global Flags

This command supports any of the global flags.