fix: updating service account docs

closes: #17268

Signed-off-by: Steve Hawkins <shawkins@redhat.com>
Signed-off-by: Steven Hawkins <shawkins@redhat.com>
Co-authored-by: Alexander Schwartz <alexander.schwartz@gmx.net>
This commit is contained in:
Steven Hawkins 2025-10-14 05:02:20 -04:00 committed by GitHub
parent 33987e54ff
commit f66359ce19
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -51,12 +51,12 @@ To authenticate against the Admin REST API using a `client_id` and a `client_sec
. Make sure the client is configured as follows:
* `client_id` is a **confidential** client that belongs to the realm *master*
* `client_id` has `Service Accounts Enabled` option enabled
* `client_id` has a custom "Audience" mapper
** Included Client Audience: `security-admin-console`
* `client_id` belongs to the realm *master*
* `client_id` has *Client authentication* set to *On*
* `client_id` has the *Service account roles* option enabled
* Assign `client_id` the `admin` realm role in the *Service accounts roles* tab.
. Check that `client_id` has the role 'admin' assigned in the "Service Account Roles" tab.
. Use the *Client Secret* from the *Credentials* tab to verify the service account access:
[source,bash,subs="attributes+"]
----