Since Redis supports ACL from v6.How can we achieve authorization at the key pattern? We want to implement a system in which multiple services have their own key pattern and we don't want any service can read other service's data.
For example:
Service Name | Keys Pattern |
---|---|
Service A | Service_A_::_ |
Service B | Service_B_::_ |
so that service A can't read data of service B and vice-versa.