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

Robot Account and LDAP integration #20898

Open
sckaftan opened this issue Sep 4, 2024 · 2 comments
Open

Robot Account and LDAP integration #20898

sckaftan opened this issue Sep 4, 2024 · 2 comments
Assignees
Labels
area/robot-account icebox kind/requirement New feature or idea on top of harbor

Comments

@sckaftan
Copy link

sckaftan commented Sep 4, 2024

Due to the detailed authorization of the robot accounts, we want to use the robot accounts to execute automated activities. For whatever reason, each account must be recorded internally in a database, and the robot accounts should be recorded in the database in the same way.

Since this can be quite time-consuming and complex, I wanted to ask whether it is possible to create the robot account via LDAP, similar to the “normal” users, but with all the advantages and disadvantages of a robot account.

Given that Robot Account in Harbor starts with a prefix, I would like to know if LDAP users with the same prefix are treated as Robot Account similiar. And if not whether this is planned for a future feature

@wy65701436
Copy link
Contributor

hi @sckaftan can you share more on request of creating the robot account via LDAP?

@wy65701436 wy65701436 self-assigned this Sep 6, 2024
@wy65701436 wy65701436 added area/robot-account kind/requirement New feature or idea on top of harbor Won't Fix The cost of fixing this is not justified. icebox and removed Won't Fix The cost of fixing this is not justified. labels Sep 6, 2024
@holgrrr
Copy link

holgrrr commented Sep 11, 2024

Maybe I can chime in for @sckaftan:
Having the robot users in LDAP/AD would be beneficial for
a) documentation purposes - some sites need to have each and every user documented in their user DB, even local service users
b) possibility to reuse such users on different systems

Scenario: you have a hierarchical registry setup with many Harbor installations and would like to use a specific user for synchronisation in all of them. Is there a more elegant way for this than manually creating this user in each Harbor instance? My naive thought here was to do this via a user from the LDAP.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/robot-account icebox kind/requirement New feature or idea on top of harbor
Projects
None yet
Development

No branches or pull requests

3 participants