-
Notifications
You must be signed in to change notification settings - Fork 600
Expose AWS account ID as a selector in aws_iid node attestor #6698
Copy link
Copy link
Open
Labels
priority/backlogIssue is approved and in the backlogIssue is approved and in the backlog
Description
I'm doing cross-account node attestation and realized there's no way to scope registration entries by AWS account using selectors. The account ID is already in the Instance Identity Document and used for the agent SPIFFE ID path, but it's not exposed as a selector like region, az, etc. are.
Having aws_iid:account_id: as a selector would make it much easier to write account-scoped policies in multi-account setups, and would also be useful for workload isolation in multi-tenant environments.
Right now the workaround is to rely on tags or agent path template patterns, which feels unnecessarily indirect for something that's always present in the IID.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
priority/backlogIssue is approved and in the backlogIssue is approved and in the backlog