- Login into IAM as an Admin user
-
Go to any realm for example ' Master ' realm.
-
Click on the ' Clients ' section on the left side menu
- Click on the ' Create ' button on the right side of the screen marked as green.
-
- Add Service Account Client
-
Enter the client ID for example ' service-account-client '
-
Click on the ' Save ' button.
-
- Service Account Client ' Setting ' page.
-
Access Type = confidential
-
Service Accounts Enabled = ON
-
Standard Flow Enabled = OFF
-
Direct Access Grants Enabled = OFF
-
Please follow the below images.
-
Finally, click on the ' Save ' button to save the changes.
-
- Service Account Roles.
-
On the client settings page click on the ' Service Account Roles ' tab on the right side as shown in the image.
- Add remove all the default roles and add only ' create-realm ' roles in the Assigned Roles section
-
- The 'Service Account' is created
Comments
0 comments
Please sign in to leave a comment.