onelogin v0.6.6 published on Friday, Sep 20, 2024 by Pulumi
onelogin: Installation & Configuration
Installation
The OneLogin provider is available as a package in all Pulumi languages:
- JavaScript/TypeScript:
@pulumi/onelogin - Python:
pulumi-onelogin - Go:
github.com/pulumi/pulumi-onelogin/sdk/go/onelogin - .NET:
Pulumi.Onelogin - Java:
com.pulumi/onelogin
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 variableONELOGIN_CLIENT_ID.onelogin:clientSecret- your client secret. It can also be sourced from the environment variableONELOGIN_CLIENT_SECRET.onelogin:region- the region.onelogin:url- the api url for your region. It can also be sourced from the environment variableONELOGIN_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.