Skip to content

pulumi/pulumi-artifactory

Actions Status Slack NPM version Python version NuGet version PkgGoDev License

Artifactory Resource Provider

The Artifactory Resource Provider lets you manage Artifactory resources.

Installing

This package is available in many languages in the standard packaging formats.

Node.js (Java/TypeScript)

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

$ npm install @pulumi/artifactory

or yarn:

$ yarn add @pulumi/artifactory

Python

To use from Python, install using pip:

$ pip install pulumi_artifactory

Go

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

$ go get github.com/pulumi/pulumi-artifactory/sdk/v8

.NET

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

$ dotnet add package Pulumi.Artifactory

Configuration

The following configuration points are available:

  • artifactory:url - (Required) URL of Artifactory. This can also be sourced from the ARTIFACTORY_URL environment variable.
  • artifactory:username - (Optional) Username for basic auth. Requires password to be set. Conflicts with apiKey, and accessToken. This can also be sourced from the ARTIFACTORY_USERNAME environment variable.
  • artifactory:password - (Optional) Password for basic auth. Requires username to be set. Conflicts with apiKey, and accessToken. This can also be sourced from the ARTIFACTORY_PASSWORD environment variable.
  • artifactory:apiKey - (Optional) API key for api auth. Uses X-JFrog-Art-Api header. Conflicts with username, password, and accessToken. This can also be sourced from the ARTIFACTORY_API_KEY environment variable.
  • artifactory:accessToken - (Optional) API key for token auth. Uses Authorization: Bearer header. For xray functionality, this is the only auth method accepted. Conflicts with username and password, and apiKey. This can also be sourced from the ARTIFACTORY_ACCESS_TOKEN environment variable.

Reference

For further information, please visit the Artifactory provider docs or for detailed reference documentation, please visit the API docs.