Harbor: Installation & Configuration


The Pulumi Harbor provider is available as a package in all Pulumi languages:


This package is available for several languages/platforms:

Node.js (JavaScript/TypeScript)

To use from JavaScript or TypeScript in Node.js, install using either npm:

npm install @pulumiverse/harbor

or yarn:

yarn add @pulumiverse/harbor


To use from Python, install using pip:

pip install pulumiverse-harbor


To use from Go, use go get to grab the latest version of the library:

go get github.com/pulumiverse/pulumi-harbor/sdk/v3


To use from .NET, install using dotnet add package:

dotnet add package Pulumiverse.Harbor


The following configuration points are available for the harbor provider:

  • harbor:url - (Required) The url of the harbor.
  • harbor:username - (Required) The username to be used to access harbor.
  • harbor:password - (Required) The password to be used to access harbor.
  • harbor:insecure - (Optional) Choose to ignore certificate errors
  • harbor:apiVersion - (Optional) Choose which version of the api you would like to use 1 or 2. Default is 2.