Files
zitadel/apps/docs/content/examples/imports/_serviceaccount_role.mdx
T
Marco A.andGitHub 382aec2d61 chore: Service Account Naming Consistency (#11557)
# Which Problems Are Solved

Inconsistent naming of service account, found in the following
variations:

  - Machine User
  - machine user
  - Service User
  - Machine Account
  - Technical Account
  - User: Type Machine

# How the Problems Are Solved

Attentive search and replace.

Localizations have been translated using Copilot

# Additional Changes

Some unused methods have been removed from the Go code.

# Additional Context

- Closes #11285
2026-02-13 12:31:43 +01:00

37 lines
1.4 KiB
Plaintext

In order to access this route, you must create the role `read:messages` in your ZITADEL project and also create an authorization for the service account you created by adding the role to the user. Follow these steps to do so:
1. Go to your project and select **Roles**. Click **New**.
![](../../../public/img/examples/secure-api/service-account-jwt/scopes/1.png)
2. Add the `read:messages` role as shown below and click **Save**.
![](../../../public/img/examples/secure-api/service-account-jwt/scopes/2.png)
3. You will see the created role listed.
![](../../../public/img/examples/secure-api/service-account-jwt/scopes/3.png)
4. To assign this role to a user, click on **Authorizations**.
![](../../../public/img/examples/secure-api/service-account-jwt/scopes/4.png)
5. Select the user you want to assign the role to.
![](../../../public/img/examples/secure-api/service-account-jwt/scopes/5.png)
6. Select the project where this authorization is applicable.
![](../../../public/img/examples/secure-api/service-account-jwt/scopes/6.png)
7. Click **Continue**.
![](../../../public/img/examples/secure-api/service-account-jwt/scopes/7.png)
8. Select the role **read:messages** and click **Save**.
![](../../../public/img/examples/secure-api/service-account-jwt/scopes/8.png)
9. You will now see the service account has been assigned the role **read:messages**.
![](../../../public/img/examples/secure-api/service-account-jwt/scopes/9.png)