Skip to content

Make sure SPIFFE ID is verified against workload's config#13

Merged
brendan-myers merged 3 commits intomainfrom
taonic/validate_spiffe_Id
Aug 4, 2025
Merged

Make sure SPIFFE ID is verified against workload's config#13
brendan-myers merged 3 commits intomainfrom
taonic/validate_spiffe_Id

Conversation

@taonic
Copy link
Copy Markdown
Collaborator

@taonic taonic commented Aug 1, 2025

Verify workload's identity via Spiffe ID instead of Trust Domain

@taonic taonic force-pushed the taonic/validate_spiffe_Id branch from 8bda148 to 11fbf9b Compare August 1, 2025 08:40
type: "spiffe"
config:
trust_domain: "spiffe://company.com/"
spiffe_ids: ["spiffe://company.com/prod.company"]
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should match line 169 with the last element referring to a workload/service

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fixed

@taonic taonic force-pushed the taonic/validate_spiffe_Id branch from 11fbf9b to 6f41b32 Compare August 4, 2025 12:19
@taonic taonic force-pushed the taonic/validate_spiffe_Id branch from 6f41b32 to 4595336 Compare August 4, 2025 12:40
@taonic taonic marked this pull request as ready for review August 4, 2025 12:41
@brendan-myers
Copy link
Copy Markdown
Collaborator

lgtm. I also quickly updated the spiffe audience checks to use the same pattern as the spiffe ID checks

@brendan-myers brendan-myers merged commit b7a0850 into main Aug 4, 2025
2 checks passed
@brendan-myers brendan-myers deleted the taonic/validate_spiffe_Id branch August 4, 2025 23:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants