Skip to main content

Integrate with Harbor

Support level: Community

What is Harbor

Harbor is an open source container image registry that secures images with role-based access control, scans images for vulnerabilities, and signs images as trusted. A CNCF Graduated project, Harbor delivers compliance, performance, and interoperability to help you consistently and securely manage images across cloud native compute platforms like Kubernetes and Docker.

-- https://goharbor.io

Preparation

The following placeholders are used in this guide:

  • harbor.company is the FQDN of the Harbor installation.
  • authentik.company is the FQDN of the authentik installation.
note

This documentation lists only the settings that you need to change from their default values. Be aware that any changes other than those explicitly mentioned in this guide could cause issues accessing your application.

Create an OAuth2/OpenID provider with the following parameters:

  • Client Type: Confidential
  • Redirect URIs: https://harbor.company/c/oidc/callback
  • Scopes: OpenID, Email and Profile
  • Signing Key: Select any available key

Note the Client ID and Client Secret values. Create an application, using the provider you've created above.

Harbor