Skip to main content

Configure ACL permissions in Aiven for Caching

Aiven for Caching uses Access Control Lists (ACLs) o manage the usage of commands and keys based on specific username and password combinations. Direct use of ACL commands is restricted to ensure the reliability of replication, configuration management, and disaster recovery backups for the default user. However, you can create custom ACLs using either the Aiven Console or Aiven CLI.

Create user and configure ACLs

To create a user and configure ACLs using the Aiven Console:

  1. Log in to Aiven Console, select your project, and select your Aiven for Caching service.
  2. Click Users from the left sidebar.
  3. Click Create user, and provide the following details:
    • Username: Enter a username for the user.
    • Categories: Define the command categories accessible to the user. For example, use the prefix +@all or a similar convention to grant users access to all categories. Separate each category entry with a single space.
    • Commands: List the commands the user can execute, separating each command by a single space. For example, input +set -get to grant the user permission to execute the SET command and deny access to the GET command.
    • Channels: Specify the Pub/Sub channels the user can access, separating each with a space.
    • Keys: Define the keys the user can interact with. For example, specify keys like user:123 or product:456, or order:789 to grant the user access to interact with these specific keys in Aiven for Caching.
  4. Once you have defined the ACL permissions for the user, click Save.

User management

Manage users of your Aiven for Caching service directly from the Aiven Console. Follow these steps for various user management tasks:

Reset password

  1. Click Users from the left sidebar.
  2. Find the user whose password needs to be reset and Click Actions > Reset password.
  3. Confirm the password reset by clicking Reset on the confirmation dialog.

Edit ACL rules

  1. Click Users from the left sidebar.
  2. Find the user whose ACL rules require editing and Click Actions > Edit ACL rules .
  3. Make the necessary changes to the ACL rules on the Edit access control dialog.
  4. Click Save.

Duplicate user

  1. Click Users from the left sidebar.
  2. Locate the user you wish to duplicate and click Actions > Duplicate user.
  3. Enter a name for the new user in the Duplicate user dialog.
  4. Click Add user.

Delete user

  1. Click Users from the left sidebar.
  2. Find the user you intend to delete and click Actions > Delete user.
  3. Confirm the deletion by clicking Delete on the confirmation dialog.