mirror of
https://github.com/andwati/zitadel.git
synced 2026-12-03 17:38:51 +00:00
chore: rename manager/member to administrator (#11542)
# Which Problems Are Solved As part of the naming consistency initiative, the terms `Manager`, `Member` and other similar terms that are used in the context of an administrator are replaced by `Administrator` in the UI and documentation. # How the Problems Are Solved By replacing the following terms with Administrator / Administrator Roles in docs, Console UI, and guides. - Manager - Add Manager - Add a Manager - Administrator (used as a person type) - Membership - Member grants # Additional Changes minor grammatical edits in the docs # Additional Context - Closes https://github.com/zitadel/zitadel/issues/11291 --------- Co-authored-by: Marco A. <[email protected]>
This commit is contained in:
co-authored by
Marco A.
parent
319c466476
commit
cc7a6145f1
@@ -7,13 +7,13 @@ This guide explains what ZITADEL APIs are and how to access ZITADEL APIs using a
|
||||
## What are the ZITADEL APIs
|
||||
|
||||
ZITADEL exposes a variety of APIs that allow you to interact with its functionalities programmatically.
|
||||
These APIs are offered through different protocols including gRPC and REST.
|
||||
These APIs are offered through different protocols, including gRPC and REST.
|
||||
Additionally, ZITADEL provides [SDKs for popular languages](/sdk-examples/introduction) and frameworks to simplify integration.
|
||||
|
||||
Here's a breakdown of some key points about ZITADEL APIs:
|
||||
|
||||
* **Auth API:** Used by authenticated users for tasks related to their accounts.
|
||||
* **Management API:** Used by organization managers for administrative tasks.
|
||||
* **Management API:** Used by organization administrators for administrative tasks.
|
||||
* **Admin API:** Used for administrative functions on the ZITADEL instance itself (may require separate user setup).
|
||||
* **System API:** For ZITADEL self-hosted deployments only, providing superordinate control (requires specific configuration).
|
||||
|
||||
@@ -62,24 +62,24 @@ Via APIs23: * [Create User (Machine)](/reference/api/management/zitadel.manageme
|
||||
|
||||
## 2. Grant an Administrator Role to the Service User
|
||||
|
||||
ZITADEL Managers are Users who have permission to manage ZITADEL itself.
|
||||
There are some different levels for managers.
|
||||
ZITADEL Administrators are users who have permission to manage ZITADEL itself.
|
||||
There are different levels of administrators.
|
||||
|
||||
- **Instance Managers**: This is the highest level. Users with IAM Administrator roles are able to manage the whole instance.
|
||||
- **Org Managers**: Managers in the Organization Level are able to manage everything within the granted Organization.
|
||||
- **Project Managers**: At this level, the user is able to manage a project.
|
||||
- **Project Grant Manager**: The project grant manager is for projects, which are granted of another organization.
|
||||
- **IAM Administrators**: This is the highest level. Users with IAM Administrator roles are able to manage the whole instance.
|
||||
- **Organization Administrators**: Administrators at the Organization Level are able to manage everything within the granted Organization.
|
||||
- **Project Administrators**: At this level, the user is able to manage a project.
|
||||
- **Project Grant Administrators**: A project grant administrator manages projects which are granted by another organization.
|
||||
|
||||
There are different roles on each level. You can find more about the different roles here: [ZITADEL Administrator Roles](/guides/manage/console/managers#roles)
|
||||
There are different roles on each level. You can find more about the different roles here: [ZITADEL Administrator Roles](/guides/manage/console/administrators#roles)
|
||||
|
||||
To be able to access the ZITADEL APIs your service user needs permissions to ZITADEL.
|
||||
To be able to access the ZITADEL APIs, your service user needs permissions to ZITADEL.
|
||||
|
||||
1. Go to the detail page of your organization
|
||||
2. Click in the top right corner the "+" button
|
||||
3. Search for your service user
|
||||
4. Give the user the role you need, for the example we choose Org Owner (More about [ZITADEL Permissions](/guides/manage/console/managers))
|
||||
4. Give the user the role you need — for example, we choose Org Owner (More about [ZITADEL Permissions](/guides/manage/console/administrators))
|
||||
|
||||

|
||||

|
||||
|
||||
## 3. Authenticate service user and request token
|
||||
|
||||
@@ -89,17 +89,17 @@ The [service user authentication](../service-accounts/authenticate-service-accou
|
||||
This guide covers a specific case of service user authentication when requesting access to the [ZITADEL APIs](/apis/introduction).
|
||||
While PAT can be used directly to access the ZITADEL APIS, the more secure authentication methods private key JWT and client credentials must include the [reserved scope](/apis/openidoauth/scopes) `urn:zitadel:iam:org:project:id:zitadel:aud` when requesting an access from the token endpoint.
|
||||
This scope will add the ZITADEL APIs to the audience of the access token.
|
||||
ZITADEL APIs will check if they are in the audience of the access token, and reject the token in case they are not in the audience.
|
||||
ZITADEL APIs will check if they are in the audience of the access token and reject the token in case they are not in the audience.
|
||||
|
||||
The following sections will explain the more specific authentication to access the ZITADEL APIs.
|
||||
|
||||
### Authenticate with private key JWT
|
||||
|
||||
Follow the steps in this guide to [generate an key file](../service-accounts/private-key-jwt#2-register-a-private-key-for-your-service-user) and [create a JWT and sign with private key](../service-accounts/private-key-jwt#3-create-a-jwt-and-sign-it-with-your-private-key).
|
||||
Follow the steps in this guide to [generate a key file](../service-accounts/private-key-jwt#2-register-a-private-key-for-your-service-user) and [create a JWT and sign with private key](../service-accounts/private-key-jwt#3-create-a-jwt-and-sign-it-with-your-private-key).
|
||||
|
||||
With the encoded JWT (assertion) from the prior step, you will need to craft a POST request to ZITADEL's token endpoint.
|
||||
|
||||
**To access the ZITADEL APIs you need the ZITADEL Project ID in the audience of your token.**
|
||||
**To access the ZITADEL APIs, you need the ZITADEL Project ID in the audience of your token.**
|
||||
This is possible by sending a [reserved scope](/apis/openidoauth/scopes) for the audience.
|
||||
Use the scope `urn:zitadel:iam:org:project:id:zitadel:aud` to include the ZITADEL project id in your audience
|
||||
|
||||
@@ -170,7 +170,7 @@ When using `client_secret_basic` on the token or introspection endpoints, provid
|
||||
Authorization: "Basic " + base64( formUrlEncode(client_id) + ":" + formUrlEncode(client_secret) )
|
||||
```
|
||||
|
||||
For an example see the [client secret basic authentication method reference](/apis/openidoauth/authn-methods#client-secret-basic).
|
||||
For example, see the [client secret basic authentication method reference](/apis/openidoauth/authn-methods#client-secret-basic).
|
||||
We recommend using an OpenID / OAuth library that handles the encoding for you.
|
||||
|
||||
#### Post request
|
||||
@@ -216,9 +216,9 @@ curl --request GET \
|
||||
|
||||
### Personal access token (PAT)
|
||||
|
||||
A Personal Access Token (PAT) is a ready-to-use token which can be used as _Authorization_ header.
|
||||
A Personal Access Token (PAT) is a ready-to-use token that can be used as an _Authorization_ header.
|
||||
|
||||
Because the PAT is a ready-to-use token, you can add it as Authorization Header and send it in your requests to the ZITADEL API.
|
||||
Because the PAT is a ready-to-use token, you can add it as an Authorization Header and send it in your requests to the ZITADEL API.
|
||||
In this example, we read the organization of the service user.
|
||||
|
||||
```bash
|
||||
|
||||
@@ -7,7 +7,7 @@ ZITADEL leverages the power of eventsourcing, meaning every action and change wi
|
||||
To provide you with greater flexibility and access to these events, ZITADEL has introduced an Event API.
|
||||
This API allows you to easily retrieve and utilize the events generated within the system, enabling you to integrate them into your own system and respond to specific events as they occur.
|
||||
|
||||
You need to assign a user the [administrator role](/guides/manage/console/managers) IAM_OWNER_VIEWER or IAM_OWNER to access the Event API.
|
||||
You need to assign a user the [administrator role](/guides/manage/console/administrators) IAM_OWNER_VIEWER or IAM_OWNER to access the Event API.
|
||||
|
||||
If you like to know more about eventsourcing/eventstore and how this works in ZITADEL, head over to our [concepts](/concepts/eventstore/overview).
|
||||
## Request Events
|
||||
@@ -119,8 +119,8 @@ curl --request POST \
|
||||
### OIDC session
|
||||
|
||||
The following example shows you how you could use the events search to get all events where a user has authenticated using OIDC.
|
||||
Also we include the refresh tokens in this example to know when the user has received a new token.
|
||||
Sessions without tokens events may by created during implicit flow with ID Token only, which do not create an access token.
|
||||
Also, we include the refresh tokens in this example to know when the user has received a new token.
|
||||
Sessions without tokens events may by created during implicit flow with ID Token only, which does not create an access token.
|
||||
|
||||
```bash
|
||||
curl --request POST \
|
||||
@@ -170,9 +170,9 @@ The following example shows you how you could use the events search to find out
|
||||
You have to include all the event types that tell you that a login attempt has failed.
|
||||
In this case these are the following events:
|
||||
- Password verification failed
|
||||
- OTP check failed (Authenticator Apps like Authy, Google Authenticator, etc)
|
||||
- Universal Second Factor (U2F) check failed (FaceID, WindowsHello, FingerPrint, etc)
|
||||
- Passkey check failed (FaceID, WindowsHello, FingerPrint, etc)
|
||||
- OTP check failed (Authenticator Apps like Authy, Google Authenticator, etc.)
|
||||
- Universal Second Factor (U2F) check failed (FaceID, WindowsHello, FingerPrint, etc.)
|
||||
- Passkey check failed (FaceID, WindowsHello, FingerPrint, etc.)
|
||||
|
||||
```bash
|
||||
curl --request POST \
|
||||
|
||||
Reference in New Issue
Block a user