onelogin: Installation & Configuration

Installation

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

Configuring Credentials

The Pulumi OneLogin Provider needs to be configured with OneLogin credentials before it can be used to create resources.

You’ll need admin access to a OneLogin account where you can create API credentials. Create a set of API credentials with manage all permission. The following environment variables used to configure the OneLogin provider:

  • onelogin:clientId - your client id. It can also be sourced from the environment variable ONELOGIN_CLIENT_ID.
  • onelogin:clientSecret - your client secret. It can also be sourced from the environment variable ONELOGIN_CLIENT_SECRET.
  • onelogin:region - the region.
  • onelogin:url - the api url for your region. It can also be sourced from the environment variable ONELOGIN_OAPI_URL.

Remember to pass --secret when setting onelogin:clientSecret so that it is properly encrypted. The complete list of configuration parameters is in the OneLogin provider README.