minio / mc

Unix like utilities for object store
https://min.io/download
GNU Affero General Public License v3.0
2.88k stars 550 forks source link

Fix regression #5034

Closed shtripat closed 2 months ago

shtripat commented 2 months ago

Community Contribution License

All community contributions in this pull request are licensed to the project maintainers under the terms of the Apache 2 license. By creating this pull request I represent that I have the right to license the contributions to the project maintainers under the Apache 2 license.

Description

A regression was introduced by https://github.com/minio/mc/pull/5032 where new mc with old MinIO wont import the IAM configs properly.

Motivation and Context

How to test this PR?

Use latest MinIO and mc master branches to setup and export iam configuration then try importing the config in new MinIO instance using this PR of mc. The import should be successful.

Types of changes

Checklist: