App

Creates a Basic Application.

This resource allows you to create and configure a Basic (non-SAML non-OIDC) Application.

Example Usage

using Pulumi;
using Onelogin = Pulumi.Onelogin;

class MyStack : Stack
{
    public MyStack()
    {
        var myApp = new Onelogin.App("myApp", new Onelogin.AppArgs
        {
            AllowAssumedSignin = false,
            ConnectorId = 12345,
            Description = "basic app",
            Notes = "basic app",
            Parameters = 
            {
                new Onelogin.Inputs.AppParameterArgs
                {
                    AttributesTransformations = "",
                    DefaultValues = "",
                    IncludeInSamlAssertion = false,
                    Label = "username",
                    ParamKeyName = "user name",
                    ProvisionedEntitlements = false,
                    SafeEntitlementsEnabled = false,
                    SkipIfBlank = false,
                    UserAttributeMacros = "",
                    UserAttributeMappings = "",
                    Values = "",
                },
            },
            Provisioning = 
            {
                { "enabled", false },
            },
            Visible = true,
        });
    }

}
package main

import (
	"github.com/pulumi/pulumi-onelogin/sdk/go/onelogin"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := onelogin.NewApp(ctx, "myApp", &onelogin.AppArgs{
			AllowAssumedSignin: pulumi.Bool(false),
			ConnectorId:        pulumi.Int(12345),
			Description:        pulumi.String("basic app"),
			Notes:              pulumi.String("basic app"),
			Parameters: AppParameterArray{
				&AppParameterArgs{
					AttributesTransformations: pulumi.String(""),
					DefaultValues:             pulumi.String(""),
					IncludeInSamlAssertion:    pulumi.Bool(false),
					Label:                     pulumi.String("username"),
					ParamKeyName:              pulumi.String("user name"),
					ProvisionedEntitlements:   pulumi.Bool(false),
					SafeEntitlementsEnabled:   pulumi.Bool(false),
					SkipIfBlank:               pulumi.Bool(false),
					UserAttributeMacros:       pulumi.String(""),
					UserAttributeMappings:     pulumi.String(""),
					Values:                    pulumi.String(""),
				},
			},
			Provisioning: pulumi.BoolMap{
				"enabled": pulumi.Bool(false),
			},
			Visible: pulumi.Bool(true),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

Coming soon!

import pulumi
import pulumi_onelogin as onelogin

my_app = onelogin.App("myApp",
    allow_assumed_signin=False,
    connector_id=12345,
    description="basic app",
    notes="basic app",
    parameters=[onelogin.AppParameterArgs(
        attributes_transformations="",
        default_values="",
        include_in_saml_assertion=False,
        label="username",
        param_key_name="user name",
        provisioned_entitlements=False,
        safe_entitlements_enabled=False,
        skip_if_blank=False,
        user_attribute_macros="",
        user_attribute_mappings="",
        values="",
    )],
    provisioning={
        "enabled": False,
    },
    visible=True)
import * as pulumi from "@pulumi/pulumi";
import * as onelogin from "@pulumi/onelogin";

const myApp = new onelogin.App("my_app", {
    allowAssumedSignin: false,
    connectorId: 12345,
    description: "basic app",
    notes: "basic app",
    parameters: [{
        attributesTransformations: "",
        defaultValues: "",
        includeInSamlAssertion: false,
        label: "username",
        paramKeyName: "user name",
        provisionedEntitlements: false,
        safeEntitlementsEnabled: false,
        skipIfBlank: false,
        userAttributeMacros: "",
        userAttributeMappings: "",
        values: "",
    }],
    provisioning: {
        enabled: false,
    },
    visible: true,
});

Coming soon!

Create App Resource

new App(name: string, args: AppArgs, opts?: CustomResourceOptions);
@overload
def App(resource_name: str,
        opts: Optional[ResourceOptions] = None,
        allow_assumed_signin: Optional[bool] = None,
        brand_id: Optional[int] = None,
        connector_id: Optional[int] = None,
        description: Optional[str] = None,
        name: Optional[str] = None,
        notes: Optional[str] = None,
        parameters: Optional[Sequence[AppParameterArgs]] = None,
        provisioning: Optional[Mapping[str, bool]] = None,
        visible: Optional[bool] = None)
@overload
def App(resource_name: str,
        args: AppArgs,
        opts: Optional[ResourceOptions] = None)
func NewApp(ctx *Context, name string, args AppArgs, opts ...ResourceOption) (*App, error)
public App(string name, AppArgs args, CustomResourceOptions? opts = null)
public App(String name, AppArgs args)
public App(String name, AppArgs args, CustomResourceOptions options)
type: onelogin:App
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.

name string
The unique name of the resource.
args AppArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
resource_name str
The unique name of the resource.
args AppArgs
The arguments to resource properties.
opts ResourceOptions
Bag of options to control resource's behavior.
ctx Context
Context object for the current deployment.
name string
The unique name of the resource.
args AppArgs
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name string
The unique name of the resource.
args AppArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
name String
The unique name of the resource.
args AppArgs
The arguments to resource properties.
options CustomResourceOptions
Bag of options to control resource's behavior.

App Resource Properties

To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

Inputs

The App resource accepts the following input properties:

ConnectorId int

The ID for the app connector, dictates the type of app (e.g. AWS Multi-Role App).

AllowAssumedSignin bool

Enable sign in when user has been assumed by the account owner. Defaults to false.

BrandId int
Description string

App description.

Name string

The app's name.

Notes string

Notes about the app.

Parameters List<AppParameterArgs>

a list of custom parameters for this app.

Provisioning Dictionary<string, bool>

Settings regarding the app's provisioning ability.

Visible bool

Determine if app should be visible in OneLogin portal. Defaults to true.

ConnectorId int

The ID for the app connector, dictates the type of app (e.g. AWS Multi-Role App).

AllowAssumedSignin bool

Enable sign in when user has been assumed by the account owner. Defaults to false.

BrandId int
Description string

App description.

Name string

The app's name.

Notes string

Notes about the app.

Parameters []AppParameterArgs

a list of custom parameters for this app.

Provisioning map[string]bool

Settings regarding the app's provisioning ability.

Visible bool

Determine if app should be visible in OneLogin portal. Defaults to true.

connectorId Integer

The ID for the app connector, dictates the type of app (e.g. AWS Multi-Role App).

allowAssumedSignin Boolean

Enable sign in when user has been assumed by the account owner. Defaults to false.

brandId Integer
description String

App description.

name String

The app's name.

notes String

Notes about the app.

parameters List<AppParameterArgs>

a list of custom parameters for this app.

provisioning Map<String,Boolean>

Settings regarding the app's provisioning ability.

visible Boolean

Determine if app should be visible in OneLogin portal. Defaults to true.

connectorId number

The ID for the app connector, dictates the type of app (e.g. AWS Multi-Role App).

allowAssumedSignin boolean

Enable sign in when user has been assumed by the account owner. Defaults to false.

brandId number
description string

App description.

name string

The app's name.

notes string

Notes about the app.

parameters AppParameterArgs[]

a list of custom parameters for this app.

provisioning {[key: string]: boolean}

Settings regarding the app's provisioning ability.

visible boolean

Determine if app should be visible in OneLogin portal. Defaults to true.

connector_id int

The ID for the app connector, dictates the type of app (e.g. AWS Multi-Role App).

allow_assumed_signin bool

Enable sign in when user has been assumed by the account owner. Defaults to false.

brand_id int
description str

App description.

name str

The app's name.

notes str

Notes about the app.

parameters Sequence[AppParameterArgs]

a list of custom parameters for this app.

provisioning Mapping[str, bool]

Settings regarding the app's provisioning ability.

visible bool

Determine if app should be visible in OneLogin portal. Defaults to true.

connectorId Number

The ID for the app connector, dictates the type of app (e.g. AWS Multi-Role App).

allowAssumedSignin Boolean

Enable sign in when user has been assumed by the account owner. Defaults to false.

brandId Number
description String

App description.

name String

The app's name.

notes String

Notes about the app.

parameters List<Property Map>

a list of custom parameters for this app.

provisioning Map<Boolean>

Settings regarding the app's provisioning ability.

visible Boolean

Determine if app should be visible in OneLogin portal. Defaults to true.

Outputs

All input properties are implicitly available as output properties. Additionally, the App resource produces the following output properties:

AuthMethod int

The apps auth method. Refer to the OneLogin Apps Documentation for a comprehensive list of available auth methods.

CreatedAt string

Timestamp for app's creation.

IconUrl string

The url for the app's icon.

Id string

The provider-assigned unique ID for this managed resource.

PolicyId int

The security policy assigned to the app.

TabId int

The tab in which to display in OneLogin portal.

UpdatedAt string

Timestamp for app's last update.

AuthMethod int

The apps auth method. Refer to the OneLogin Apps Documentation for a comprehensive list of available auth methods.

CreatedAt string

Timestamp for app's creation.

IconUrl string

The url for the app's icon.

Id string

The provider-assigned unique ID for this managed resource.

PolicyId int

The security policy assigned to the app.

TabId int

The tab in which to display in OneLogin portal.

UpdatedAt string

Timestamp for app's last update.

authMethod Integer

The apps auth method. Refer to the OneLogin Apps Documentation for a comprehensive list of available auth methods.

createdAt String

Timestamp for app's creation.

iconUrl String

The url for the app's icon.

id String

The provider-assigned unique ID for this managed resource.

policyId Integer

The security policy assigned to the app.

tabId Integer

The tab in which to display in OneLogin portal.

updatedAt String

Timestamp for app's last update.

authMethod number

The apps auth method. Refer to the OneLogin Apps Documentation for a comprehensive list of available auth methods.

createdAt string

Timestamp for app's creation.

iconUrl string

The url for the app's icon.

id string

The provider-assigned unique ID for this managed resource.

policyId number

The security policy assigned to the app.

tabId number

The tab in which to display in OneLogin portal.

updatedAt string

Timestamp for app's last update.

auth_method int

The apps auth method. Refer to the OneLogin Apps Documentation for a comprehensive list of available auth methods.

created_at str

Timestamp for app's creation.

icon_url str

The url for the app's icon.

id str

The provider-assigned unique ID for this managed resource.

policy_id int

The security policy assigned to the app.

tab_id int

The tab in which to display in OneLogin portal.

updated_at str

Timestamp for app's last update.

authMethod Number

The apps auth method. Refer to the OneLogin Apps Documentation for a comprehensive list of available auth methods.

createdAt String

Timestamp for app's creation.

iconUrl String

The url for the app's icon.

id String

The provider-assigned unique ID for this managed resource.

policyId Number

The security policy assigned to the app.

tabId Number

The tab in which to display in OneLogin portal.

updatedAt String

Timestamp for app's last update.

Look up Existing App Resource

Get an existing App resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

public static get(name: string, id: Input<ID>, state?: AppState, opts?: CustomResourceOptions): App
@staticmethod
def get(resource_name: str,
        id: str,
        opts: Optional[ResourceOptions] = None,
        allow_assumed_signin: Optional[bool] = None,
        auth_method: Optional[int] = None,
        brand_id: Optional[int] = None,
        connector_id: Optional[int] = None,
        created_at: Optional[str] = None,
        description: Optional[str] = None,
        icon_url: Optional[str] = None,
        name: Optional[str] = None,
        notes: Optional[str] = None,
        parameters: Optional[Sequence[AppParameterArgs]] = None,
        policy_id: Optional[int] = None,
        provisioning: Optional[Mapping[str, bool]] = None,
        tab_id: Optional[int] = None,
        updated_at: Optional[str] = None,
        visible: Optional[bool] = None) -> App
func GetApp(ctx *Context, name string, id IDInput, state *AppState, opts ...ResourceOption) (*App, error)
public static App Get(string name, Input<string> id, AppState? state, CustomResourceOptions? opts = null)
public static App get(String name, Output<String> id, AppState state, CustomResourceOptions options)
Resource lookup is not supported in YAML
name
The unique name of the resulting resource.
id
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
resource_name
The unique name of the resulting resource.
id
The unique provider ID of the resource to lookup.
name
The unique name of the resulting resource.
id
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
name
The unique name of the resulting resource.
id
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
name
The unique name of the resulting resource.
id
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
The following state arguments are supported:
AllowAssumedSignin bool

Enable sign in when user has been assumed by the account owner. Defaults to false.

AuthMethod int

The apps auth method. Refer to the OneLogin Apps Documentation for a comprehensive list of available auth methods.

BrandId int
ConnectorId int

The ID for the app connector, dictates the type of app (e.g. AWS Multi-Role App).

CreatedAt string

Timestamp for app's creation.

Description string

App description.

IconUrl string

The url for the app's icon.

Name string

The app's name.

Notes string

Notes about the app.

Parameters List<AppParameterArgs>

a list of custom parameters for this app.

PolicyId int

The security policy assigned to the app.

Provisioning Dictionary<string, bool>

Settings regarding the app's provisioning ability.

TabId int

The tab in which to display in OneLogin portal.

UpdatedAt string

Timestamp for app's last update.

Visible bool

Determine if app should be visible in OneLogin portal. Defaults to true.

AllowAssumedSignin bool

Enable sign in when user has been assumed by the account owner. Defaults to false.

AuthMethod int

The apps auth method. Refer to the OneLogin Apps Documentation for a comprehensive list of available auth methods.

BrandId int
ConnectorId int

The ID for the app connector, dictates the type of app (e.g. AWS Multi-Role App).

CreatedAt string

Timestamp for app's creation.

Description string

App description.

IconUrl string

The url for the app's icon.

Name string

The app's name.

Notes string

Notes about the app.

Parameters []AppParameterArgs

a list of custom parameters for this app.

PolicyId int

The security policy assigned to the app.

Provisioning map[string]bool

Settings regarding the app's provisioning ability.

TabId int

The tab in which to display in OneLogin portal.

UpdatedAt string

Timestamp for app's last update.

Visible bool

Determine if app should be visible in OneLogin portal. Defaults to true.

allowAssumedSignin Boolean

Enable sign in when user has been assumed by the account owner. Defaults to false.

authMethod Integer

The apps auth method. Refer to the OneLogin Apps Documentation for a comprehensive list of available auth methods.

brandId Integer
connectorId Integer

The ID for the app connector, dictates the type of app (e.g. AWS Multi-Role App).

createdAt String

Timestamp for app's creation.

description String

App description.

iconUrl String

The url for the app's icon.

name String

The app's name.

notes String

Notes about the app.

parameters List<AppParameterArgs>

a list of custom parameters for this app.

policyId Integer

The security policy assigned to the app.

provisioning Map<String,Boolean>

Settings regarding the app's provisioning ability.

tabId Integer

The tab in which to display in OneLogin portal.

updatedAt String

Timestamp for app's last update.

visible Boolean

Determine if app should be visible in OneLogin portal. Defaults to true.

allowAssumedSignin boolean

Enable sign in when user has been assumed by the account owner. Defaults to false.

authMethod number

The apps auth method. Refer to the OneLogin Apps Documentation for a comprehensive list of available auth methods.

brandId number
connectorId number

The ID for the app connector, dictates the type of app (e.g. AWS Multi-Role App).

createdAt string

Timestamp for app's creation.

description string

App description.

iconUrl string

The url for the app's icon.

name string

The app's name.

notes string

Notes about the app.

parameters AppParameterArgs[]

a list of custom parameters for this app.

policyId number

The security policy assigned to the app.

provisioning {[key: string]: boolean}

Settings regarding the app's provisioning ability.

tabId number

The tab in which to display in OneLogin portal.

updatedAt string

Timestamp for app's last update.

visible boolean

Determine if app should be visible in OneLogin portal. Defaults to true.

allow_assumed_signin bool

Enable sign in when user has been assumed by the account owner. Defaults to false.

auth_method int

The apps auth method. Refer to the OneLogin Apps Documentation for a comprehensive list of available auth methods.

brand_id int
connector_id int

The ID for the app connector, dictates the type of app (e.g. AWS Multi-Role App).

created_at str

Timestamp for app's creation.

description str

App description.

icon_url str

The url for the app's icon.

name str

The app's name.

notes str

Notes about the app.

parameters Sequence[AppParameterArgs]

a list of custom parameters for this app.

policy_id int

The security policy assigned to the app.

provisioning Mapping[str, bool]

Settings regarding the app's provisioning ability.

tab_id int

The tab in which to display in OneLogin portal.

updated_at str

Timestamp for app's last update.

visible bool

Determine if app should be visible in OneLogin portal. Defaults to true.

allowAssumedSignin Boolean

Enable sign in when user has been assumed by the account owner. Defaults to false.

authMethod Number

The apps auth method. Refer to the OneLogin Apps Documentation for a comprehensive list of available auth methods.

brandId Number
connectorId Number

The ID for the app connector, dictates the type of app (e.g. AWS Multi-Role App).

createdAt String

Timestamp for app's creation.

description String

App description.

iconUrl String

The url for the app's icon.

name String

The app's name.

notes String

Notes about the app.

parameters List<Property Map>

a list of custom parameters for this app.

policyId Number

The security policy assigned to the app.

provisioning Map<Boolean>

Settings regarding the app's provisioning ability.

tabId Number

The tab in which to display in OneLogin portal.

updatedAt String

Timestamp for app's last update.

visible Boolean

Determine if app should be visible in OneLogin portal. Defaults to true.

Supporting Types

AppParameter

ParamKeyName string

Name to represent the parameter in OneLogin.

AttributesTransformations string

Describes how the app's attributes should be transformed.

DefaultValues string

Default Parameter values.

IncludeInSamlAssertion bool

When true, this parameter will be included in a SAML assertion payload.

Label string

The can only be set when creating a new parameter. It can not be updated.

ParamId int

The parameter ID.

ProvisionedEntitlements bool

Provisioned access entitlements for the app. Defaults to false.

SafeEntitlementsEnabled bool

Indicates that the parameter is used to support creating entitlements using OneLogin Mappings. Defaults to false.

SkipIfBlank bool

Flag to let the SCIM provisioner know not include this value if it's blank. Defaults to false.

UserAttributeMacros string

When user_attribute_mappings is set to _macro_ this macro will be used to assign the parameter value.

UserAttributeMappings string

A user attribute to map values from. For custom attributes prefix the name of the attribute with custom_attribute_.

Values string

Parameter values.

ParamKeyName string

Name to represent the parameter in OneLogin.

AttributesTransformations string

Describes how the app's attributes should be transformed.

DefaultValues string

Default Parameter values.

IncludeInSamlAssertion bool

When true, this parameter will be included in a SAML assertion payload.

Label string

The can only be set when creating a new parameter. It can not be updated.

ParamId int

The parameter ID.

ProvisionedEntitlements bool

Provisioned access entitlements for the app. Defaults to false.

SafeEntitlementsEnabled bool

Indicates that the parameter is used to support creating entitlements using OneLogin Mappings. Defaults to false.

SkipIfBlank bool

Flag to let the SCIM provisioner know not include this value if it's blank. Defaults to false.

UserAttributeMacros string

When user_attribute_mappings is set to _macro_ this macro will be used to assign the parameter value.

UserAttributeMappings string

A user attribute to map values from. For custom attributes prefix the name of the attribute with custom_attribute_.

Values string

Parameter values.

paramKeyName String

Name to represent the parameter in OneLogin.

attributesTransformations String

Describes how the app's attributes should be transformed.

defaultValues String

Default Parameter values.

includeInSamlAssertion Boolean

When true, this parameter will be included in a SAML assertion payload.

label String

The can only be set when creating a new parameter. It can not be updated.

paramId Integer

The parameter ID.

provisionedEntitlements Boolean

Provisioned access entitlements for the app. Defaults to false.

safeEntitlementsEnabled Boolean

Indicates that the parameter is used to support creating entitlements using OneLogin Mappings. Defaults to false.

skipIfBlank Boolean

Flag to let the SCIM provisioner know not include this value if it's blank. Defaults to false.

userAttributeMacros String

When user_attribute_mappings is set to _macro_ this macro will be used to assign the parameter value.

userAttributeMappings String

A user attribute to map values from. For custom attributes prefix the name of the attribute with custom_attribute_.

values String

Parameter values.

paramKeyName string

Name to represent the parameter in OneLogin.

attributesTransformations string

Describes how the app's attributes should be transformed.

defaultValues string

Default Parameter values.

includeInSamlAssertion boolean

When true, this parameter will be included in a SAML assertion payload.

label string

The can only be set when creating a new parameter. It can not be updated.

paramId number

The parameter ID.

provisionedEntitlements boolean

Provisioned access entitlements for the app. Defaults to false.

safeEntitlementsEnabled boolean

Indicates that the parameter is used to support creating entitlements using OneLogin Mappings. Defaults to false.

skipIfBlank boolean

Flag to let the SCIM provisioner know not include this value if it's blank. Defaults to false.

userAttributeMacros string

When user_attribute_mappings is set to _macro_ this macro will be used to assign the parameter value.

userAttributeMappings string

A user attribute to map values from. For custom attributes prefix the name of the attribute with custom_attribute_.

values string

Parameter values.

param_key_name str

Name to represent the parameter in OneLogin.

attributes_transformations str

Describes how the app's attributes should be transformed.

default_values str

Default Parameter values.

include_in_saml_assertion bool

When true, this parameter will be included in a SAML assertion payload.

label str

The can only be set when creating a new parameter. It can not be updated.

param_id int

The parameter ID.

provisioned_entitlements bool

Provisioned access entitlements for the app. Defaults to false.

safe_entitlements_enabled bool

Indicates that the parameter is used to support creating entitlements using OneLogin Mappings. Defaults to false.

skip_if_blank bool

Flag to let the SCIM provisioner know not include this value if it's blank. Defaults to false.

user_attribute_macros str

When user_attribute_mappings is set to _macro_ this macro will be used to assign the parameter value.

user_attribute_mappings str

A user attribute to map values from. For custom attributes prefix the name of the attribute with custom_attribute_.

values str

Parameter values.

paramKeyName String

Name to represent the parameter in OneLogin.

attributesTransformations String

Describes how the app's attributes should be transformed.

defaultValues String

Default Parameter values.

includeInSamlAssertion Boolean

When true, this parameter will be included in a SAML assertion payload.

label String

The can only be set when creating a new parameter. It can not be updated.

paramId Number

The parameter ID.

provisionedEntitlements Boolean

Provisioned access entitlements for the app. Defaults to false.

safeEntitlementsEnabled Boolean

Indicates that the parameter is used to support creating entitlements using OneLogin Mappings. Defaults to false.

skipIfBlank Boolean

Flag to let the SCIM provisioner know not include this value if it's blank. Defaults to false.

userAttributeMacros String

When user_attribute_mappings is set to _macro_ this macro will be used to assign the parameter value.

userAttributeMappings String

A user attribute to map values from. For custom attributes prefix the name of the attribute with custom_attribute_.

values String

Parameter values.

Import

An App can be imported via the OneLogin App ID.

 $ pulumi import onelogin:index/app:App my_app <app id>

Package Details

Repository
https://github.com/pulumi/pulumi-onelogin
License
Apache-2.0
Notes

This Pulumi package is based on the onelogin Terraform Provider.