Aerospike connector
This section describes how to configure the Aerospike connector to connect with the Aerospike NoSQL, key-value, and document-oriented database.
Aerospike is a NoSQL, key-value, and document-oriented database, not a relational one — so it lacks traditional RDBMS concepts like roles, privileges, or users (as in PostgreSQL or Oracle). However, the Enterprise Edition provides Access Control and Security features that enable admin, user, and role-level access — and that is what the Aerospike connector manages.
For more information, visit the Aerospike blog portal.
Create user
✅
Reset password
✅
Delete user
✅
Search users
✅ (show users, single user)
Search groups (Aerospike roles)
✅ (show roles, single role)
Group create/delete
❌ Roles are managed in Aerospike
Test connection
✅
Use cases
Managing Aerospike Enterprise database accounts from OpenIAM — create users, assign their access roles, reset passwords, and remove them.
Importing Aerospike users and roles into OpenIAM for visibility and access review.
Requires Aerospike Enterprise Edition — Community Edition has no access-control model to manage.
Versions and compatibility
The end application is Aerospike Enterprise Edition. The edition matters more than the version: access control is an Enterprise feature, and Community Edition has no users, roles or privileges for a connector to manage at all.
Platform
Aerospike Enterprise Edition, with Access Control enabled
Not supported
Aerospike Community Edition — it has no access-control model
Managed objects
Aerospike users, and the roles granted to them
Roles
Created in Aerospike; the connector reads and assigns them but does not create them
Prerequisites
Aerospike Enterprise Edition with Access Control enabled.
An Aerospike admin account for the connector.
Network access from the connector host to the Aerospike host/port.
Installing the connector
Deploy the connector as with other OpenIAM connectors: enable its service in the Kubernetes deployment configuration, or run its JAR under RPM — see Connectors via RPM.
Starting, stopping, and restarting
Manage the connector like any OpenIAM connector service for your deployment type: the systemd connector unit under RPM, or the deployment under Kubernetes.
Verifying the connector is running
In the Webconsole, open the managed system — the Running connector status indicator must be green.
Click Test Connection — it must return success.
Run the Aerospike User Example sync with * and confirm results in Synchronization History.
Troubleshooting
Connection status not green
Wrong host/port/credentials, or Access Control not available
Verify the managed-system fields; confirm you are running Aerospike Enterprise with security enabled.
Sync returns an error
Unsupported query
Only show users / show roles / * / single-object queries are supported.
User created with unexpected name
Username pattern
Usernames are generated as <firstname-lastname> and are case-sensitive.
See also: general connector troubleshooting and the connector error-code reference.
Registering the connector in OpenIAM
The connector and the Aerospike Managed System ship pre-registered. If registering manually, add the connector under Provisioning → Connectors with its queue name and attach it to the managed system — see Registering the connector.
Configuring the managed system
Open the Aerospike Managed System under Provisioning → Managed system and fill in:
Host URL
The Aerospike host. On a single-node Docker deployment this is the bridge address, for example 172.17.0.1
Port
3000, Aerospike's default client port
Login Id
An Aerospike admin account
Password
That account's password
Save, then check the Running connectors status column on the Managed System dashboard. Green means the connector answered; No active connectors found means it is not reachable on its queue.
Attribute mapping and policy map
User creation maps the OpenIAM user to an Aerospike account. The username is built as <firstname-lastname> and is case-sensitive. Access is granted through OpenIAM roles, each of which corresponds to an Aerospike role.
Create a role for the Aerospike access
Access Control → Role → Create a new role. Set Role type to Provision Role, give it a name such as Aerospike Role, set Role Managed System to the Aerospike managed system, and leave Status as Active.
Create the user
Fill in First Name, Last Name, Metadata Type and an email address. The first and last names are what the Aerospike username is derived from, so they decide the account name.
Assign the role and save
On Access Rules, pick the Aerospike managed system and the role created above, then save. The user's User Identities panel then lists two rows — the OpenIAM identity and the Aerospike one — and the Aerospike row reaches Provision Status SAVED and Status ENABLED once the connector has done the work.
Reconciliation and synchronization
Two synchronization configurations ship with the connector, one for users and one for roles. They differ only in object type, filter and scripts.
Setting
Aerospike User Example
Aerospike Group Example
Synchronize object
User
Group
OpenIAM field name
PRINCIPAL NAME
NAME (for non-user objects only)
Source attribute name
username
groupname
Validation rule
/sync/user/aerospike/AerospikeUserSampleValidation.groovy
/sync/group/aerospike/AerospikeGroupSampleValidation.groovy
Transformation rule
/sync/user/aerospike/AerospikeUserSampleTransformation.groovy
/sync/group/aerospike/AerospikeGroupSampleTransformation.groovy
Attribute names lookup
/sync/user/aerospike/AerospikeUserSyncAttributes.groovy
/sync/group/aerospike/AerospikeGroupSyncAttributes.groovy
Set the search string in SQL Query / Directory Filter. Only these forms are accepted, and anything else raises an error:
Everything
show users or *
show roles or *
One record
show user <username>
show role <rolename>
Use Test connection to validate, then Save. Synchronization runs in the background, and Synchronization History records each run as three entries — SYNCHRONIZATION, PROVISIONING_USER_SEARCH or PROVISIONING_GROUP_SEARCH, and SYNCHRONIZATION_THREAD.
What a synchronized record looks like
Opening a history entry shows the request body for each object the run processed. A user:
And a role, which carries the Aerospike privilege that defines it:
Last updated
Was this helpful?