1. Packages
  2. Okta
  3. Installation & Configuration
Okta v4.8.0 published on Saturday, Mar 2, 2024 by Pulumi

Okta: Installation & Configuration

okta logo
Okta v4.8.0 published on Saturday, Mar 2, 2024 by Pulumi

    The Pulumi Okta provider uses the Okta SDK to manage resources.

    Installation

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

    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:

    1. Set the environment variables OKTA_ORG_NAME, OKTA_BASE_URL and OKTA_API_TOKEN:

      $ export OKTA_ORG_NAME=XXXXXX
      $ export OKTA_BASE_URL=YYYYYY
      $ export OKTA_API_TOKEN=ZZZZZZ
      
    2. 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.

    okta logo
    Okta v4.8.0 published on Saturday, Mar 2, 2024 by Pulumi