Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings
This repository was archived by the owner on Apr 25, 2026. It is now read-only.

fix: use correct dummy ARN for claim-based OIDC provider when listing access keys - #21549

#21549
Merged
harshavardhana merged 1 commit into
minio:masterminio/minio:masterfrom
ianroberts:fix-21548ianroberts/minio:fix-21548Copy head branch name to clipboard
Sep 6, 2025
Merged

fix: use correct dummy ARN for claim-based OIDC provider when listing access keys#21549
harshavardhana merged 1 commit into
minio:masterminio/minio:masterfrom
ianroberts:fix-21548ianroberts/minio:fix-21548Copy head branch name to clipboard

Conversation

@ianroberts

@ianroberts ianroberts commented Aug 29, 2025

Copy link
Copy Markdown
Contributor

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

When listing OIDC access keys, use the correct ARN when looking up the provider configuration for the claim-based provider. Without this it was impossible to list access keys for a claim-based provider, only for a role-policy-based provider.

Motivation and Context

mc idp openid accesskey list would not list access keys related to a claim-based OIDC provider, only those related to role policy based providers. This PR fixes the issue by using the correct "dummy" ARN when looking up the claim-based provider in the map.

How to test this PR?

Given a minio instance with a claim-based OIDC provider configured, compare the output of mc idp openid accesskey list myminio before this change:

Config Name: _

vs after:

Config Name: _
  User ID: 3WyR1Bn-f1U51vCAfYErPwJTM_63oESO-2U4k4YdOyg
  ID: cu-A3AbIOM4j0cj1JfhphpaO0ulKRkaSH08S0pL_xp4
    Access Keys:
      PB674H1NZ7KT1M8634MA, expires: 1 hour from now, sts: true
      gQvAUdNerdYLLDrOkR3j, expires: never, sts: false
  User ID: O6d8HHv6Km65Y3k-YxUjf4Klg8Dy1yBe-NjuSldWzYw
  ID: tcOhFBCB0mFqrDaqbdwdEHoVRUJdJxES_ZKtrpBeWKQ
    Access Keys:
      NvGbgWOcFOpvWHlbH1ns, expires: never, sts: false

Types of changes

Checklist:

  • Fixes a regression (If yes, please add commit-id or PR # here)
  • Unit tests added/updated
  • Internal documentation updated
  • Create a documentation update request here

When listing OIDC access keys, use the correct ARN when looking up the provider configuration for the claim-based provider.  Without this it was impossible to list access keys for a claim-based provider, only for a role-policy-based provider.

Fixes minio#21548
@harshavardhana
harshavardhana merged commit d0f50cd into minio:master Sep 6, 2025
dormanze added a commit to dormanze/minio that referenced this pull request Oct 9, 2025
* upstream/master: (29 commits)
  Fix formatting of features in README.md
  Updating readme for MinIO docs (minio#21625)
  fix: timeN function return final closure not be called (minio#21615)
  Use new gofumpt (minio#21613)
  fix: after saveRebalanceStats cancel will be empty (minio#21597)
  fix: incorrect poolID when after decommission adding pools (minio#21590)
  fix: LDAP TLS handshake fails with StartTLS and tls_skip_verify=off (minio#21582)
  fix: remove unnecessary replication checks (minio#21569)
  fix: conditional checks write for multipart (minio#21567)
  Update yaml files to latest version RELEASE.2025-09-06T17-38-46Z
  fix: use correct dummy ARN for claim-based OIDC provider when listing access keys (minio#21549)
  Fix support for legacy compression env variables (minio#21533)
  fix: return error on conditional write for non existing object (minio#21550)
  Updated object-browser to the latest version v2.0.4 (minio#21564)
  fix: when save the rebalanceStats not found the config file (minio#21547)
  Run modernize (minio#21546)
  Revert `dns.msgUnPath`, fixes minio#21541 (minio#21542)
  fix: invalid checksum on site replication with conforming checksum types (minio#21535)
  fix: use amqp.ParseURL to parse amqp url (minio#21528)
  http/listener: fix bugs and simplify (minio#21514)
  ...
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

mc idp openid accesskey list does not work for claim-based provider

2 participants

Morty Proxy This is a proxified and sanitized view of the page, visit original site.