Creating users in Keycloak
To interact with your NPL application, you need to create users who have permission to trigger actions like creating protocols and executing permissions. NOUMENA Cloud applications contain a keycloak instance by default. Accessing other identity and access management services can be configured.
Understanding Identity Management
Keycloak provides:
- User registration and authentication
- OAuth2/OpenID Connect for secure API access
- Federation with external identity providers
Creating Test Users
Follow these steps to create two test users (Alice and Bob) for your application:
-
In the
Servicestab of your application, expand theKeycloaksection -
Copy the Keycloak admin credentials from the
Keycloak admin usernameandKeycloak admin passwordfields and click to visit theConsole URL
-
Once logged in to the Keycloak admin console, select your application name as the realm in the top-left dropdown

-
Navigate to the
Userstab in the left sidebar and clickAdd User
-
In the user's
Credentialstab, clickSet password -
Enter a secure password
- Set
TemporarytoOff -
Repeat steps 4-6 to create a second user with username
bob
User Authorization
With these users created, they can now:
- Authenticate to your application
- Create and interact with protocol instances
- Execute permissions based on their attributes
Next Steps
Now that you have users set up, continue to Making your first API calls to interact with your NPL application.

