chore: rename IAM to instance (#11351)

# Which Problems Are Solved

In many cases IAM was used where instance was meant. 

# How the Problems Are Solved

- Rename wrong usage of IAM to instance all over the code base.
- Add an agents.md which explains the terms used in Zitadel's
architecture.

# Additional Context

- closes #11280

---------

Co-authored-by: Copilot <[email protected]>
Co-authored-by: muhlemmer <[email protected]>
Co-authored-by: Copilot <[email protected]>
Co-authored-by: Marco A. <[email protected]>
This commit is contained in:
Tim Möhlmann
2026-02-10 20:25:39 +01:00
committed by GitHub
co-authored by Copilot muhlemmer Copilot Marco A.
parent 67a02a6aeb
commit 5a2181bcec
110 changed files with 392 additions and 478 deletions
+9 -9
View File
@@ -4040,18 +4040,18 @@ service AdminService {
option (grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation) = {
tags: "Members";
tags: "ZITADEL Administrators";
summary: "List IAM Member Roles";
summary: "List instance Member Roles";
description: "Members are users with permission to administrate Zitadel on different levels. This request returns all roles possible for a Zitadel member on the instance level."
responses: {
key: "200";
value: {
description: "roles on the IAM of the user";
description: "roles on the instance of the user";
};
};
};
}
// List IAM Members
// List instance Members
//
// Deprecated: use [ListAdministrators](apis/resources/internal_permission_service_v2/zitadel-internal-permission-v-2-internal-permission-service-list-administrators.api.mdx) instead.
//
@@ -4073,13 +4073,13 @@ service AdminService {
responses: {
key: "200";
value: {
description: "members of the IAM";
description: "members of the instance";
};
};
};
}
// Add IAM Member
// Add instance Member
//
// Deprecated: use [CreateAdministrator](apis/resources/internal_permission_service_v2/zitadel-internal-permission-v-2-internal-permission-service-create-administrator.api.mdx) instead.
//
@@ -4101,7 +4101,7 @@ service AdminService {
responses: {
key: "200";
value: {
description: "Member added to the IAM";
description: "Member added to the instance";
};
};
responses: {
@@ -4118,7 +4118,7 @@ service AdminService {
};
}
// Update IAM Member
// Update instance Member
//
// Deprecated: use [UpdateAdministrator](apis/resources/internal_permission_service_v2/zitadel-internal-permission-v-2-internal-permission-service-update-administrator.api.mdx) instead.
//
@@ -4140,7 +4140,7 @@ service AdminService {
responses: {
key: "200";
value: {
description: "Member of the IAM updated";
description: "Member of the instance updated";
};
};
responses: {
@@ -4178,7 +4178,7 @@ service AdminService {
responses: {
key: "200";
value: {
description: "Member of the IAM removed";
description: "Member of the instance removed";
};
};
responses: {
+2 -2
View File
@@ -32,7 +32,7 @@ option (grpc.gateway.protoc_gen_openapiv2.options.openapiv2_swagger) = {
info: {
title: "Management API";
version: "1.0";
description: "The management API is as the name states the interface where systems can mutate IAM objects like organizations, projects, applications, users and so on if they have the necessary access rights.";
description: "The management API is as the name states the interface where systems can mutate instance objects like organizations, projects, applications, users and so on if they have the necessary access rights.";
contact:{
name: "ZITADEL"
url: "https://zitadel.com"
@@ -4778,7 +4778,7 @@ service ManagementService {
tags: "Settings";
tags: "Domain Settings";
summary: "Get Domain Policy";
description: "Returns the domain policy (this policy is managed by the IAM administrator)";
description: "Returns the domain policy (this policy is managed by the instance administrator)";
parameters: {
headers: {
name: "x-zitadel-orgid";
+5 -5
View File
@@ -77,7 +77,7 @@ message Machine {
];
string description = 2 [
(grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = {
example: "\"The one and only IAM\"";
example: "\"The one and only instance\"";
}
];
bool has_secret = 3 [
@@ -504,22 +504,22 @@ message Membership {
oneof type {
bool iam = 5 [
(grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = {
description: "one of type use iam, org id, project id or project grant id"
description: "one of type use instance, org id, project id or project grant id"
}
];
string org_id = 6 [
(grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = {
description: "one of type use iam, org id, project id or project grant id"
description: "one of type use instance, org id, project id or project grant id"
}
];
string project_id = 7 [
(grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = {
description: "one of type use iam, org id, project id or project grant id"
description: "one of type use instance, org id, project id or project grant id"
}
];
string project_grant_id = 8 [
(grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = {
description: "one of type use iam, org id, project id or project grant id"
description: "one of type use instance, org id, project id or project grant id"
}
];
}
+1 -1
View File
@@ -232,7 +232,7 @@ message MachineUser {
];
string description = 2 [
(grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = {
example: "\"The one and only IAM\"";
example: "\"The one and only instance\"";
}
];
bool has_secret = 3 [
+1 -1
View File
@@ -230,7 +230,7 @@ message MachineUser {
];
string description = 2 [
(grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = {
example: "\"The one and only IAM\"";
example: "\"The one and only instance\"";
}
];
bool has_secret = 3 [