Skip to content

Implement Robot Accounts in CLI #100

@bupd

Description

@bupd

Objective:

  • Implement robot account management in CLI which helps to run automated operations.
  • Add commands to manage both system and project robot accounts.
  • Manage permissions for the robot account as detailed here.
  • Implement legacy robot accounts, which are labeled as Legacy in Harbor v2.2 and later, with plans for future removal.

Robot accounts created before Harbor v2.2 are considered legacy robot accounts and will appear with a Legacy label in the Harbor v2.2 and later interface. It will be removed in a future version of Harbor. (link)

Tasks

Add CLI Commands for Robot Account Management:

  • Create: Add a new robot account.
  • Update: Modify an existing robot account.
  • Delete: Remove a robot account.
  • View: Display details of robot accounts.
  • Refresh: Refresh the robot secret.

Ensure no sensitive information is leaked during managing robot secrets.

Rationale

Implementing secure and efficient robot account management in the CLI is crucial for enabling automated operations and replication, enhancing overall project security and functionality.

#94

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    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