Skip to content

Unable to login wth robot user on CLI #589

@rnikoopour

Description

@rnikoopour

Hello,

I am unable to login to harbor-cli with a robot user when harbor is configured with OIDC.

I've tried

harbor-cli login <my-domain> \
--username '<robot-username>'  \
--password '<password>'

# and

harbor-cli login <my-domain> \
--username 'robot$<robot-username>'  \
--password '<password>'

Neither works.

What is the correct way to have a robot user use habor-cli with this configuration?

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions