Support for optional SAN based label selectors in X509 pop Node Attestor #5746
Labels
help wanted
Issues with this label are ready to start work but are in need of someone to do it
priority/backlog
Issue is approved and in the backlog
Problem
The current join token-based node attestation plugin identifies only a single node. Unlike the k8s/aws_iid node attestation, the join token does not expose any flexibile selectors, which limits us in certain aspects:
Solution
Multiple options were discussed in this issue and the outcome of that discussion pointed us towards enhancing x509pop node attestor plugin to support additional selectors by extracting SANs on the leaf certificate.
Specifications
The URI SAN on the leaf certificate could be of the format.
x509pop://trustdomain:key:value
Some examples of the SAN selectors
Considerations:
Server Side:
Additional Configuration
Sample Exposed Selector format:
x509pop:san:datacenter:us-east-1
x509pop:san:env:prod
Subject Alternative Name format :
Agent Side Changes:
None
Implementation Options
Related Discussion
#5647
The text was updated successfully, but these errors were encountered: