Database / ValKey Interview questions
What is the role of ACLs in Valkey?
ACLs let an administrator define multiple named users, each with their own password(s), rather than relying on a single shared requirepass value for everyone.
ACL SETUSER appuser on >secretpass ~app:* +get +set +del -flushall ACL WHOAMI ACL LIST ACL LOG
Each user can be restricted to specific commands or command categories, specific key patterns, and specific pub/sub channels, enabling least-privilege access for multi-tenant applications; denied attempts are recorded in ACL LOG for auditing, and Valkey 9.1 extends ACLs further with database-level access scoping.
More Related questions...