Thanks Jim. I did configure a binding with the "hd" claim, but I have no way currently to limit it to a subset of the company. I've been googling how to add custom claims, but haven't found anything yet. I have different roles setup for managing dev, qa, staging, and prod and so far I'm just not telling the full team about the different roles. (I hope they don't find this thread). I think I need a way to specify allowed emails per role.
On Tuesday, April 2, 2019 at 1:48:23 AM UTC-4, Jim Kalafut wrote:
A more elaborate claims matching definition like you’ve described has been discussed but isn’t available now.
If your auth provider allows custom claims that can be populated via configurable rules (I don’t know enough about GCP to say), then there may be a way to have the allowed list at that level feeding a custom claim, plus a bound claim on the role. Also, if the allowed emails are part of a G Suite, then the “hd” claim may be usable.
Regards,
Jim
Hello,
Question on oidc role configuration: is there a way to restrict a role to particular list of possible values for a given claim? My specific use case is with Google auth, where I don't have a "group" or "department" claim on the incoming JWT, and I think the easiest solution would be if I could configure the role to allow a specific list of allowed emails for the "email" claim. Anything like that possible today or on the roadmap?
Thanks.
--
This mailing list is governed under the HashiCorp Community Guidelines - https://www.hashicorp.com/community-guidelines.html. Behavior in violation of those guidelines may result in your removal from this mailing list.
GitHub Issues: https://github.com/hashicorp/vault/issues
IRC: #vault-tool on Freenode
---
You received this message because you are subscribed to the Google Groups "Vault" group.