onelogin logo
onelogin v0.6.0, Apr 25 23

onelogin

The onelogin provider for Pulumi can be used to provision any of the cloud resources available in onelogin. The onelogin provider must be configured with credentials to deploy and update resources in onelogin.

Example

const onelogin = require("@pulumi/onelogin")

const user = new onelogin.User("user", {
    email: "user@mycompany.com",
    username: "myusername"
});
import * as onelogin from "@pulumi/onelogin";

const user = new onelogin.User("user", {
    email: "user@mycompany.com",
    username: "myusername"
});
import pulumi_onelogin as onelogin

zone = onelogin.User("user",
  email="user@mycompany.com",
  user="myusername"
)
import (
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
	onelogin "github.com/pulumi/pulumi-onelogin/sdk/go/onelogin"
)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		user, err := onelogin.NewUser(ctx, "user", &onelogin.UserArgs{
			Email: pulumi.String("user@mycompany.com"),
			Username: pulumi.String("myusername")
		})
		if err != nil {
			return err
		}

		return nil
	})
}
using System.Collections.Generic;
using System.Threading.Tasks;
using Pulumi;
using Pulumi.Onelogin;

class Program
{
    static Task Main() =>
        Deployment.Run(() => {
            var user = new User("user", new UserArgs
            {
                Email = "user@mycompany.com",
                Username = "myusername"
            });
        });
}