-
Notifications
You must be signed in to change notification settings - Fork 377
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Identity Engine - Patch Group Member Ids #330
Comments
I am doing something similar when appending multiple entities to the identity group:
I believe some set intersection, or other efficient operation in this patch operation will be great to have in |
Neat, thanks for that feedback and example @viralpoetry! For my own professional hvac use-case, I believe I landed on a similar solution. So it's good to see we have a bit of consensus there ☺. To provide a bit more context here: personally, I've been hesitant to implement this issue for a bit to allow some more time to ruminate on the problem of colissions with concurrent (or close enough to be effectively concurrent) updates. E.g., with the KV v2 "patch" functionality within this module, we're able to leverage that secrets engine's "check and set" bit to ensure sequential requests don't stomp on each other's changes. Probably not as much of a concern within the context of this issue, but still something still worth thinking through. Ultimately I don't think that matter is a solvable problem without going upstream to Vault. So I'll try to get something along these lines implemented by the next release of this module (though if a contributor beats me to it, all the better 😉), and perhaps see if Vault itself has / needs its own issue to document this use case... |
Would be handy to add / remove member (entity) IDs to an Identity group without having to perform all the read and update calls explicitly. Consider this an analog to the
patch()
method in the KvV2 class...The text was updated successfully, but these errors were encountered: