mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2026-12-04 10:07:28 +01:00
* iam: evaluate credential trust policies with the policy engine AssumeRoleWithCredentials and the Iceberg credential vending path checked a role's trust policy by scanning for a matching Allow statement only, so an explicit Deny never took effect. Evaluate the trust policy through EvaluateTrustPolicy, as AssumeRole and AssumeRoleWithWebIdentity do, so a matching Deny wins over an Allow. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * iam: keep the Federated provider match for credential trust Allows Matching Allow statements through the shared trust matcher let {"AWS":"*"}, "*" and empty principal objects admit credential-provider users, and made Allow conditions fail closed on keys this path does not supply, such as the vending duration. Keep the exact Federated provider check for Allow and use the policy engine only to find a matching Deny, with the requested session duration in the context. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> --------- Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>