-
Notifications
You must be signed in to change notification settings - Fork 53
Open
Labels
bugSomething isn't workingSomething isn't working
Description
Describe the bug
When a service account has multiple AWS External Identities, each with different STS endpoints, authentication can fail.
To Reproduce
Steps to reproduce the behavior:
- Create a service account
- Create two AWS external identities, one using the global STS endpoint, one using e.g., us-west-2. The ARNs doesn't seem to matter for this bug.
- Assign the identity with global STS to the SA
- On an EC2 in us-west-2, login with
--mode aws-iam, success - Back in Phase console, assign only the us-west-2 identity to the SA
- Back on the EC2, login with
--mode aws-iam, failure (possibly expected) - Back in Phase console, assign both identities to the SA
- Back on the EC2, login with
--mode aws-iam, failure
Expected behavior
The UI to manage external identities is a menu of multiple toggles. I figured this means I could assign SAs arbitrary numbers of external identities. If one is valid, authentication will work.
Version
v2.54.1
nimish-ks
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working