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?
Source: Android Questions