You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
CLDSRV-755: support flexible ARN matching for service user authorization
Add support for partial ARN prefix matching in isRateLimitServiceUser to
allow more flexible configuration options:
- Full ARN match: Exact user verification
- Account-only match: Any user from management account
- Path prefix match: Any user under specific path
This allows operators to configure rate limiting with different levels
of specificity while maintaining security through timing-safe comparisons.
Example configurations:
serviceUserArn: "arn:aws:iam::000000000000" (account only)
serviceUserArn: "arn:aws:iam::000000000000:user/scality-internal/service-s3-ratelimit" (specific user)
0 commit comments