Assign Read write access to collections through UUID

I have few microservices that try to access different collections on mongoDB. Is there a way to restrict access of those services in terms of the queries they can perform on the collections in the db. For example: ServiceA should only be able to read from collectionA and ServiceB can read and write on collectionA.

Is there a way to do that using the UUID of the services but not any user based access control?



Read more here: https://stackoverflow.com/questions/65710758/assign-read-write-access-to-collections-through-uuid

Content Attribution

This content was originally published by Sri Charan at Recent Questions - Stack Overflow, and is syndicated here via their RSS feed. You can read the original post over there.

%d bloggers like this: