Harbor: Robot account password

Created on 16 Apr 2019  ·  2Comments  ·  Source: goharbor/harbor

The documentation mentions a password (Thepasswordgeneratedbyprojectadmin ) at https://github.com/goharbor/harbor/blob/master/docs/user_guide.md#authenticate-with-a-robot-account but it's not possible to generate any password.

This raises some questions:
1) It's not possible to create a password?
2) This feature is not implemented yet?
3) "The password" is actually the Account token? (I guess not, as it can't be used for docker login)

kinquestion

Most helpful comment

@wy65701436 - Thanks for the information.

I suggest that you only use the phrase "password" or "token" in the user guide.

I've realised that it's not possible to use robot accounts when using LDAP as authentication source - I'd thought that failed LDAP authentication could/would fallback to local authentication when failed (or simply that local authentication would be used when the username was in the format of robot$username). Instead, harbor makes an LDAP search for user 'robot'.

All 2 comments

@dnmgns, it's actually using the token to docker login, named password in the user guide. The feature has already done and merged into the master branch, it will be introduced in the coming release.

@wy65701436 - Thanks for the information.

I suggest that you only use the phrase "password" or "token" in the user guide.

I've realised that it's not possible to use robot accounts when using LDAP as authentication source - I'd thought that failed LDAP authentication could/would fallback to local authentication when failed (or simply that local authentication would be used when the username was in the format of robot$username). Instead, harbor makes an LDAP search for user 'robot'.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

levchik picture levchik  ·  4Comments

Poil picture Poil  ·  3Comments

protochron picture protochron  ·  3Comments

izhichao picture izhichao  ·  3Comments

pingcrosby picture pingcrosby  ·  3Comments