Create a service account
To create a service account:
- Select the icon with your initials in the upper right corner of the page to open the user menu.
- Choose Administration to open the view with the same name.
- Select the Service accounts tab on the vertical menu of the left of the page.
-
Select Create service account on the Service accounts panel. Fill the form in the right page of the page as follows:
- In the Client ID field enter the identifier of the service. Use lowercase and avoid spaces.
- In the Name field enter a mnemonic name for the service.
- Optionally select roles in the Roles panel. The user must have at least one basic role, but instead of assigning it directly, you can achieve the same result by assigning the user to one or more groups (see below). In that case, the user will inherit his roles from the groups he belongs to.
-
Optionally add the new user to one or more groups:
- Select the group from the drop-down list under Assigned groups.
- Select Add.
-
In the Description field optionally enter a description for the service.
- Optionally set an expiration date for the account by turning on Expiration date and setting the date.
-
Select Create.
A dialog will appear confirming the creation of the new account and showing the client secret. -
Select Copy to clipboard to copy the client secret to the clipboard.
- Paste and store the contents of the clipboard in a safe place, for example a password manager, because this is the only time you will see the client secret in EI-Flow, although you will still be able to regenerate it by editing the account.
You can now view and edit the properties of the newly created account.
Read the article dedicated to the topic to find out how to practically use the service account properties.