Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Document service user creation steps #105

Open
tlater-famedly opened this issue Jan 20, 2025 · 1 comment
Open

Document service user creation steps #105

tlater-famedly opened this issue Jan 20, 2025 · 1 comment
Labels
documentation Improvements or additions to documentation

Comments

@tlater-famedly
Copy link
Contributor

tlater-famedly commented Jan 20, 2025

This is pretty non-trivial, as there are specific roles that need to be assigned, and the scope should be limited to prevent potentially destructive operations from going beyond where they should (see #103). Currently we just test with a service user with way too many powers, so we've never considered this flow before (tests are ideally also added for any documentation we write).

Steps from @chrismafam:

Sure: To create the service user file, go to the organisation in zitadel in which you want to sync into. Go to "Users" and then to the "Service User" Tab. Create your user. To download the service-user file, you have to go to the tab "Keys" and create a new key, which you can then download. To make sure that the service user is authorized to manage users, move back to the "Organsation" Tab and (on the very top right) add a "Manager" to the organisation. Now give the Service User at least "Org User Manager" rights.

We should put this somewhere, and add some screenshots to help guide users/infra.

We could also write a script for this, but that is probably overkill.

@chrismafam
Copy link

Here are screenshots for the steps explained above:

Image

Image

Image

Image

@tlater-famedly tlater-famedly added the documentation Improvements or additions to documentation label Jan 22, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation
Projects
None yet
Development

No branches or pull requests

2 participants