mc admin cluster iam import

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

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

The command outputs the results of the import, including the following:

  • count of individual entities imported by entity type
  • list of policies imported by entity type they imported to
  • list of entities that failed to import

Syntax

Parameters

ALIAS

Required

The alias of the AIStor deployment.

IAM-METADATA.ZIP

Required

The path to the IAM metadata file to import.

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

Global Flags

This command supports any of the global flags.

All rights reserved 2024-Present, MinIO, Inc.