Okta Setup
The Pulumi Okta provider uses the Okta SDK to manage resources.
Pulumi relies on the Okta SDK to authenticate requests from your computer to Okta. Your credentials are never sent to pulumi.com.
Configuring The Provider
Once obtained, there are two ways to communicate your configuration tokens to Pulumi:
Set the environment variables
OKTA_ORG_NAME,OKTA_BASE_URLandOKTA_API_TOKEN:$ export OKTA_ORG_NAME=XXXXXX $ export OKTA_BASE_URL=YYYYYY $ export OKTA_API_TOKEN=ZZZZZZSet them using configuration, if you prefer that they be stored alongside your Pulumi stack for easy multi-user access:
$ pulumi config set okta:orgName XXXXXX $ pulumi config set okta:baseUrl YYYYYY $ pulumi config set --secret okta:apiToken ZZZZZZ
Remember to pass --secret when setting apiToken so that it is properly encrypted.