fix(defaults): comment default SystemAPIUsers (#9813)

# Which Problems Are Solved

If I start a fresh instance and do not overwrite `SystemAPIUsers` I get
an error during startup `error="decoding failed due to the following
error(s):\n\n'SystemAPIUsers[0][path]' expected a map, got
'string'\n'SystemAPIUsers[0][memberships]' expected a map, got 'slice'"`

# How the Problems Are Solved

the configuration is commented so that the example is still there

# Additional Changes

-

# Additional Context

was added in https://github.com/zitadel/zitadel/pull/9757
This commit is contained in:
Silvan
2025-04-29 11:12:43 +02:00
committed by GitHub
parent 205beb607b
commit ed4e226da9

View File

@@ -607,14 +607,14 @@ EncryptionKeys:
UserAgentCookieKeyID: "userAgentCookieKey" # ZITADEL_ENCRYPTIONKEYS_USERAGENTCOOKIEKEYID UserAgentCookieKeyID: "userAgentCookieKey" # ZITADEL_ENCRYPTIONKEYS_USERAGENTCOOKIEKEYID
SystemAPIUsers: SystemAPIUsers:
- superuser: # - superuser:
Path: /path/to/superuser/key.pem # Path: /path/to/superuser/key.pem
Memberships: # Memberships:
- MemberType: Organization # - MemberType: Organization
Roles: "ORG_OWNER" # Roles: "ORG_OWNER"
AggregateID: "123456789012345678" # AggregateID: "123456789012345678"
- MemberType: Project # - MemberType: Project
Roles: "PROJECT_OWNER" # Roles: "PROJECT_OWNER"
# # Add keys for authentication of the systemAPI here: # # Add keys for authentication of the systemAPI here: