hashicorp / hashicorp/vault-plugin-auth-jwt
[req] Configurable aliases independent from the user_claim
- Dominant language
- Go
- Stars
- 107
- Forks
- 73
- Avg merge
- 13h 49m
- Merged PRs (30d)
- 7
Description
So this comes from my experience setting up Azure OIDC authentication in our Vault cluster. I believe it would be generally applicable to other examples.
I'd like to be able to declare what aliases are generated, and have that be independent from the user claim. This way I can use a durable, but opaque identifier for the user_claim, and a set more operator-friendly aliases instead.
With Azure, the recommendation is to use a durable identifier such as (`sub` or `oid`). Unfortunately, those are opaque Azure identifers or a GUID respectively. This makes the aliases generated in Vault pretty useless.
Though one can copy some of these values into the metadata, the Vault API doesn't let one query by metadata either. Which makes finding a particular user's entity a bit challenging if the user claims are opaque openid values.
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.