Skip to main content

Harbor integration

Create a Robot Account in Harbor

Step 1: Go to your Harbor Server and select Administration > Robot Accounts.

Step 2: Click New Robot Account.

anhfsec

Step 3: Fill in Name, Description, and Expiration time, then click to proceed.

anhfsec

Step 4: Select the required system permissions.

anhfsec

Step 5: Select the projects the Robot Account needs access to and assign Permissions. Ensure the Robot Account has List, Read Artifacts and List, Pull, Read Repository permissions.

anhfsec

anhfsec

Step 6: After filling in all information, click Finish.

anhfsec

Step 7: After the Robot Account is created, copy the Robot Account name and secret for use in the FPT Portal integration screen.

anhfsec

Integrate Harbor

Only Org Admin and Team Manager have permission.

See permission details.

Step 1: After selecting an org/team, click Harbor to go to the integration screen.

anhfsec

Step 2: Enter the Container Registry Name (Harbor server URL), Robot Account Name, and Robot Account Secret.

Alt text

Step 3: After filling in all fields, click Test Connection. If valid, the system shows Connected successfully and enables the Integrate button.

Alt text

Step 4: After a successful connection test, click Integrate.

Alt text

View Harbor integration details

Only Org Admin and Team Manager can view integration details.

After selecting your org/team, click Configured Harbor to view details.

anhfsec

Here you can view the integration status, the Integrated VPCs list with VPC, Robot Account Name, Container Registry Name, and Access Key for CI/CD integration.

anhfsec

You can Reintegrate or Disable the Harbor integration.

Reintegrate Harbor

Step 1: Go to the Harbor integration detail screen. Click the Edit icon next to Account Credentials.

anhfsec

Step 2: Follow the same steps as Integrate Harbor.

Disable Harbor integration

See GitHub integration guide.

Access key for CI/CD pipeline

In the detail screen, beyond General Information, you will find the access key to use in CI/CD pipelines.

You can copy or reset the access key for CI/CD pipeline integration.