Okta v4.11.3 published on Monday, Oct 21, 2024 by Pulumi
Okta Provider: Installation & Configuration
The Pulumi Okta provider uses the Okta SDK to manage resources.
Installation
The Okta provider is available as a package in all Pulumi languages:
- JavaScript/TypeScript:
@pulumi/okta
- Python:
pulumi-okta
- Go:
github.com/pulumi/pulumi-okta/sdk/v3/go/okta
- .NET:
Pulumi.Okta
- Java:
com.pulumi/okta
Configuring The Provider
Pulumi relies on the Okta SDK to authenticate requests from your computer to Okta. Your credentials are never sent to pulumi.com.
Once the credentials are obtained, there are two ways to communicate your configuration tokens to Pulumi:
Set the environment variables
OKTA_ORG_NAME
,OKTA_BASE_URL
andOKTA_API_TOKEN
:$ export OKTA_ORG_NAME=XXXXXX $ export OKTA_BASE_URL=YYYYYY $ export OKTA_API_TOKEN=ZZZZZZ
Set 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.