zpa logo
Zscaler Private Access v0.0.4, Jan 30 23

Zscaler Private Access (ZPA): Installation & Configuration

Installation

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

Provider Binary

The ZPA provider binary is a third party binary. It can be installed using the pulumi plugin command.

pulumi plugin install resource zpa <version> --server github://api.github.com/zscaler

Replace the version string with your desired version.

Setup

To provision resources with the Pulumi ZPA provider, you need to have ZPA credentials. Zscaler maintains documentation on how to create API keys here

Set environment variables

Once you have provisioned these credentials, you can set environment variables to provision resources in ZPA:

$ export ZPA_CLIENT_ID=<ZPA_CLIENT_ID>
$ export ZPA_CLIENT_SECRET=<ZPA_CLIENT_SECRET>
$ export ZPA_CUSTOMER_ID=<ZPA_CUSTOMER_ID>
$ export ZPA_CLIENT_ID=<ZPA_CLIENT_ID>
$ export ZPA_CLIENT_SECRET=<ZPA_CLIENT_SECRET>
$ export ZPA_CUSTOMER_ID=<ZPA_CUSTOMER_ID>
> $env:ZPA_CLIENT_ID = "<ZPA_CLIENT_ID>"
> $env:ZPA_CLIENT_SECRET = "<ZPA_CLIENT_SECRET>"
> $env:ZPA_CUSTOMER_ID = "<ZPA_CUSTOMER_ID>"

Configuration Options

Use pulumi config set zpa:<option> or pass options to the constructor of new zpa.Provider.

OptionRequired/OptionalDescription
zpa_client_idRequiredZPA Client ID
zpa_client_secretRequiredZPA Client Secret
zpa_customer_idRequiredZPA Customer ID
zpa_cloudOptionalZPA Cloud Name