Workload ID: JWT SVID custom claim injection #52500
Labels
feature-request
Used for new features in Teleport, improvements to current should be #enhancements
machine-id
Today, we support injecting custom RDNs into the Subject of an issued X509 SVID e.g
This allows encoding information that is not suitable for the SPIFFE ID into the resulting workload identity credential. This may be used by consumers for authorization or auditing.
We should support a similar ability for JWT-SVIDs, and allow custom claims to be injected into the resulting JWT. JWT-SVIDs offer even more flexible customisation compared to X509 SVIDs.
Consider compatibility with https://docs.aws.amazon.com/IAM/latest/UserGuide/id_session-tags.html#id_session-tags_adding-assume-role-idp (Nested or Flattened) for passing information from attestation into AWS.
It'll be worth exploring a few different implementation options in this ticket and asking customers for feedback before proceeding to implementation.
As an example, it may look something like:
We'll probably want to decide on:
The text was updated successfully, but these errors were encountered: