...
Info |
---|
Creating additional (new) roles in Zitadel When adding new roles, the following actions are required:
Adding new roles is only necessary if Unique introduces new roles in a release. |
4. Set-up Service user
4.1 Scope Management Service User
The Unique application needs a service user for syncing the user data we have in Zitadel with our Unique System. To set this service user up, the following steps are necessary:
In Zitadel, set-up the
scope-management
service user, following this documentation https://unique-ch.atlassian.net/wiki/spaces/PUB/pages/588546089/Service+User+configuration#Creating-a-service-user. This service user needs no Unique roles to function.In Zitadel, generate a Personal Access Token (PAT) for the created service user, details to be found here: https://unique-ch.atlassian.net/wiki/spaces/PUB/pages/588546089/Service+User+configuration#Generating-personal-access-token-(PAT). Copy the PAT after creation, you will need it in step 4 to store it in the Azure Key Vault.
In Zitadel, give the
scope-management
service user, theIAM Owner Viewer
role on an instance level. To switch to the instance, simply click on Default Setting at the top right in Zitadel:Then add the Service user and give it the role under this button in Zitadel:
After the role was assigned to the user, it should show up like this in the list of the users with instance roles:
In the Azure Key Vault, search for the keyvault that contains the secret
manual-zitadel-scope-mgmt-pat
and add the generated PAT from step 2 there as a value.
After performing the setup of the scope-management service user, the user-sync
cronjob is able to use this service user user’s PAT from the key vault to make requests to the Zitadel API and sync the provisioned users to the Unique backend.
5. Adding Zitadel Actions
tbd - work in progress
...
6. Configuring SSO
tbd - work in progress
...
OLD DOCS (will get removed soon - wip)
...