Artifactory: Installation & Configuration
The Pulumi Artifactory provider uses the Artifactory SDK to manage and provision resources.
The Artifactory provider is available as a package in all Pulumi languages:
Pulumi relies on the Artifactory SDK to authenticate requests from your computer to Artifactory. Your credentials are never sent to pulumi.com. The Pulumi Artifactory Provider needs to be configured with Artifactory credentials before it can be used to create resources.
Once the credentials are obtained, there are two ways to communicate your authorization tokens to Pulumi:
Set the environment variables
$ export ARTIFACTORY_URL=XXXXXXXXXXXXXX $ export ARTIFACTORY_ACCESS_TOKEN=YYYYYYYYYYYYYY
Set them using configuration, if you prefer that they be stored alongside your Pulumi stack for easy multi-user access:
$ pulumi config set artifactory:url XXXXXXXXXXXXXX $ pulumi config set artifactory:accessToken YYYYYYYYYYYYYY --secret
Remember to pass
--secret when setting
artifactory:accessToken so that it is properly encrypted. The complete list of
configuration parameters is in the Artifactory provider README.