1. Registry
  2. Packages
  3. Onelogin Provider
  4. API Docs
  5. SamlApps
Viewing docs for onelogin 1.13.0
published on Friday, Nov 13, 2026 by onelogin
onelogin logo onelogin logo
Viewing docs for onelogin 1.13.0
published on Friday, Nov 13, 2026 by onelogin

    Creates an SAML Application.

    This resource allows you to create and configure an SAML Application.

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as onelogin from "@pulumi/onelogin";
    
    const exampleSamlApp = new onelogin.SamlApps("example_saml_app", {
        visible: false,
        allowAssumedSignin: false,
        connectorId: 12345,
        description: "example saml app",
        name: "Example App",
        notes: "example saml app",
        parameters: [
            {
                paramKeyName: "email",
                label: "Email",
                userAttributeMappings: "email",
                includeInSamlAssertion: true,
            },
            {
                paramKeyName: "firstname",
                label: "First Name",
                userAttributeMappings: "firstname",
                includeInSamlAssertion: true,
            },
            {
                paramKeyName: "lastname",
                label: "Last Name",
                userAttributeMappings: "lastname",
                includeInSamlAssertion: true,
            },
        ],
        configuration: {
            signature_algorithm: "SHA-1",
            provider_arn: "example_arn",
        },
        provisioning: {
            enabled: false,
        },
    });
    
    import pulumi
    import pulumi_onelogin as onelogin
    
    example_saml_app = onelogin.SamlApps("example_saml_app",
        visible=False,
        allow_assumed_signin=False,
        connector_id=12345,
        description="example saml app",
        name="Example App",
        notes="example saml app",
        parameters=[
            {
                "param_key_name": "email",
                "label": "Email",
                "user_attribute_mappings": "email",
                "include_in_saml_assertion": True,
            },
            {
                "param_key_name": "firstname",
                "label": "First Name",
                "user_attribute_mappings": "firstname",
                "include_in_saml_assertion": True,
            },
            {
                "param_key_name": "lastname",
                "label": "Last Name",
                "user_attribute_mappings": "lastname",
                "include_in_saml_assertion": True,
            },
        ],
        configuration={
            "signature_algorithm": "SHA-1",
            "provider_arn": "example_arn",
        },
        provisioning={
            "enabled": False,
        })
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-terraform-provider/sdks/go/onelogin/onelogin"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := onelogin.NewSamlApps(ctx, "example_saml_app", &onelogin.SamlAppsArgs{
    			Visible:            pulumi.Bool(false),
    			AllowAssumedSignin: pulumi.Bool(false),
    			ConnectorId:        pulumi.Float64(12345),
    			Description:        pulumi.String("example saml app"),
    			Name:               pulumi.String("Example App"),
    			Notes:              pulumi.String("example saml app"),
    			Parameters: onelogin.SamlAppsParameterArray{
    				&onelogin.SamlAppsParameterArgs{
    					ParamKeyName:           pulumi.String("email"),
    					Label:                  pulumi.String("Email"),
    					UserAttributeMappings:  pulumi.String("email"),
    					IncludeInSamlAssertion: pulumi.Bool(true),
    				},
    				&onelogin.SamlAppsParameterArgs{
    					ParamKeyName:           pulumi.String("firstname"),
    					Label:                  pulumi.String("First Name"),
    					UserAttributeMappings:  pulumi.String("firstname"),
    					IncludeInSamlAssertion: pulumi.Bool(true),
    				},
    				&onelogin.SamlAppsParameterArgs{
    					ParamKeyName:           pulumi.String("lastname"),
    					Label:                  pulumi.String("Last Name"),
    					UserAttributeMappings:  pulumi.String("lastname"),
    					IncludeInSamlAssertion: pulumi.Bool(true),
    				},
    			},
    			Configuration: pulumi.StringMap{
    				"signature_algorithm": pulumi.String("SHA-1"),
    				"provider_arn":        pulumi.String("example_arn"),
    			},
    			Provisioning: pulumi.BoolMap{
    				"enabled": pulumi.Bool(false),
    			},
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Onelogin = Pulumi.Onelogin;
    
    return await Deployment.RunAsync(() => 
    {
        var exampleSamlApp = new Onelogin.SamlApps("example_saml_app", new()
        {
            Visible = false,
            AllowAssumedSignin = false,
            ConnectorId = 12345,
            Description = "example saml app",
            Name = "Example App",
            Notes = "example saml app",
            Parameters = new[]
            {
                new Onelogin.Inputs.SamlAppsParameterArgs
                {
                    ParamKeyName = "email",
                    Label = "Email",
                    UserAttributeMappings = "email",
                    IncludeInSamlAssertion = true,
                },
                new Onelogin.Inputs.SamlAppsParameterArgs
                {
                    ParamKeyName = "firstname",
                    Label = "First Name",
                    UserAttributeMappings = "firstname",
                    IncludeInSamlAssertion = true,
                },
                new Onelogin.Inputs.SamlAppsParameterArgs
                {
                    ParamKeyName = "lastname",
                    Label = "Last Name",
                    UserAttributeMappings = "lastname",
                    IncludeInSamlAssertion = true,
                },
            },
            Configuration = 
            {
                { "signature_algorithm", "SHA-1" },
                { "provider_arn", "example_arn" },
            },
            Provisioning = 
            {
                { "enabled", false },
            },
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.onelogin.SamlApps;
    import com.pulumi.onelogin.SamlAppsArgs;
    import com.pulumi.onelogin.inputs.SamlAppsParameterArgs;
    import java.util.List;
    import java.util.ArrayList;
    import java.util.Map;
    import java.io.File;
    import java.nio.file.Files;
    import java.nio.file.Paths;
    
    public class App {
        public static void main(String[] args) {
            Pulumi.run(App::stack);
        }
    
        public static void stack(Context ctx) {
            var exampleSamlApp = new SamlApps("exampleSamlApp", SamlAppsArgs.builder()
                .visible(false)
                .allowAssumedSignin(false)
                .connectorId(12345.0)
                .description("example saml app")
                .name("Example App")
                .notes("example saml app")
                .parameters(            
                    SamlAppsParameterArgs.builder()
                        .paramKeyName("email")
                        .label("Email")
                        .userAttributeMappings("email")
                        .includeInSamlAssertion(true)
                        .build(),
                    SamlAppsParameterArgs.builder()
                        .paramKeyName("firstname")
                        .label("First Name")
                        .userAttributeMappings("firstname")
                        .includeInSamlAssertion(true)
                        .build(),
                    SamlAppsParameterArgs.builder()
                        .paramKeyName("lastname")
                        .label("Last Name")
                        .userAttributeMappings("lastname")
                        .includeInSamlAssertion(true)
                        .build())
                .configuration(Map.ofEntries(
                    Map.entry("signature_algorithm", "SHA-1"),
                    Map.entry("provider_arn", "example_arn")
                ))
                .provisioning(Map.of("enabled", false))
                .build());
    
        }
    }
    
    resources:
      exampleSamlApp:
        type: onelogin:SamlApps
        name: example_saml_app
        properties:
          visible: false
          allowAssumedSignin: false
          connectorId: 12345
          description: example saml app
          name: Example App
          notes: example saml app
          parameters:
            - paramKeyName: email
              label: Email
              userAttributeMappings: email
              includeInSamlAssertion: true
            - paramKeyName: firstname
              label: First Name
              userAttributeMappings: firstname
              includeInSamlAssertion: true
            - paramKeyName: lastname
              label: Last Name
              userAttributeMappings: lastname
              includeInSamlAssertion: true
          configuration:
            signature_algorithm: SHA-1
            provider_arn: example_arn
          provisioning:
            enabled: false
    
    Example coming soon!
    

    Create SamlApps Resource

    Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

    Constructor syntax

    new SamlApps(name: string, args: SamlAppsArgs, opts?: CustomResourceOptions);
    @overload
    def SamlApps(resource_name: str,
                 args: SamlAppsArgs,
                 opts: Optional[ResourceOptions] = None)
    
    @overload
    def SamlApps(resource_name: str,
                 opts: Optional[ResourceOptions] = None,
                 connector_id: Optional[float] = None,
                 description: Optional[str] = None,
                 notes: Optional[str] = None,
                 brand_id: Optional[float] = None,
                 configuration: Optional[Mapping[str, str]] = None,
                 bearer_token_wo: Optional[str] = None,
                 allow_assumed_signin: Optional[bool] = None,
                 name: Optional[str] = None,
                 bearer_token_wo_version: Optional[float] = None,
                 parameters: Optional[Sequence[SamlAppsParameterArgs]] = None,
                 policy_id: Optional[float] = None,
                 provisioning: Optional[Mapping[str, bool]] = None,
                 role_ids: Optional[Sequence[float]] = None,
                 saml_apps_id: Optional[str] = None,
                 visible: Optional[bool] = None)
    func NewSamlApps(ctx *Context, name string, args SamlAppsArgs, opts ...ResourceOption) (*SamlApps, error)
    public SamlApps(string name, SamlAppsArgs args, CustomResourceOptions? opts = null)
    public SamlApps(String name, SamlAppsArgs args)
    public SamlApps(String name, SamlAppsArgs args, CustomResourceOptions options)
    
    type: onelogin:SamlApps
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    
    resource "onelogin_saml_apps" "name" {
        # resource properties
    }

    Parameters

    name string
    The unique name of the resource.
    args SamlAppsArgs
    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 SamlAppsArgs
    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 SamlAppsArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args SamlAppsArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args SamlAppsArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    Constructor example

    The following reference example uses placeholder values for all input properties.

    var samlAppsResource = new Onelogin.SamlApps("samlAppsResource", new()
    {
        ConnectorId = 0.0,
        Description = "string",
        Notes = "string",
        BrandId = 0.0,
        Configuration = 
        {
            { "string", "string" },
        },
        BearerTokenWo = "string",
        AllowAssumedSignin = false,
        Name = "string",
        BearerTokenWoVersion = 0.0,
        Parameters = new[]
        {
            new Onelogin.Inputs.SamlAppsParameterArgs
            {
                ParamKeyName = "string",
                AttributesTransformations = "string",
                DefaultValues = new[]
                {
                    "string",
                },
                IncludeInSamlAssertion = false,
                Label = "string",
                ParamId = 0.0,
                ProvisionedEntitlements = false,
                SafeEntitlementsEnabled = false,
                SkipIfBlank = false,
                UserAttributeMacros = "string",
                UserAttributeMappings = "string",
                Values = new[]
                {
                    "string",
                },
            },
        },
        PolicyId = 0.0,
        Provisioning = 
        {
            { "string", false },
        },
        RoleIds = new[]
        {
            0.0,
        },
        SamlAppsId = "string",
        Visible = false,
    });
    
    example, err := onelogin.NewSamlApps(ctx, "samlAppsResource", &onelogin.SamlAppsArgs{
    	ConnectorId: pulumi.Float64(0),
    	Description: pulumi.String("string"),
    	Notes:       pulumi.String("string"),
    	BrandId:     pulumi.Float64(0),
    	Configuration: pulumi.StringMap{
    		"string": pulumi.String("string"),
    	},
    	BearerTokenWo:        pulumi.String("string"),
    	AllowAssumedSignin:   pulumi.Bool(false),
    	Name:                 pulumi.String("string"),
    	BearerTokenWoVersion: pulumi.Float64(0),
    	Parameters: onelogin.SamlAppsParameterArray{
    		&onelogin.SamlAppsParameterArgs{
    			ParamKeyName:              pulumi.String("string"),
    			AttributesTransformations: pulumi.String("string"),
    			DefaultValues: pulumi.StringArray{
    				pulumi.String("string"),
    			},
    			IncludeInSamlAssertion:  pulumi.Bool(false),
    			Label:                   pulumi.String("string"),
    			ParamId:                 pulumi.Float64(0),
    			ProvisionedEntitlements: pulumi.Bool(false),
    			SafeEntitlementsEnabled: pulumi.Bool(false),
    			SkipIfBlank:             pulumi.Bool(false),
    			UserAttributeMacros:     pulumi.String("string"),
    			UserAttributeMappings:   pulumi.String("string"),
    			Values: pulumi.StringArray{
    				pulumi.String("string"),
    			},
    		},
    	},
    	PolicyId: pulumi.Float64(0),
    	Provisioning: pulumi.BoolMap{
    		"string": pulumi.Bool(false),
    	},
    	RoleIds: pulumi.Float64Array{
    		pulumi.Float64(0),
    	},
    	SamlAppsId: pulumi.String("string"),
    	Visible:    pulumi.Bool(false),
    })
    
    resource "onelogin_saml_apps" "samlAppsResource" {
      lifecycle {
        create_before_destroy = true
      }
      connector_id = 0
      description  = "string"
      notes        = "string"
      brand_id     = 0
      configuration = {
        "string" = "string"
      }
      bearer_token_wo         = "string"
      allow_assumed_signin    = false
      name                    = "string"
      bearer_token_wo_version = 0
      parameters {
        param_key_name             = "string"
        attributes_transformations = "string"
        default_values             = ["string"]
        include_in_saml_assertion  = false
        label                      = "string"
        param_id                   = 0
        provisioned_entitlements   = false
        safe_entitlements_enabled  = false
        skip_if_blank              = false
        user_attribute_macros      = "string"
        user_attribute_mappings    = "string"
        values                     = ["string"]
      }
      policy_id = 0
      provisioning = {
        "string" = false
      }
      role_ids     = [0]
      saml_apps_id = "string"
      visible      = false
    }
    
    var samlAppsResource = new SamlApps("samlAppsResource", SamlAppsArgs.builder()
        .connectorId(0.0)
        .description("string")
        .notes("string")
        .brandId(0.0)
        .configuration(Map.of("string", "string"))
        .bearerTokenWo("string")
        .allowAssumedSignin(false)
        .name("string")
        .bearerTokenWoVersion(0.0)
        .parameters(SamlAppsParameterArgs.builder()
            .paramKeyName("string")
            .attributesTransformations("string")
            .defaultValues("string")
            .includeInSamlAssertion(false)
            .label("string")
            .paramId(0.0)
            .provisionedEntitlements(false)
            .safeEntitlementsEnabled(false)
            .skipIfBlank(false)
            .userAttributeMacros("string")
            .userAttributeMappings("string")
            .values("string")
            .build())
        .policyId(0.0)
        .provisioning(Map.of("string", false))
        .roleIds(0.0)
        .samlAppsId("string")
        .visible(false)
        .build());
    
    saml_apps_resource = onelogin.SamlApps("samlAppsResource",
        connector_id=float(0),
        description="string",
        notes="string",
        brand_id=float(0),
        configuration={
            "string": "string",
        },
        bearer_token_wo="string",
        allow_assumed_signin=False,
        name="string",
        bearer_token_wo_version=float(0),
        parameters=[{
            "param_key_name": "string",
            "attributes_transformations": "string",
            "default_values": ["string"],
            "include_in_saml_assertion": False,
            "label": "string",
            "param_id": float(0),
            "provisioned_entitlements": False,
            "safe_entitlements_enabled": False,
            "skip_if_blank": False,
            "user_attribute_macros": "string",
            "user_attribute_mappings": "string",
            "values": ["string"],
        }],
        policy_id=float(0),
        provisioning={
            "string": False,
        },
        role_ids=[float(0)],
        saml_apps_id="string",
        visible=False)
    
    const samlAppsResource = new onelogin.SamlApps("samlAppsResource", {
        connectorId: 0,
        description: "string",
        notes: "string",
        brandId: 0,
        configuration: {
            string: "string",
        },
        bearerTokenWo: "string",
        allowAssumedSignin: false,
        name: "string",
        bearerTokenWoVersion: 0,
        parameters: [{
            paramKeyName: "string",
            attributesTransformations: "string",
            defaultValues: ["string"],
            includeInSamlAssertion: false,
            label: "string",
            paramId: 0,
            provisionedEntitlements: false,
            safeEntitlementsEnabled: false,
            skipIfBlank: false,
            userAttributeMacros: "string",
            userAttributeMappings: "string",
            values: ["string"],
        }],
        policyId: 0,
        provisioning: {
            string: false,
        },
        roleIds: [0],
        samlAppsId: "string",
        visible: false,
    });
    
    type: onelogin:SamlApps
    properties:
        allowAssumedSignin: false
        bearerTokenWo: string
        bearerTokenWoVersion: 0
        brandId: 0
        configuration:
            string: string
        connectorId: 0
        description: string
        name: string
        notes: string
        parameters:
            - attributesTransformations: string
              defaultValues:
                - string
              includeInSamlAssertion: false
              label: string
              paramId: 0
              paramKeyName: string
              provisionedEntitlements: false
              safeEntitlementsEnabled: false
              skipIfBlank: false
              userAttributeMacros: string
              userAttributeMappings: string
              values:
                - string
        policyId: 0
        provisioning:
            string: false
        roleIds:
            - 0
        samlAppsId: string
        visible: false
    

    SamlApps Resource Properties

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

    Inputs

    In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.

    The SamlApps resource accepts the following input properties:

    ConnectorId double
    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.
    BearerTokenWo string
    BearerTokenWoVersion double
    Change this to send bearer_token_wo on an update. Requires bearer_token_wo, and must be at least 1.
    BrandId double

    ID of the brand whose login page this app uses. Omit to fall back to the account default brand.

    Like policy_id, the attribute is computed as well as optional, so a brand assigned in the OneLogin admin UI is left alone by a configuration that does not mention brand_id, and removing the argument does not unassign it. Write brand_id = 0 to unassign; OneLogin refuses a literal 0 and wants null, which the provider sends on your behalf.

    Configuration Dictionary<string, string>
    Settings on the app's Configuration tab, as a map of strings. Any setting the connector has can be given by its name, for example audience. A name the connector does not have fails the apply with a 400. Settings left out are left alone.
    Description string
    App description.
    Name string
    The app's name.
    Notes string
    Notes about the app.
    Parameters List<SamlAppsParameter>
    A set of parameters for this app. Define a separate parameters block for each parameter you want to configure.
    PolicyId double

    ID of the app policy enforced when users sign in to this app. Create one with onelogin.Policies.

    Only app policies can be assigned. A user policy is refused with The associated Policy with ID <id> could not be found, the same message the API gives for an ID that does not exist.

    The attribute is computed as well as optional, so a policy assigned in the OneLogin admin UI is left alone by a configuration that does not mention policy_id. The cost of that is that removing the argument does not unassign the policy — it leaves the last value in place. Write policy_id = 0 to unassign. OneLogin refuses a literal 0 and wants null for this, so the provider sends the null on your behalf.

    import * as pulumi from "@pulumi/pulumi";
    import * as onelogin from "@pulumi/onelogin";
    

    const financeApp = new onelogin.Policies("finance_app", { name: "Finance app step-up", kind: "app", forceAuthn: true, appForceAuthnOffset: 60, }); const finance = new onelogin.SamlApps("finance", { name: "Finance", connectorId: 108419, policyId: financeApp.policiesId, });

    import pulumi
    import pulumi_onelogin as onelogin
    
    finance_app = onelogin.Policies("finance_app",
        name="Finance app step-up",
        kind="app",
        force_authn=True,
        app_force_authn_offset=60)
    finance = onelogin.SamlApps("finance",
        name="Finance",
        connector_id=108419,
        policy_id=finance_app.policies_id)
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Onelogin = Pulumi.Onelogin;
    
    return await Deployment.RunAsync(() => 
    {
        var financeApp = new Onelogin.Policies("finance_app", new()
        {
            Name = "Finance app step-up",
            Kind = "app",
            ForceAuthn = true,
            AppForceAuthnOffset = 60,
        });
    
        var finance = new Onelogin.SamlApps("finance", new()
        {
            Name = "Finance",
            ConnectorId = 108419,
            PolicyId = financeApp.PoliciesId,
        });
    
    });
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-terraform-provider/sdks/go/onelogin/onelogin"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		financeApp, err := onelogin.NewPolicies(ctx, "finance_app", &onelogin.PoliciesArgs{
    			Name:                pulumi.String("Finance app step-up"),
    			Kind:                pulumi.String("app"),
    			ForceAuthn:          pulumi.Bool(true),
    			AppForceAuthnOffset: pulumi.Float64(60),
    		})
    		if err != nil {
    			return err
    		}
    		_, err = onelogin.NewSamlApps(ctx, "finance", &onelogin.SamlAppsArgs{
    			Name:        pulumi.String("Finance"),
    			ConnectorId: pulumi.Float64(108419),
    			PolicyId:    financeApp.PoliciesId,
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.onelogin.Policies;
    import com.pulumi.onelogin.PoliciesArgs;
    import com.pulumi.onelogin.SamlApps;
    import com.pulumi.onelogin.SamlAppsArgs;
    import java.util.List;
    import java.util.ArrayList;
    import java.util.Map;
    import java.io.File;
    import java.nio.file.Files;
    import java.nio.file.Paths;
    
    public class App {
        public static void main(String[] args) {
            Pulumi.run(App::stack);
        }
    
        public static void stack(Context ctx) {
            var financeApp = new Policies("financeApp", PoliciesArgs.builder()
                .name("Finance app step-up")
                .kind("app")
                .forceAuthn(true)
                .appForceAuthnOffset(60.0)
                .build());
    
            var finance = new SamlApps("finance", SamlAppsArgs.builder()
                .name("Finance")
                .connectorId(108419.0)
                .policyId(financeApp.policiesId())
                .build());
    
        }
    }
    
    resources:
      financeApp:
        type: onelogin:Policies
        name: finance_app
        properties:
          name: Finance app step-up
          kind: app
          forceAuthn: true
          appForceAuthnOffset: 60
      finance:
        type: onelogin:SamlApps
        properties:
          name: Finance
          connectorId: 108419
          policyId: ${financeApp.policiesId}
    
    Provisioning Dictionary<string, bool>
    Settings regarding the app's provisioning ability.
    RoleIds List<double>

    IDs of the roles whose users get this app. When set, the app's roles are exactly this set, written in a single create or update. Use it instead of one onelogin.AppRoleAttachments per role when assigning several roles to the same app.

    The attribute is computed as well as optional, so roles assigned some other way are left alone by a configuration that does not mention role_ids, and removing the argument leaves the current roles in place. Write role_ids = [] to remove every role.

    Once role_ids is set, it is authoritative: a role given the app anywhere else (the OneLogin admin UI, onelogin.AppRoleAttachments, or the apps argument of onelogin.Roles) is drift, and the next apply takes it off. Do not combine role_ids with those on the same app.

    A role managed by onelogin.Roles without an apps argument leaves this app alone. Add skip_membership_refresh = ["apps"] to that role to skip reading its apps as well.

    import * as pulumi from "@pulumi/pulumi";
    import * as onelogin from "@pulumi/onelogin";
    

    const engineering = new onelogin.Roles("engineering", { name: "Engineering", skipMembershipRefreshes: ["apps"], }); const support = new onelogin.Roles("support", { name: "Support", skipMembershipRefreshes: ["apps"], }); const example = new onelogin.SamlApps("example", { name: "Example", connectorId: 110016, roleIds: [ engineering.rolesId, support.rolesId, ], });

    import pulumi
    import pulumi_onelogin as onelogin
    
    engineering = onelogin.Roles("engineering",
        name="Engineering",
        skip_membership_refreshes=["apps"])
    support = onelogin.Roles("support",
        name="Support",
        skip_membership_refreshes=["apps"])
    example = onelogin.SamlApps("example",
        name="Example",
        connector_id=110016,
        role_ids=[
            engineering.roles_id,
            support.roles_id,
        ])
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Onelogin = Pulumi.Onelogin;
    
    return await Deployment.RunAsync(() => 
    {
        var engineering = new Onelogin.Roles("engineering", new()
        {
            Name = "Engineering",
            SkipMembershipRefreshes = new[]
            {
                "apps",
            },
        });
    
        var support = new Onelogin.Roles("support", new()
        {
            Name = "Support",
            SkipMembershipRefreshes = new[]
            {
                "apps",
            },
        });
    
        var example = new Onelogin.SamlApps("example", new()
        {
            Name = "Example",
            ConnectorId = 110016,
            RoleIds = new[]
            {
                engineering.RolesId,
                support.RolesId,
            },
        });
    
    });
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-terraform-provider/sdks/go/onelogin/onelogin"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		engineering, err := onelogin.NewRoles(ctx, "engineering", &onelogin.RolesArgs{
    			Name: pulumi.String("Engineering"),
    			SkipMembershipRefreshes: pulumi.StringArray{
    				pulumi.String("apps"),
    			},
    		})
    		if err != nil {
    			return err
    		}
    		support, err := onelogin.NewRoles(ctx, "support", &onelogin.RolesArgs{
    			Name: pulumi.String("Support"),
    			SkipMembershipRefreshes: pulumi.StringArray{
    				pulumi.String("apps"),
    			},
    		})
    		if err != nil {
    			return err
    		}
    		_, err = onelogin.NewSamlApps(ctx, "example", &onelogin.SamlAppsArgs{
    			Name:        pulumi.String("Example"),
    			ConnectorId: pulumi.Float64(110016),
    			RoleIds: pulumi.Float64Array{
    				engineering.RolesId,
    				support.RolesId,
    			},
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.onelogin.Roles;
    import com.pulumi.onelogin.RolesArgs;
    import com.pulumi.onelogin.SamlApps;
    import com.pulumi.onelogin.SamlAppsArgs;
    import java.util.List;
    import java.util.ArrayList;
    import java.util.Map;
    import java.io.File;
    import java.nio.file.Files;
    import java.nio.file.Paths;
    
    public class App {
        public static void main(String[] args) {
            Pulumi.run(App::stack);
        }
    
        public static void stack(Context ctx) {
            var engineering = new Roles("engineering", RolesArgs.builder()
                .name("Engineering")
                .skipMembershipRefreshes("apps")
                .build());
    
            var support = new Roles("support", RolesArgs.builder()
                .name("Support")
                .skipMembershipRefreshes("apps")
                .build());
    
            var example = new SamlApps("example", SamlAppsArgs.builder()
                .name("Example")
                .connectorId(110016.0)
                .roleIds(            
                    engineering.rolesId(),
                    support.rolesId())
                .build());
    
        }
    }
    
    resources:
      engineering:
        type: onelogin:Roles
        properties:
          name: Engineering
          skipMembershipRefreshes:
            - apps
      support:
        type: onelogin:Roles
        properties:
          name: Support
          skipMembershipRefreshes:
            - apps
      example:
        type: onelogin:SamlApps
        properties:
          name: Example
          connectorId: 110016
          roleIds:
            - ${engineering.rolesId}
            - ${support.rolesId}
    
    SamlAppsId string
    Certificate ID.
    Visible bool
    Determine if app should be visible in OneLogin portal. Defaults to true.
    ConnectorId float64
    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.
    BearerTokenWo string
    BearerTokenWoVersion float64
    Change this to send bearer_token_wo on an update. Requires bearer_token_wo, and must be at least 1.
    BrandId float64

    ID of the brand whose login page this app uses. Omit to fall back to the account default brand.

    Like policy_id, the attribute is computed as well as optional, so a brand assigned in the OneLogin admin UI is left alone by a configuration that does not mention brand_id, and removing the argument does not unassign it. Write brand_id = 0 to unassign; OneLogin refuses a literal 0 and wants null, which the provider sends on your behalf.

    Configuration map[string]string
    Settings on the app's Configuration tab, as a map of strings. Any setting the connector has can be given by its name, for example audience. A name the connector does not have fails the apply with a 400. Settings left out are left alone.
    Description string
    App description.
    Name string
    The app's name.
    Notes string
    Notes about the app.
    Parameters []SamlAppsParameterArgs
    A set of parameters for this app. Define a separate parameters block for each parameter you want to configure.
    PolicyId float64

    ID of the app policy enforced when users sign in to this app. Create one with onelogin.Policies.

    Only app policies can be assigned. A user policy is refused with The associated Policy with ID <id> could not be found, the same message the API gives for an ID that does not exist.

    The attribute is computed as well as optional, so a policy assigned in the OneLogin admin UI is left alone by a configuration that does not mention policy_id. The cost of that is that removing the argument does not unassign the policy — it leaves the last value in place. Write policy_id = 0 to unassign. OneLogin refuses a literal 0 and wants null for this, so the provider sends the null on your behalf.

    import * as pulumi from "@pulumi/pulumi";
    import * as onelogin from "@pulumi/onelogin";
    

    const financeApp = new onelogin.Policies("finance_app", { name: "Finance app step-up", kind: "app", forceAuthn: true, appForceAuthnOffset: 60, }); const finance = new onelogin.SamlApps("finance", { name: "Finance", connectorId: 108419, policyId: financeApp.policiesId, });

    import pulumi
    import pulumi_onelogin as onelogin
    
    finance_app = onelogin.Policies("finance_app",
        name="Finance app step-up",
        kind="app",
        force_authn=True,
        app_force_authn_offset=60)
    finance = onelogin.SamlApps("finance",
        name="Finance",
        connector_id=108419,
        policy_id=finance_app.policies_id)
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Onelogin = Pulumi.Onelogin;
    
    return await Deployment.RunAsync(() => 
    {
        var financeApp = new Onelogin.Policies("finance_app", new()
        {
            Name = "Finance app step-up",
            Kind = "app",
            ForceAuthn = true,
            AppForceAuthnOffset = 60,
        });
    
        var finance = new Onelogin.SamlApps("finance", new()
        {
            Name = "Finance",
            ConnectorId = 108419,
            PolicyId = financeApp.PoliciesId,
        });
    
    });
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-terraform-provider/sdks/go/onelogin/onelogin"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		financeApp, err := onelogin.NewPolicies(ctx, "finance_app", &onelogin.PoliciesArgs{
    			Name:                pulumi.String("Finance app step-up"),
    			Kind:                pulumi.String("app"),
    			ForceAuthn:          pulumi.Bool(true),
    			AppForceAuthnOffset: pulumi.Float64(60),
    		})
    		if err != nil {
    			return err
    		}
    		_, err = onelogin.NewSamlApps(ctx, "finance", &onelogin.SamlAppsArgs{
    			Name:        pulumi.String("Finance"),
    			ConnectorId: pulumi.Float64(108419),
    			PolicyId:    financeApp.PoliciesId,
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.onelogin.Policies;
    import com.pulumi.onelogin.PoliciesArgs;
    import com.pulumi.onelogin.SamlApps;
    import com.pulumi.onelogin.SamlAppsArgs;
    import java.util.List;
    import java.util.ArrayList;
    import java.util.Map;
    import java.io.File;
    import java.nio.file.Files;
    import java.nio.file.Paths;
    
    public class App {
        public static void main(String[] args) {
            Pulumi.run(App::stack);
        }
    
        public static void stack(Context ctx) {
            var financeApp = new Policies("financeApp", PoliciesArgs.builder()
                .name("Finance app step-up")
                .kind("app")
                .forceAuthn(true)
                .appForceAuthnOffset(60.0)
                .build());
    
            var finance = new SamlApps("finance", SamlAppsArgs.builder()
                .name("Finance")
                .connectorId(108419.0)
                .policyId(financeApp.policiesId())
                .build());
    
        }
    }
    
    resources:
      financeApp:
        type: onelogin:Policies
        name: finance_app
        properties:
          name: Finance app step-up
          kind: app
          forceAuthn: true
          appForceAuthnOffset: 60
      finance:
        type: onelogin:SamlApps
        properties:
          name: Finance
          connectorId: 108419
          policyId: ${financeApp.policiesId}
    
    Provisioning map[string]bool
    Settings regarding the app's provisioning ability.
    RoleIds []float64

    IDs of the roles whose users get this app. When set, the app's roles are exactly this set, written in a single create or update. Use it instead of one onelogin.AppRoleAttachments per role when assigning several roles to the same app.

    The attribute is computed as well as optional, so roles assigned some other way are left alone by a configuration that does not mention role_ids, and removing the argument leaves the current roles in place. Write role_ids = [] to remove every role.

    Once role_ids is set, it is authoritative: a role given the app anywhere else (the OneLogin admin UI, onelogin.AppRoleAttachments, or the apps argument of onelogin.Roles) is drift, and the next apply takes it off. Do not combine role_ids with those on the same app.

    A role managed by onelogin.Roles without an apps argument leaves this app alone. Add skip_membership_refresh = ["apps"] to that role to skip reading its apps as well.

    import * as pulumi from "@pulumi/pulumi";
    import * as onelogin from "@pulumi/onelogin";
    

    const engineering = new onelogin.Roles("engineering", { name: "Engineering", skipMembershipRefreshes: ["apps"], }); const support = new onelogin.Roles("support", { name: "Support", skipMembershipRefreshes: ["apps"], }); const example = new onelogin.SamlApps("example", { name: "Example", connectorId: 110016, roleIds: [ engineering.rolesId, support.rolesId, ], });

    import pulumi
    import pulumi_onelogin as onelogin
    
    engineering = onelogin.Roles("engineering",
        name="Engineering",
        skip_membership_refreshes=["apps"])
    support = onelogin.Roles("support",
        name="Support",
        skip_membership_refreshes=["apps"])
    example = onelogin.SamlApps("example",
        name="Example",
        connector_id=110016,
        role_ids=[
            engineering.roles_id,
            support.roles_id,
        ])
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Onelogin = Pulumi.Onelogin;
    
    return await Deployment.RunAsync(() => 
    {
        var engineering = new Onelogin.Roles("engineering", new()
        {
            Name = "Engineering",
            SkipMembershipRefreshes = new[]
            {
                "apps",
            },
        });
    
        var support = new Onelogin.Roles("support", new()
        {
            Name = "Support",
            SkipMembershipRefreshes = new[]
            {
                "apps",
            },
        });
    
        var example = new Onelogin.SamlApps("example", new()
        {
            Name = "Example",
            ConnectorId = 110016,
            RoleIds = new[]
            {
                engineering.RolesId,
                support.RolesId,
            },
        });
    
    });
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-terraform-provider/sdks/go/onelogin/onelogin"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		engineering, err := onelogin.NewRoles(ctx, "engineering", &onelogin.RolesArgs{
    			Name: pulumi.String("Engineering"),
    			SkipMembershipRefreshes: pulumi.StringArray{
    				pulumi.String("apps"),
    			},
    		})
    		if err != nil {
    			return err
    		}
    		support, err := onelogin.NewRoles(ctx, "support", &onelogin.RolesArgs{
    			Name: pulumi.String("Support"),
    			SkipMembershipRefreshes: pulumi.StringArray{
    				pulumi.String("apps"),
    			},
    		})
    		if err != nil {
    			return err
    		}
    		_, err = onelogin.NewSamlApps(ctx, "example", &onelogin.SamlAppsArgs{
    			Name:        pulumi.String("Example"),
    			ConnectorId: pulumi.Float64(110016),
    			RoleIds: pulumi.Float64Array{
    				engineering.RolesId,
    				support.RolesId,
    			},
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.onelogin.Roles;
    import com.pulumi.onelogin.RolesArgs;
    import com.pulumi.onelogin.SamlApps;
    import com.pulumi.onelogin.SamlAppsArgs;
    import java.util.List;
    import java.util.ArrayList;
    import java.util.Map;
    import java.io.File;
    import java.nio.file.Files;
    import java.nio.file.Paths;
    
    public class App {
        public static void main(String[] args) {
            Pulumi.run(App::stack);
        }
    
        public static void stack(Context ctx) {
            var engineering = new Roles("engineering", RolesArgs.builder()
                .name("Engineering")
                .skipMembershipRefreshes("apps")
                .build());
    
            var support = new Roles("support", RolesArgs.builder()
                .name("Support")
                .skipMembershipRefreshes("apps")
                .build());
    
            var example = new SamlApps("example", SamlAppsArgs.builder()
                .name("Example")
                .connectorId(110016.0)
                .roleIds(            
                    engineering.rolesId(),
                    support.rolesId())
                .build());
    
        }
    }
    
    resources:
      engineering:
        type: onelogin:Roles
        properties:
          name: Engineering
          skipMembershipRefreshes:
            - apps
      support:
        type: onelogin:Roles
        properties:
          name: Support
          skipMembershipRefreshes:
            - apps
      example:
        type: onelogin:SamlApps
        properties:
          name: Example
          connectorId: 110016
          roleIds:
            - ${engineering.rolesId}
            - ${support.rolesId}
    
    SamlAppsId string
    Certificate ID.
    Visible bool
    Determine if app should be visible in OneLogin portal. Defaults to true.
    connector_id number
    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.
    bearer_token_wo string
    bearer_token_wo_version number
    Change this to send bearer_token_wo on an update. Requires bearer_token_wo, and must be at least 1.
    brand_id number

    ID of the brand whose login page this app uses. Omit to fall back to the account default brand.

    Like policy_id, the attribute is computed as well as optional, so a brand assigned in the OneLogin admin UI is left alone by a configuration that does not mention brand_id, and removing the argument does not unassign it. Write brand_id = 0 to unassign; OneLogin refuses a literal 0 and wants null, which the provider sends on your behalf.

    configuration map(string)
    Settings on the app's Configuration tab, as a map of strings. Any setting the connector has can be given by its name, for example audience. A name the connector does not have fails the apply with a 400. Settings left out are left alone.
    description string
    App description.
    name string
    The app's name.
    notes string
    Notes about the app.
    parameters list(object)
    A set of parameters for this app. Define a separate parameters block for each parameter you want to configure.
    policy_id number

    ID of the app policy enforced when users sign in to this app. Create one with onelogin.Policies.

    Only app policies can be assigned. A user policy is refused with The associated Policy with ID <id> could not be found, the same message the API gives for an ID that does not exist.

    The attribute is computed as well as optional, so a policy assigned in the OneLogin admin UI is left alone by a configuration that does not mention policy_id. The cost of that is that removing the argument does not unassign the policy — it leaves the last value in place. Write policy_id = 0 to unassign. OneLogin refuses a literal 0 and wants null for this, so the provider sends the null on your behalf.

    import * as pulumi from "@pulumi/pulumi";
    import * as onelogin from "@pulumi/onelogin";
    

    const financeApp = new onelogin.Policies("finance_app", { name: "Finance app step-up", kind: "app", forceAuthn: true, appForceAuthnOffset: 60, }); const finance = new onelogin.SamlApps("finance", { name: "Finance", connectorId: 108419, policyId: financeApp.policiesId, });

    import pulumi
    import pulumi_onelogin as onelogin
    
    finance_app = onelogin.Policies("finance_app",
        name="Finance app step-up",
        kind="app",
        force_authn=True,
        app_force_authn_offset=60)
    finance = onelogin.SamlApps("finance",
        name="Finance",
        connector_id=108419,
        policy_id=finance_app.policies_id)
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Onelogin = Pulumi.Onelogin;
    
    return await Deployment.RunAsync(() => 
    {
        var financeApp = new Onelogin.Policies("finance_app", new()
        {
            Name = "Finance app step-up",
            Kind = "app",
            ForceAuthn = true,
            AppForceAuthnOffset = 60,
        });
    
        var finance = new Onelogin.SamlApps("finance", new()
        {
            Name = "Finance",
            ConnectorId = 108419,
            PolicyId = financeApp.PoliciesId,
        });
    
    });
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-terraform-provider/sdks/go/onelogin/onelogin"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		financeApp, err := onelogin.NewPolicies(ctx, "finance_app", &onelogin.PoliciesArgs{
    			Name:                pulumi.String("Finance app step-up"),
    			Kind:                pulumi.String("app"),
    			ForceAuthn:          pulumi.Bool(true),
    			AppForceAuthnOffset: pulumi.Float64(60),
    		})
    		if err != nil {
    			return err
    		}
    		_, err = onelogin.NewSamlApps(ctx, "finance", &onelogin.SamlAppsArgs{
    			Name:        pulumi.String("Finance"),
    			ConnectorId: pulumi.Float64(108419),
    			PolicyId:    financeApp.PoliciesId,
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.onelogin.Policies;
    import com.pulumi.onelogin.PoliciesArgs;
    import com.pulumi.onelogin.SamlApps;
    import com.pulumi.onelogin.SamlAppsArgs;
    import java.util.List;
    import java.util.ArrayList;
    import java.util.Map;
    import java.io.File;
    import java.nio.file.Files;
    import java.nio.file.Paths;
    
    public class App {
        public static void main(String[] args) {
            Pulumi.run(App::stack);
        }
    
        public static void stack(Context ctx) {
            var financeApp = new Policies("financeApp", PoliciesArgs.builder()
                .name("Finance app step-up")
                .kind("app")
                .forceAuthn(true)
                .appForceAuthnOffset(60.0)
                .build());
    
            var finance = new SamlApps("finance", SamlAppsArgs.builder()
                .name("Finance")
                .connectorId(108419.0)
                .policyId(financeApp.policiesId())
                .build());
    
        }
    }
    
    resources:
      financeApp:
        type: onelogin:Policies
        name: finance_app
        properties:
          name: Finance app step-up
          kind: app
          forceAuthn: true
          appForceAuthnOffset: 60
      finance:
        type: onelogin:SamlApps
        properties:
          name: Finance
          connectorId: 108419
          policyId: ${financeApp.policiesId}
    
    provisioning map(bool)
    Settings regarding the app's provisioning ability.
    role_ids list(number)

    IDs of the roles whose users get this app. When set, the app's roles are exactly this set, written in a single create or update. Use it instead of one onelogin.AppRoleAttachments per role when assigning several roles to the same app.

    The attribute is computed as well as optional, so roles assigned some other way are left alone by a configuration that does not mention role_ids, and removing the argument leaves the current roles in place. Write role_ids = [] to remove every role.

    Once role_ids is set, it is authoritative: a role given the app anywhere else (the OneLogin admin UI, onelogin.AppRoleAttachments, or the apps argument of onelogin.Roles) is drift, and the next apply takes it off. Do not combine role_ids with those on the same app.

    A role managed by onelogin.Roles without an apps argument leaves this app alone. Add skip_membership_refresh = ["apps"] to that role to skip reading its apps as well.

    import * as pulumi from "@pulumi/pulumi";
    import * as onelogin from "@pulumi/onelogin";
    

    const engineering = new onelogin.Roles("engineering", { name: "Engineering", skipMembershipRefreshes: ["apps"], }); const support = new onelogin.Roles("support", { name: "Support", skipMembershipRefreshes: ["apps"], }); const example = new onelogin.SamlApps("example", { name: "Example", connectorId: 110016, roleIds: [ engineering.rolesId, support.rolesId, ], });

    import pulumi
    import pulumi_onelogin as onelogin
    
    engineering = onelogin.Roles("engineering",
        name="Engineering",
        skip_membership_refreshes=["apps"])
    support = onelogin.Roles("support",
        name="Support",
        skip_membership_refreshes=["apps"])
    example = onelogin.SamlApps("example",
        name="Example",
        connector_id=110016,
        role_ids=[
            engineering.roles_id,
            support.roles_id,
        ])
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Onelogin = Pulumi.Onelogin;
    
    return await Deployment.RunAsync(() => 
    {
        var engineering = new Onelogin.Roles("engineering", new()
        {
            Name = "Engineering",
            SkipMembershipRefreshes = new[]
            {
                "apps",
            },
        });
    
        var support = new Onelogin.Roles("support", new()
        {
            Name = "Support",
            SkipMembershipRefreshes = new[]
            {
                "apps",
            },
        });
    
        var example = new Onelogin.SamlApps("example", new()
        {
            Name = "Example",
            ConnectorId = 110016,
            RoleIds = new[]
            {
                engineering.RolesId,
                support.RolesId,
            },
        });
    
    });
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-terraform-provider/sdks/go/onelogin/onelogin"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		engineering, err := onelogin.NewRoles(ctx, "engineering", &onelogin.RolesArgs{
    			Name: pulumi.String("Engineering"),
    			SkipMembershipRefreshes: pulumi.StringArray{
    				pulumi.String("apps"),
    			},
    		})
    		if err != nil {
    			return err
    		}
    		support, err := onelogin.NewRoles(ctx, "support", &onelogin.RolesArgs{
    			Name: pulumi.String("Support"),
    			SkipMembershipRefreshes: pulumi.StringArray{
    				pulumi.String("apps"),
    			},
    		})
    		if err != nil {
    			return err
    		}
    		_, err = onelogin.NewSamlApps(ctx, "example", &onelogin.SamlAppsArgs{
    			Name:        pulumi.String("Example"),
    			ConnectorId: pulumi.Float64(110016),
    			RoleIds: pulumi.Float64Array{
    				engineering.RolesId,
    				support.RolesId,
    			},
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.onelogin.Roles;
    import com.pulumi.onelogin.RolesArgs;
    import com.pulumi.onelogin.SamlApps;
    import com.pulumi.onelogin.SamlAppsArgs;
    import java.util.List;
    import java.util.ArrayList;
    import java.util.Map;
    import java.io.File;
    import java.nio.file.Files;
    import java.nio.file.Paths;
    
    public class App {
        public static void main(String[] args) {
            Pulumi.run(App::stack);
        }
    
        public static void stack(Context ctx) {
            var engineering = new Roles("engineering", RolesArgs.builder()
                .name("Engineering")
                .skipMembershipRefreshes("apps")
                .build());
    
            var support = new Roles("support", RolesArgs.builder()
                .name("Support")
                .skipMembershipRefreshes("apps")
                .build());
    
            var example = new SamlApps("example", SamlAppsArgs.builder()
                .name("Example")
                .connectorId(110016.0)
                .roleIds(            
                    engineering.rolesId(),
                    support.rolesId())
                .build());
    
        }
    }
    
    resources:
      engineering:
        type: onelogin:Roles
        properties:
          name: Engineering
          skipMembershipRefreshes:
            - apps
      support:
        type: onelogin:Roles
        properties:
          name: Support
          skipMembershipRefreshes:
            - apps
      example:
        type: onelogin:SamlApps
        properties:
          name: Example
          connectorId: 110016
          roleIds:
            - ${engineering.rolesId}
            - ${support.rolesId}
    
    saml_apps_id string
    Certificate ID.
    visible bool
    Determine if app should be visible in OneLogin portal. Defaults to true.
    connectorId Double
    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.
    bearerTokenWo String
    bearerTokenWoVersion Double
    Change this to send bearer_token_wo on an update. Requires bearer_token_wo, and must be at least 1.
    brandId Double

    ID of the brand whose login page this app uses. Omit to fall back to the account default brand.

    Like policy_id, the attribute is computed as well as optional, so a brand assigned in the OneLogin admin UI is left alone by a configuration that does not mention brand_id, and removing the argument does not unassign it. Write brand_id = 0 to unassign; OneLogin refuses a literal 0 and wants null, which the provider sends on your behalf.

    configuration Map<String,String>
    Settings on the app's Configuration tab, as a map of strings. Any setting the connector has can be given by its name, for example audience. A name the connector does not have fails the apply with a 400. Settings left out are left alone.
    description String
    App description.
    name String
    The app's name.
    notes String
    Notes about the app.
    parameters List<SamlAppsParameter>
    A set of parameters for this app. Define a separate parameters block for each parameter you want to configure.
    policyId Double

    ID of the app policy enforced when users sign in to this app. Create one with onelogin.Policies.

    Only app policies can be assigned. A user policy is refused with The associated Policy with ID <id> could not be found, the same message the API gives for an ID that does not exist.

    The attribute is computed as well as optional, so a policy assigned in the OneLogin admin UI is left alone by a configuration that does not mention policy_id. The cost of that is that removing the argument does not unassign the policy — it leaves the last value in place. Write policy_id = 0 to unassign. OneLogin refuses a literal 0 and wants null for this, so the provider sends the null on your behalf.

    import * as pulumi from "@pulumi/pulumi";
    import * as onelogin from "@pulumi/onelogin";
    

    const financeApp = new onelogin.Policies("finance_app", { name: "Finance app step-up", kind: "app", forceAuthn: true, appForceAuthnOffset: 60, }); const finance = new onelogin.SamlApps("finance", { name: "Finance", connectorId: 108419, policyId: financeApp.policiesId, });

    import pulumi
    import pulumi_onelogin as onelogin
    
    finance_app = onelogin.Policies("finance_app",
        name="Finance app step-up",
        kind="app",
        force_authn=True,
        app_force_authn_offset=60)
    finance = onelogin.SamlApps("finance",
        name="Finance",
        connector_id=108419,
        policy_id=finance_app.policies_id)
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Onelogin = Pulumi.Onelogin;
    
    return await Deployment.RunAsync(() => 
    {
        var financeApp = new Onelogin.Policies("finance_app", new()
        {
            Name = "Finance app step-up",
            Kind = "app",
            ForceAuthn = true,
            AppForceAuthnOffset = 60,
        });
    
        var finance = new Onelogin.SamlApps("finance", new()
        {
            Name = "Finance",
            ConnectorId = 108419,
            PolicyId = financeApp.PoliciesId,
        });
    
    });
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-terraform-provider/sdks/go/onelogin/onelogin"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		financeApp, err := onelogin.NewPolicies(ctx, "finance_app", &onelogin.PoliciesArgs{
    			Name:                pulumi.String("Finance app step-up"),
    			Kind:                pulumi.String("app"),
    			ForceAuthn:          pulumi.Bool(true),
    			AppForceAuthnOffset: pulumi.Float64(60),
    		})
    		if err != nil {
    			return err
    		}
    		_, err = onelogin.NewSamlApps(ctx, "finance", &onelogin.SamlAppsArgs{
    			Name:        pulumi.String("Finance"),
    			ConnectorId: pulumi.Float64(108419),
    			PolicyId:    financeApp.PoliciesId,
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.onelogin.Policies;
    import com.pulumi.onelogin.PoliciesArgs;
    import com.pulumi.onelogin.SamlApps;
    import com.pulumi.onelogin.SamlAppsArgs;
    import java.util.List;
    import java.util.ArrayList;
    import java.util.Map;
    import java.io.File;
    import java.nio.file.Files;
    import java.nio.file.Paths;
    
    public class App {
        public static void main(String[] args) {
            Pulumi.run(App::stack);
        }
    
        public static void stack(Context ctx) {
            var financeApp = new Policies("financeApp", PoliciesArgs.builder()
                .name("Finance app step-up")
                .kind("app")
                .forceAuthn(true)
                .appForceAuthnOffset(60.0)
                .build());
    
            var finance = new SamlApps("finance", SamlAppsArgs.builder()
                .name("Finance")
                .connectorId(108419.0)
                .policyId(financeApp.policiesId())
                .build());
    
        }
    }
    
    resources:
      financeApp:
        type: onelogin:Policies
        name: finance_app
        properties:
          name: Finance app step-up
          kind: app
          forceAuthn: true
          appForceAuthnOffset: 60
      finance:
        type: onelogin:SamlApps
        properties:
          name: Finance
          connectorId: 108419
          policyId: ${financeApp.policiesId}
    
    provisioning Map<String,Boolean>
    Settings regarding the app's provisioning ability.
    roleIds List<Double>

    IDs of the roles whose users get this app. When set, the app's roles are exactly this set, written in a single create or update. Use it instead of one onelogin.AppRoleAttachments per role when assigning several roles to the same app.

    The attribute is computed as well as optional, so roles assigned some other way are left alone by a configuration that does not mention role_ids, and removing the argument leaves the current roles in place. Write role_ids = [] to remove every role.

    Once role_ids is set, it is authoritative: a role given the app anywhere else (the OneLogin admin UI, onelogin.AppRoleAttachments, or the apps argument of onelogin.Roles) is drift, and the next apply takes it off. Do not combine role_ids with those on the same app.

    A role managed by onelogin.Roles without an apps argument leaves this app alone. Add skip_membership_refresh = ["apps"] to that role to skip reading its apps as well.

    import * as pulumi from "@pulumi/pulumi";
    import * as onelogin from "@pulumi/onelogin";
    

    const engineering = new onelogin.Roles("engineering", { name: "Engineering", skipMembershipRefreshes: ["apps"], }); const support = new onelogin.Roles("support", { name: "Support", skipMembershipRefreshes: ["apps"], }); const example = new onelogin.SamlApps("example", { name: "Example", connectorId: 110016, roleIds: [ engineering.rolesId, support.rolesId, ], });

    import pulumi
    import pulumi_onelogin as onelogin
    
    engineering = onelogin.Roles("engineering",
        name="Engineering",
        skip_membership_refreshes=["apps"])
    support = onelogin.Roles("support",
        name="Support",
        skip_membership_refreshes=["apps"])
    example = onelogin.SamlApps("example",
        name="Example",
        connector_id=110016,
        role_ids=[
            engineering.roles_id,
            support.roles_id,
        ])
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Onelogin = Pulumi.Onelogin;
    
    return await Deployment.RunAsync(() => 
    {
        var engineering = new Onelogin.Roles("engineering", new()
        {
            Name = "Engineering",
            SkipMembershipRefreshes = new[]
            {
                "apps",
            },
        });
    
        var support = new Onelogin.Roles("support", new()
        {
            Name = "Support",
            SkipMembershipRefreshes = new[]
            {
                "apps",
            },
        });
    
        var example = new Onelogin.SamlApps("example", new()
        {
            Name = "Example",
            ConnectorId = 110016,
            RoleIds = new[]
            {
                engineering.RolesId,
                support.RolesId,
            },
        });
    
    });
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-terraform-provider/sdks/go/onelogin/onelogin"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		engineering, err := onelogin.NewRoles(ctx, "engineering", &onelogin.RolesArgs{
    			Name: pulumi.String("Engineering"),
    			SkipMembershipRefreshes: pulumi.StringArray{
    				pulumi.String("apps"),
    			},
    		})
    		if err != nil {
    			return err
    		}
    		support, err := onelogin.NewRoles(ctx, "support", &onelogin.RolesArgs{
    			Name: pulumi.String("Support"),
    			SkipMembershipRefreshes: pulumi.StringArray{
    				pulumi.String("apps"),
    			},
    		})
    		if err != nil {
    			return err
    		}
    		_, err = onelogin.NewSamlApps(ctx, "example", &onelogin.SamlAppsArgs{
    			Name:        pulumi.String("Example"),
    			ConnectorId: pulumi.Float64(110016),
    			RoleIds: pulumi.Float64Array{
    				engineering.RolesId,
    				support.RolesId,
    			},
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.onelogin.Roles;
    import com.pulumi.onelogin.RolesArgs;
    import com.pulumi.onelogin.SamlApps;
    import com.pulumi.onelogin.SamlAppsArgs;
    import java.util.List;
    import java.util.ArrayList;
    import java.util.Map;
    import java.io.File;
    import java.nio.file.Files;
    import java.nio.file.Paths;
    
    public class App {
        public static void main(String[] args) {
            Pulumi.run(App::stack);
        }
    
        public static void stack(Context ctx) {
            var engineering = new Roles("engineering", RolesArgs.builder()
                .name("Engineering")
                .skipMembershipRefreshes("apps")
                .build());
    
            var support = new Roles("support", RolesArgs.builder()
                .name("Support")
                .skipMembershipRefreshes("apps")
                .build());
    
            var example = new SamlApps("example", SamlAppsArgs.builder()
                .name("Example")
                .connectorId(110016.0)
                .roleIds(            
                    engineering.rolesId(),
                    support.rolesId())
                .build());
    
        }
    }
    
    resources:
      engineering:
        type: onelogin:Roles
        properties:
          name: Engineering
          skipMembershipRefreshes:
            - apps
      support:
        type: onelogin:Roles
        properties:
          name: Support
          skipMembershipRefreshes:
            - apps
      example:
        type: onelogin:SamlApps
        properties:
          name: Example
          connectorId: 110016
          roleIds:
            - ${engineering.rolesId}
            - ${support.rolesId}
    
    samlAppsId String
    Certificate ID.
    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.
    bearerTokenWo string
    bearerTokenWoVersion number
    Change this to send bearer_token_wo on an update. Requires bearer_token_wo, and must be at least 1.
    brandId number

    ID of the brand whose login page this app uses. Omit to fall back to the account default brand.

    Like policy_id, the attribute is computed as well as optional, so a brand assigned in the OneLogin admin UI is left alone by a configuration that does not mention brand_id, and removing the argument does not unassign it. Write brand_id = 0 to unassign; OneLogin refuses a literal 0 and wants null, which the provider sends on your behalf.

    configuration {[key: string]: string}
    Settings on the app's Configuration tab, as a map of strings. Any setting the connector has can be given by its name, for example audience. A name the connector does not have fails the apply with a 400. Settings left out are left alone.
    description string
    App description.
    name string
    The app's name.
    notes string
    Notes about the app.
    parameters SamlAppsParameter[]
    A set of parameters for this app. Define a separate parameters block for each parameter you want to configure.
    policyId number

    ID of the app policy enforced when users sign in to this app. Create one with onelogin.Policies.

    Only app policies can be assigned. A user policy is refused with The associated Policy with ID <id> could not be found, the same message the API gives for an ID that does not exist.

    The attribute is computed as well as optional, so a policy assigned in the OneLogin admin UI is left alone by a configuration that does not mention policy_id. The cost of that is that removing the argument does not unassign the policy — it leaves the last value in place. Write policy_id = 0 to unassign. OneLogin refuses a literal 0 and wants null for this, so the provider sends the null on your behalf.

    import * as pulumi from "@pulumi/pulumi";
    import * as onelogin from "@pulumi/onelogin";
    

    const financeApp = new onelogin.Policies("finance_app", { name: "Finance app step-up", kind: "app", forceAuthn: true, appForceAuthnOffset: 60, }); const finance = new onelogin.SamlApps("finance", { name: "Finance", connectorId: 108419, policyId: financeApp.policiesId, });

    import pulumi
    import pulumi_onelogin as onelogin
    
    finance_app = onelogin.Policies("finance_app",
        name="Finance app step-up",
        kind="app",
        force_authn=True,
        app_force_authn_offset=60)
    finance = onelogin.SamlApps("finance",
        name="Finance",
        connector_id=108419,
        policy_id=finance_app.policies_id)
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Onelogin = Pulumi.Onelogin;
    
    return await Deployment.RunAsync(() => 
    {
        var financeApp = new Onelogin.Policies("finance_app", new()
        {
            Name = "Finance app step-up",
            Kind = "app",
            ForceAuthn = true,
            AppForceAuthnOffset = 60,
        });
    
        var finance = new Onelogin.SamlApps("finance", new()
        {
            Name = "Finance",
            ConnectorId = 108419,
            PolicyId = financeApp.PoliciesId,
        });
    
    });
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-terraform-provider/sdks/go/onelogin/onelogin"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		financeApp, err := onelogin.NewPolicies(ctx, "finance_app", &onelogin.PoliciesArgs{
    			Name:                pulumi.String("Finance app step-up"),
    			Kind:                pulumi.String("app"),
    			ForceAuthn:          pulumi.Bool(true),
    			AppForceAuthnOffset: pulumi.Float64(60),
    		})
    		if err != nil {
    			return err
    		}
    		_, err = onelogin.NewSamlApps(ctx, "finance", &onelogin.SamlAppsArgs{
    			Name:        pulumi.String("Finance"),
    			ConnectorId: pulumi.Float64(108419),
    			PolicyId:    financeApp.PoliciesId,
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.onelogin.Policies;
    import com.pulumi.onelogin.PoliciesArgs;
    import com.pulumi.onelogin.SamlApps;
    import com.pulumi.onelogin.SamlAppsArgs;
    import java.util.List;
    import java.util.ArrayList;
    import java.util.Map;
    import java.io.File;
    import java.nio.file.Files;
    import java.nio.file.Paths;
    
    public class App {
        public static void main(String[] args) {
            Pulumi.run(App::stack);
        }
    
        public static void stack(Context ctx) {
            var financeApp = new Policies("financeApp", PoliciesArgs.builder()
                .name("Finance app step-up")
                .kind("app")
                .forceAuthn(true)
                .appForceAuthnOffset(60.0)
                .build());
    
            var finance = new SamlApps("finance", SamlAppsArgs.builder()
                .name("Finance")
                .connectorId(108419.0)
                .policyId(financeApp.policiesId())
                .build());
    
        }
    }
    
    resources:
      financeApp:
        type: onelogin:Policies
        name: finance_app
        properties:
          name: Finance app step-up
          kind: app
          forceAuthn: true
          appForceAuthnOffset: 60
      finance:
        type: onelogin:SamlApps
        properties:
          name: Finance
          connectorId: 108419
          policyId: ${financeApp.policiesId}
    
    provisioning {[key: string]: boolean}
    Settings regarding the app's provisioning ability.
    roleIds number[]

    IDs of the roles whose users get this app. When set, the app's roles are exactly this set, written in a single create or update. Use it instead of one onelogin.AppRoleAttachments per role when assigning several roles to the same app.

    The attribute is computed as well as optional, so roles assigned some other way are left alone by a configuration that does not mention role_ids, and removing the argument leaves the current roles in place. Write role_ids = [] to remove every role.

    Once role_ids is set, it is authoritative: a role given the app anywhere else (the OneLogin admin UI, onelogin.AppRoleAttachments, or the apps argument of onelogin.Roles) is drift, and the next apply takes it off. Do not combine role_ids with those on the same app.

    A role managed by onelogin.Roles without an apps argument leaves this app alone. Add skip_membership_refresh = ["apps"] to that role to skip reading its apps as well.

    import * as pulumi from "@pulumi/pulumi";
    import * as onelogin from "@pulumi/onelogin";
    

    const engineering = new onelogin.Roles("engineering", { name: "Engineering", skipMembershipRefreshes: ["apps"], }); const support = new onelogin.Roles("support", { name: "Support", skipMembershipRefreshes: ["apps"], }); const example = new onelogin.SamlApps("example", { name: "Example", connectorId: 110016, roleIds: [ engineering.rolesId, support.rolesId, ], });

    import pulumi
    import pulumi_onelogin as onelogin
    
    engineering = onelogin.Roles("engineering",
        name="Engineering",
        skip_membership_refreshes=["apps"])
    support = onelogin.Roles("support",
        name="Support",
        skip_membership_refreshes=["apps"])
    example = onelogin.SamlApps("example",
        name="Example",
        connector_id=110016,
        role_ids=[
            engineering.roles_id,
            support.roles_id,
        ])
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Onelogin = Pulumi.Onelogin;
    
    return await Deployment.RunAsync(() => 
    {
        var engineering = new Onelogin.Roles("engineering", new()
        {
            Name = "Engineering",
            SkipMembershipRefreshes = new[]
            {
                "apps",
            },
        });
    
        var support = new Onelogin.Roles("support", new()
        {
            Name = "Support",
            SkipMembershipRefreshes = new[]
            {
                "apps",
            },
        });
    
        var example = new Onelogin.SamlApps("example", new()
        {
            Name = "Example",
            ConnectorId = 110016,
            RoleIds = new[]
            {
                engineering.RolesId,
                support.RolesId,
            },
        });
    
    });
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-terraform-provider/sdks/go/onelogin/onelogin"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		engineering, err := onelogin.NewRoles(ctx, "engineering", &onelogin.RolesArgs{
    			Name: pulumi.String("Engineering"),
    			SkipMembershipRefreshes: pulumi.StringArray{
    				pulumi.String("apps"),
    			},
    		})
    		if err != nil {
    			return err
    		}
    		support, err := onelogin.NewRoles(ctx, "support", &onelogin.RolesArgs{
    			Name: pulumi.String("Support"),
    			SkipMembershipRefreshes: pulumi.StringArray{
    				pulumi.String("apps"),
    			},
    		})
    		if err != nil {
    			return err
    		}
    		_, err = onelogin.NewSamlApps(ctx, "example", &onelogin.SamlAppsArgs{
    			Name:        pulumi.String("Example"),
    			ConnectorId: pulumi.Float64(110016),
    			RoleIds: pulumi.Float64Array{
    				engineering.RolesId,
    				support.RolesId,
    			},
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.onelogin.Roles;
    import com.pulumi.onelogin.RolesArgs;
    import com.pulumi.onelogin.SamlApps;
    import com.pulumi.onelogin.SamlAppsArgs;
    import java.util.List;
    import java.util.ArrayList;
    import java.util.Map;
    import java.io.File;
    import java.nio.file.Files;
    import java.nio.file.Paths;
    
    public class App {
        public static void main(String[] args) {
            Pulumi.run(App::stack);
        }
    
        public static void stack(Context ctx) {
            var engineering = new Roles("engineering", RolesArgs.builder()
                .name("Engineering")
                .skipMembershipRefreshes("apps")
                .build());
    
            var support = new Roles("support", RolesArgs.builder()
                .name("Support")
                .skipMembershipRefreshes("apps")
                .build());
    
            var example = new SamlApps("example", SamlAppsArgs.builder()
                .name("Example")
                .connectorId(110016.0)
                .roleIds(            
                    engineering.rolesId(),
                    support.rolesId())
                .build());
    
        }
    }
    
    resources:
      engineering:
        type: onelogin:Roles
        properties:
          name: Engineering
          skipMembershipRefreshes:
            - apps
      support:
        type: onelogin:Roles
        properties:
          name: Support
          skipMembershipRefreshes:
            - apps
      example:
        type: onelogin:SamlApps
        properties:
          name: Example
          connectorId: 110016
          roleIds:
            - ${engineering.rolesId}
            - ${support.rolesId}
    
    samlAppsId string
    Certificate ID.
    visible boolean
    Determine if app should be visible in OneLogin portal. Defaults to true.
    connector_id float
    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.
    bearer_token_wo str
    bearer_token_wo_version float
    Change this to send bearer_token_wo on an update. Requires bearer_token_wo, and must be at least 1.
    brand_id float

    ID of the brand whose login page this app uses. Omit to fall back to the account default brand.

    Like policy_id, the attribute is computed as well as optional, so a brand assigned in the OneLogin admin UI is left alone by a configuration that does not mention brand_id, and removing the argument does not unassign it. Write brand_id = 0 to unassign; OneLogin refuses a literal 0 and wants null, which the provider sends on your behalf.

    configuration Mapping[str, str]
    Settings on the app's Configuration tab, as a map of strings. Any setting the connector has can be given by its name, for example audience. A name the connector does not have fails the apply with a 400. Settings left out are left alone.
    description str
    App description.
    name str
    The app's name.
    notes str
    Notes about the app.
    parameters Sequence[SamlAppsParameterArgs]
    A set of parameters for this app. Define a separate parameters block for each parameter you want to configure.
    policy_id float

    ID of the app policy enforced when users sign in to this app. Create one with onelogin.Policies.

    Only app policies can be assigned. A user policy is refused with The associated Policy with ID <id> could not be found, the same message the API gives for an ID that does not exist.

    The attribute is computed as well as optional, so a policy assigned in the OneLogin admin UI is left alone by a configuration that does not mention policy_id. The cost of that is that removing the argument does not unassign the policy — it leaves the last value in place. Write policy_id = 0 to unassign. OneLogin refuses a literal 0 and wants null for this, so the provider sends the null on your behalf.

    import * as pulumi from "@pulumi/pulumi";
    import * as onelogin from "@pulumi/onelogin";
    

    const financeApp = new onelogin.Policies("finance_app", { name: "Finance app step-up", kind: "app", forceAuthn: true, appForceAuthnOffset: 60, }); const finance = new onelogin.SamlApps("finance", { name: "Finance", connectorId: 108419, policyId: financeApp.policiesId, });

    import pulumi
    import pulumi_onelogin as onelogin
    
    finance_app = onelogin.Policies("finance_app",
        name="Finance app step-up",
        kind="app",
        force_authn=True,
        app_force_authn_offset=60)
    finance = onelogin.SamlApps("finance",
        name="Finance",
        connector_id=108419,
        policy_id=finance_app.policies_id)
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Onelogin = Pulumi.Onelogin;
    
    return await Deployment.RunAsync(() => 
    {
        var financeApp = new Onelogin.Policies("finance_app", new()
        {
            Name = "Finance app step-up",
            Kind = "app",
            ForceAuthn = true,
            AppForceAuthnOffset = 60,
        });
    
        var finance = new Onelogin.SamlApps("finance", new()
        {
            Name = "Finance",
            ConnectorId = 108419,
            PolicyId = financeApp.PoliciesId,
        });
    
    });
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-terraform-provider/sdks/go/onelogin/onelogin"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		financeApp, err := onelogin.NewPolicies(ctx, "finance_app", &onelogin.PoliciesArgs{
    			Name:                pulumi.String("Finance app step-up"),
    			Kind:                pulumi.String("app"),
    			ForceAuthn:          pulumi.Bool(true),
    			AppForceAuthnOffset: pulumi.Float64(60),
    		})
    		if err != nil {
    			return err
    		}
    		_, err = onelogin.NewSamlApps(ctx, "finance", &onelogin.SamlAppsArgs{
    			Name:        pulumi.String("Finance"),
    			ConnectorId: pulumi.Float64(108419),
    			PolicyId:    financeApp.PoliciesId,
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.onelogin.Policies;
    import com.pulumi.onelogin.PoliciesArgs;
    import com.pulumi.onelogin.SamlApps;
    import com.pulumi.onelogin.SamlAppsArgs;
    import java.util.List;
    import java.util.ArrayList;
    import java.util.Map;
    import java.io.File;
    import java.nio.file.Files;
    import java.nio.file.Paths;
    
    public class App {
        public static void main(String[] args) {
            Pulumi.run(App::stack);
        }
    
        public static void stack(Context ctx) {
            var financeApp = new Policies("financeApp", PoliciesArgs.builder()
                .name("Finance app step-up")
                .kind("app")
                .forceAuthn(true)
                .appForceAuthnOffset(60.0)
                .build());
    
            var finance = new SamlApps("finance", SamlAppsArgs.builder()
                .name("Finance")
                .connectorId(108419.0)
                .policyId(financeApp.policiesId())
                .build());
    
        }
    }
    
    resources:
      financeApp:
        type: onelogin:Policies
        name: finance_app
        properties:
          name: Finance app step-up
          kind: app
          forceAuthn: true
          appForceAuthnOffset: 60
      finance:
        type: onelogin:SamlApps
        properties:
          name: Finance
          connectorId: 108419
          policyId: ${financeApp.policiesId}
    
    provisioning Mapping[str, bool]
    Settings regarding the app's provisioning ability.
    role_ids Sequence[float]

    IDs of the roles whose users get this app. When set, the app's roles are exactly this set, written in a single create or update. Use it instead of one onelogin.AppRoleAttachments per role when assigning several roles to the same app.

    The attribute is computed as well as optional, so roles assigned some other way are left alone by a configuration that does not mention role_ids, and removing the argument leaves the current roles in place. Write role_ids = [] to remove every role.

    Once role_ids is set, it is authoritative: a role given the app anywhere else (the OneLogin admin UI, onelogin.AppRoleAttachments, or the apps argument of onelogin.Roles) is drift, and the next apply takes it off. Do not combine role_ids with those on the same app.

    A role managed by onelogin.Roles without an apps argument leaves this app alone. Add skip_membership_refresh = ["apps"] to that role to skip reading its apps as well.

    import * as pulumi from "@pulumi/pulumi";
    import * as onelogin from "@pulumi/onelogin";
    

    const engineering = new onelogin.Roles("engineering", { name: "Engineering", skipMembershipRefreshes: ["apps"], }); const support = new onelogin.Roles("support", { name: "Support", skipMembershipRefreshes: ["apps"], }); const example = new onelogin.SamlApps("example", { name: "Example", connectorId: 110016, roleIds: [ engineering.rolesId, support.rolesId, ], });

    import pulumi
    import pulumi_onelogin as onelogin
    
    engineering = onelogin.Roles("engineering",
        name="Engineering",
        skip_membership_refreshes=["apps"])
    support = onelogin.Roles("support",
        name="Support",
        skip_membership_refreshes=["apps"])
    example = onelogin.SamlApps("example",
        name="Example",
        connector_id=110016,
        role_ids=[
            engineering.roles_id,
            support.roles_id,
        ])
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Onelogin = Pulumi.Onelogin;
    
    return await Deployment.RunAsync(() => 
    {
        var engineering = new Onelogin.Roles("engineering", new()
        {
            Name = "Engineering",
            SkipMembershipRefreshes = new[]
            {
                "apps",
            },
        });
    
        var support = new Onelogin.Roles("support", new()
        {
            Name = "Support",
            SkipMembershipRefreshes = new[]
            {
                "apps",
            },
        });
    
        var example = new Onelogin.SamlApps("example", new()
        {
            Name = "Example",
            ConnectorId = 110016,
            RoleIds = new[]
            {
                engineering.RolesId,
                support.RolesId,
            },
        });
    
    });
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-terraform-provider/sdks/go/onelogin/onelogin"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		engineering, err := onelogin.NewRoles(ctx, "engineering", &onelogin.RolesArgs{
    			Name: pulumi.String("Engineering"),
    			SkipMembershipRefreshes: pulumi.StringArray{
    				pulumi.String("apps"),
    			},
    		})
    		if err != nil {
    			return err
    		}
    		support, err := onelogin.NewRoles(ctx, "support", &onelogin.RolesArgs{
    			Name: pulumi.String("Support"),
    			SkipMembershipRefreshes: pulumi.StringArray{
    				pulumi.String("apps"),
    			},
    		})
    		if err != nil {
    			return err
    		}
    		_, err = onelogin.NewSamlApps(ctx, "example", &onelogin.SamlAppsArgs{
    			Name:        pulumi.String("Example"),
    			ConnectorId: pulumi.Float64(110016),
    			RoleIds: pulumi.Float64Array{
    				engineering.RolesId,
    				support.RolesId,
    			},
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.onelogin.Roles;
    import com.pulumi.onelogin.RolesArgs;
    import com.pulumi.onelogin.SamlApps;
    import com.pulumi.onelogin.SamlAppsArgs;
    import java.util.List;
    import java.util.ArrayList;
    import java.util.Map;
    import java.io.File;
    import java.nio.file.Files;
    import java.nio.file.Paths;
    
    public class App {
        public static void main(String[] args) {
            Pulumi.run(App::stack);
        }
    
        public static void stack(Context ctx) {
            var engineering = new Roles("engineering", RolesArgs.builder()
                .name("Engineering")
                .skipMembershipRefreshes("apps")
                .build());
    
            var support = new Roles("support", RolesArgs.builder()
                .name("Support")
                .skipMembershipRefreshes("apps")
                .build());
    
            var example = new SamlApps("example", SamlAppsArgs.builder()
                .name("Example")
                .connectorId(110016.0)
                .roleIds(            
                    engineering.rolesId(),
                    support.rolesId())
                .build());
    
        }
    }
    
    resources:
      engineering:
        type: onelogin:Roles
        properties:
          name: Engineering
          skipMembershipRefreshes:
            - apps
      support:
        type: onelogin:Roles
        properties:
          name: Support
          skipMembershipRefreshes:
            - apps
      example:
        type: onelogin:SamlApps
        properties:
          name: Example
          connectorId: 110016
          roleIds:
            - ${engineering.rolesId}
            - ${support.rolesId}
    
    saml_apps_id str
    Certificate ID.
    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.
    bearerTokenWo String
    bearerTokenWoVersion Number
    Change this to send bearer_token_wo on an update. Requires bearer_token_wo, and must be at least 1.
    brandId Number

    ID of the brand whose login page this app uses. Omit to fall back to the account default brand.

    Like policy_id, the attribute is computed as well as optional, so a brand assigned in the OneLogin admin UI is left alone by a configuration that does not mention brand_id, and removing the argument does not unassign it. Write brand_id = 0 to unassign; OneLogin refuses a literal 0 and wants null, which the provider sends on your behalf.

    configuration Map<String>
    Settings on the app's Configuration tab, as a map of strings. Any setting the connector has can be given by its name, for example audience. A name the connector does not have fails the apply with a 400. Settings left out are left alone.
    description String
    App description.
    name String
    The app's name.
    notes String
    Notes about the app.
    parameters List<Property Map>
    A set of parameters for this app. Define a separate parameters block for each parameter you want to configure.
    policyId Number

    ID of the app policy enforced when users sign in to this app. Create one with onelogin.Policies.

    Only app policies can be assigned. A user policy is refused with The associated Policy with ID <id> could not be found, the same message the API gives for an ID that does not exist.

    The attribute is computed as well as optional, so a policy assigned in the OneLogin admin UI is left alone by a configuration that does not mention policy_id. The cost of that is that removing the argument does not unassign the policy — it leaves the last value in place. Write policy_id = 0 to unassign. OneLogin refuses a literal 0 and wants null for this, so the provider sends the null on your behalf.

    import * as pulumi from "@pulumi/pulumi";
    import * as onelogin from "@pulumi/onelogin";
    

    const financeApp = new onelogin.Policies("finance_app", { name: "Finance app step-up", kind: "app", forceAuthn: true, appForceAuthnOffset: 60, }); const finance = new onelogin.SamlApps("finance", { name: "Finance", connectorId: 108419, policyId: financeApp.policiesId, });

    import pulumi
    import pulumi_onelogin as onelogin
    
    finance_app = onelogin.Policies("finance_app",
        name="Finance app step-up",
        kind="app",
        force_authn=True,
        app_force_authn_offset=60)
    finance = onelogin.SamlApps("finance",
        name="Finance",
        connector_id=108419,
        policy_id=finance_app.policies_id)
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Onelogin = Pulumi.Onelogin;
    
    return await Deployment.RunAsync(() => 
    {
        var financeApp = new Onelogin.Policies("finance_app", new()
        {
            Name = "Finance app step-up",
            Kind = "app",
            ForceAuthn = true,
            AppForceAuthnOffset = 60,
        });
    
        var finance = new Onelogin.SamlApps("finance", new()
        {
            Name = "Finance",
            ConnectorId = 108419,
            PolicyId = financeApp.PoliciesId,
        });
    
    });
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-terraform-provider/sdks/go/onelogin/onelogin"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		financeApp, err := onelogin.NewPolicies(ctx, "finance_app", &onelogin.PoliciesArgs{
    			Name:                pulumi.String("Finance app step-up"),
    			Kind:                pulumi.String("app"),
    			ForceAuthn:          pulumi.Bool(true),
    			AppForceAuthnOffset: pulumi.Float64(60),
    		})
    		if err != nil {
    			return err
    		}
    		_, err = onelogin.NewSamlApps(ctx, "finance", &onelogin.SamlAppsArgs{
    			Name:        pulumi.String("Finance"),
    			ConnectorId: pulumi.Float64(108419),
    			PolicyId:    financeApp.PoliciesId,
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.onelogin.Policies;
    import com.pulumi.onelogin.PoliciesArgs;
    import com.pulumi.onelogin.SamlApps;
    import com.pulumi.onelogin.SamlAppsArgs;
    import java.util.List;
    import java.util.ArrayList;
    import java.util.Map;
    import java.io.File;
    import java.nio.file.Files;
    import java.nio.file.Paths;
    
    public class App {
        public static void main(String[] args) {
            Pulumi.run(App::stack);
        }
    
        public static void stack(Context ctx) {
            var financeApp = new Policies("financeApp", PoliciesArgs.builder()
                .name("Finance app step-up")
                .kind("app")
                .forceAuthn(true)
                .appForceAuthnOffset(60.0)
                .build());
    
            var finance = new SamlApps("finance", SamlAppsArgs.builder()
                .name("Finance")
                .connectorId(108419.0)
                .policyId(financeApp.policiesId())
                .build());
    
        }
    }
    
    resources:
      financeApp:
        type: onelogin:Policies
        name: finance_app
        properties:
          name: Finance app step-up
          kind: app
          forceAuthn: true
          appForceAuthnOffset: 60
      finance:
        type: onelogin:SamlApps
        properties:
          name: Finance
          connectorId: 108419
          policyId: ${financeApp.policiesId}
    
    provisioning Map<Boolean>
    Settings regarding the app's provisioning ability.
    roleIds List<Number>

    IDs of the roles whose users get this app. When set, the app's roles are exactly this set, written in a single create or update. Use it instead of one onelogin.AppRoleAttachments per role when assigning several roles to the same app.

    The attribute is computed as well as optional, so roles assigned some other way are left alone by a configuration that does not mention role_ids, and removing the argument leaves the current roles in place. Write role_ids = [] to remove every role.

    Once role_ids is set, it is authoritative: a role given the app anywhere else (the OneLogin admin UI, onelogin.AppRoleAttachments, or the apps argument of onelogin.Roles) is drift, and the next apply takes it off. Do not combine role_ids with those on the same app.

    A role managed by onelogin.Roles without an apps argument leaves this app alone. Add skip_membership_refresh = ["apps"] to that role to skip reading its apps as well.

    import * as pulumi from "@pulumi/pulumi";
    import * as onelogin from "@pulumi/onelogin";
    

    const engineering = new onelogin.Roles("engineering", { name: "Engineering", skipMembershipRefreshes: ["apps"], }); const support = new onelogin.Roles("support", { name: "Support", skipMembershipRefreshes: ["apps"], }); const example = new onelogin.SamlApps("example", { name: "Example", connectorId: 110016, roleIds: [ engineering.rolesId, support.rolesId, ], });

    import pulumi
    import pulumi_onelogin as onelogin
    
    engineering = onelogin.Roles("engineering",
        name="Engineering",
        skip_membership_refreshes=["apps"])
    support = onelogin.Roles("support",
        name="Support",
        skip_membership_refreshes=["apps"])
    example = onelogin.SamlApps("example",
        name="Example",
        connector_id=110016,
        role_ids=[
            engineering.roles_id,
            support.roles_id,
        ])
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Onelogin = Pulumi.Onelogin;
    
    return await Deployment.RunAsync(() => 
    {
        var engineering = new Onelogin.Roles("engineering", new()
        {
            Name = "Engineering",
            SkipMembershipRefreshes = new[]
            {
                "apps",
            },
        });
    
        var support = new Onelogin.Roles("support", new()
        {
            Name = "Support",
            SkipMembershipRefreshes = new[]
            {
                "apps",
            },
        });
    
        var example = new Onelogin.SamlApps("example", new()
        {
            Name = "Example",
            ConnectorId = 110016,
            RoleIds = new[]
            {
                engineering.RolesId,
                support.RolesId,
            },
        });
    
    });
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-terraform-provider/sdks/go/onelogin/onelogin"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		engineering, err := onelogin.NewRoles(ctx, "engineering", &onelogin.RolesArgs{
    			Name: pulumi.String("Engineering"),
    			SkipMembershipRefreshes: pulumi.StringArray{
    				pulumi.String("apps"),
    			},
    		})
    		if err != nil {
    			return err
    		}
    		support, err := onelogin.NewRoles(ctx, "support", &onelogin.RolesArgs{
    			Name: pulumi.String("Support"),
    			SkipMembershipRefreshes: pulumi.StringArray{
    				pulumi.String("apps"),
    			},
    		})
    		if err != nil {
    			return err
    		}
    		_, err = onelogin.NewSamlApps(ctx, "example", &onelogin.SamlAppsArgs{
    			Name:        pulumi.String("Example"),
    			ConnectorId: pulumi.Float64(110016),
    			RoleIds: pulumi.Float64Array{
    				engineering.RolesId,
    				support.RolesId,
    			},
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.onelogin.Roles;
    import com.pulumi.onelogin.RolesArgs;
    import com.pulumi.onelogin.SamlApps;
    import com.pulumi.onelogin.SamlAppsArgs;
    import java.util.List;
    import java.util.ArrayList;
    import java.util.Map;
    import java.io.File;
    import java.nio.file.Files;
    import java.nio.file.Paths;
    
    public class App {
        public static void main(String[] args) {
            Pulumi.run(App::stack);
        }
    
        public static void stack(Context ctx) {
            var engineering = new Roles("engineering", RolesArgs.builder()
                .name("Engineering")
                .skipMembershipRefreshes("apps")
                .build());
    
            var support = new Roles("support", RolesArgs.builder()
                .name("Support")
                .skipMembershipRefreshes("apps")
                .build());
    
            var example = new SamlApps("example", SamlAppsArgs.builder()
                .name("Example")
                .connectorId(110016.0)
                .roleIds(            
                    engineering.rolesId(),
                    support.rolesId())
                .build());
    
        }
    }
    
    resources:
      engineering:
        type: onelogin:Roles
        properties:
          name: Engineering
          skipMembershipRefreshes:
            - apps
      support:
        type: onelogin:Roles
        properties:
          name: Support
          skipMembershipRefreshes:
            - apps
      example:
        type: onelogin:SamlApps
        properties:
          name: Example
          connectorId: 110016
          roleIds:
            - ${engineering.rolesId}
            - ${support.rolesId}
    
    samlAppsId String
    Certificate ID.
    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 SamlApps resource produces the following output properties:

    AuthMethod double
    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.
    Sso Dictionary<string, string>
    The attributes included in the sso section are determined by the type of app. sso is read only and cannot be set in configuration; OneLogin supplies every value.
    TabId double
    The tab in which to display in OneLogin portal.
    UpdatedAt string
    Timestamp for app's last update.
    AuthMethod float64
    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.
    Sso map[string]string
    The attributes included in the sso section are determined by the type of app. sso is read only and cannot be set in configuration; OneLogin supplies every value.
    TabId float64
    The tab in which to display in OneLogin portal.
    UpdatedAt string
    Timestamp for app's last update.
    auth_method number
    The apps auth method. Refer to the OneLogin Apps Documentation for a comprehensive list of available auth methods.
    created_at string
    Timestamp for app's creation.
    icon_url string
    The url for the app's icon.
    id string
    The provider-assigned unique ID for this managed resource.
    sso map(string)
    The attributes included in the sso section are determined by the type of app. sso is read only and cannot be set in configuration; OneLogin supplies every value.
    tab_id number
    The tab in which to display in OneLogin portal.
    updated_at string
    Timestamp for app's last update.
    authMethod Double
    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.
    sso Map<String,String>
    The attributes included in the sso section are determined by the type of app. sso is read only and cannot be set in configuration; OneLogin supplies every value.
    tabId Double
    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.
    sso {[key: string]: string}
    The attributes included in the sso section are determined by the type of app. sso is read only and cannot be set in configuration; OneLogin supplies every value.
    tabId number
    The tab in which to display in OneLogin portal.
    updatedAt string
    Timestamp for app's last update.
    auth_method float
    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.
    sso Mapping[str, str]
    The attributes included in the sso section are determined by the type of app. sso is read only and cannot be set in configuration; OneLogin supplies every value.
    tab_id float
    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.
    sso Map<String>
    The attributes included in the sso section are determined by the type of app. sso is read only and cannot be set in configuration; OneLogin supplies every value.
    tabId Number
    The tab in which to display in OneLogin portal.
    updatedAt String
    Timestamp for app's last update.

    Look up Existing SamlApps Resource

    Get an existing SamlApps 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?: SamlAppsState, opts?: CustomResourceOptions): SamlApps
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            allow_assumed_signin: Optional[bool] = None,
            auth_method: Optional[float] = None,
            bearer_token_wo: Optional[str] = None,
            bearer_token_wo_version: Optional[float] = None,
            brand_id: Optional[float] = None,
            configuration: Optional[Mapping[str, str]] = None,
            connector_id: Optional[float] = 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[SamlAppsParameterArgs]] = None,
            policy_id: Optional[float] = None,
            provisioning: Optional[Mapping[str, bool]] = None,
            role_ids: Optional[Sequence[float]] = None,
            saml_apps_id: Optional[str] = None,
            sso: Optional[Mapping[str, str]] = None,
            tab_id: Optional[float] = None,
            updated_at: Optional[str] = None,
            visible: Optional[bool] = None) -> SamlApps
    func GetSamlApps(ctx *Context, name string, id IDInput, state *SamlAppsState, opts ...ResourceOption) (*SamlApps, error)
    public static SamlApps Get(string name, Input<string> id, SamlAppsState? state, CustomResourceOptions? opts = null)
    public static SamlApps get(String name, Output<String> id, SamlAppsState state, CustomResourceOptions options)
    resources:  existingSamlApps:    type: onelogin:SamlApps    get:      id: ${id}
    import {
      to = onelogin_saml_apps.example
      id = "${id}"
    }
    
    name string
    The unique name of the resulting resource.
    id Input<ID>
    The unique provider ID of the resource to look up.
    state SamlAppsState
    Known property values the provider needs, along with the ID, to find the resource. Usually not required.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    resource_name str
    The unique name of the resulting resource.
    id str
    The unique provider ID of the resource to look up.
    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 resulting resource.
    id IDInput
    The unique provider ID of the resource to look up.
    state SamlAppsState
    Known property values the provider needs, along with the ID, to find the resource. Usually not required.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resulting resource.
    id Input<string>
    The unique provider ID of the resource to look up.
    state SamlAppsState
    Known property values the provider needs, along with the ID, to find the resource. Usually not required.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resulting resource.
    id Output<String>
    The unique provider ID of the resource to look up.
    state SamlAppsState
    Known property values the provider needs, along with the ID, to find the resource. Usually not required.
    options CustomResourceOptions
    Bag of options to control 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 double
    The apps auth method. Refer to the OneLogin Apps Documentation for a comprehensive list of available auth methods.
    BearerTokenWo string
    BearerTokenWoVersion double
    Change this to send bearer_token_wo on an update. Requires bearer_token_wo, and must be at least 1.
    BrandId double

    ID of the brand whose login page this app uses. Omit to fall back to the account default brand.

    Like policy_id, the attribute is computed as well as optional, so a brand assigned in the OneLogin admin UI is left alone by a configuration that does not mention brand_id, and removing the argument does not unassign it. Write brand_id = 0 to unassign; OneLogin refuses a literal 0 and wants null, which the provider sends on your behalf.

    Configuration Dictionary<string, string>
    Settings on the app's Configuration tab, as a map of strings. Any setting the connector has can be given by its name, for example audience. A name the connector does not have fails the apply with a 400. Settings left out are left alone.
    ConnectorId double
    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<SamlAppsParameter>
    A set of parameters for this app. Define a separate parameters block for each parameter you want to configure.
    PolicyId double

    ID of the app policy enforced when users sign in to this app. Create one with onelogin.Policies.

    Only app policies can be assigned. A user policy is refused with The associated Policy with ID <id> could not be found, the same message the API gives for an ID that does not exist.

    The attribute is computed as well as optional, so a policy assigned in the OneLogin admin UI is left alone by a configuration that does not mention policy_id. The cost of that is that removing the argument does not unassign the policy — it leaves the last value in place. Write policy_id = 0 to unassign. OneLogin refuses a literal 0 and wants null for this, so the provider sends the null on your behalf.

    import * as pulumi from "@pulumi/pulumi";
    import * as onelogin from "@pulumi/onelogin";
    

    const financeApp = new onelogin.Policies("finance_app", { name: "Finance app step-up", kind: "app", forceAuthn: true, appForceAuthnOffset: 60, }); const finance = new onelogin.SamlApps("finance", { name: "Finance", connectorId: 108419, policyId: financeApp.policiesId, });

    import pulumi
    import pulumi_onelogin as onelogin
    
    finance_app = onelogin.Policies("finance_app",
        name="Finance app step-up",
        kind="app",
        force_authn=True,
        app_force_authn_offset=60)
    finance = onelogin.SamlApps("finance",
        name="Finance",
        connector_id=108419,
        policy_id=finance_app.policies_id)
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Onelogin = Pulumi.Onelogin;
    
    return await Deployment.RunAsync(() => 
    {
        var financeApp = new Onelogin.Policies("finance_app", new()
        {
            Name = "Finance app step-up",
            Kind = "app",
            ForceAuthn = true,
            AppForceAuthnOffset = 60,
        });
    
        var finance = new Onelogin.SamlApps("finance", new()
        {
            Name = "Finance",
            ConnectorId = 108419,
            PolicyId = financeApp.PoliciesId,
        });
    
    });
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-terraform-provider/sdks/go/onelogin/onelogin"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		financeApp, err := onelogin.NewPolicies(ctx, "finance_app", &onelogin.PoliciesArgs{
    			Name:                pulumi.String("Finance app step-up"),
    			Kind:                pulumi.String("app"),
    			ForceAuthn:          pulumi.Bool(true),
    			AppForceAuthnOffset: pulumi.Float64(60),
    		})
    		if err != nil {
    			return err
    		}
    		_, err = onelogin.NewSamlApps(ctx, "finance", &onelogin.SamlAppsArgs{
    			Name:        pulumi.String("Finance"),
    			ConnectorId: pulumi.Float64(108419),
    			PolicyId:    financeApp.PoliciesId,
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.onelogin.Policies;
    import com.pulumi.onelogin.PoliciesArgs;
    import com.pulumi.onelogin.SamlApps;
    import com.pulumi.onelogin.SamlAppsArgs;
    import java.util.List;
    import java.util.ArrayList;
    import java.util.Map;
    import java.io.File;
    import java.nio.file.Files;
    import java.nio.file.Paths;
    
    public class App {
        public static void main(String[] args) {
            Pulumi.run(App::stack);
        }
    
        public static void stack(Context ctx) {
            var financeApp = new Policies("financeApp", PoliciesArgs.builder()
                .name("Finance app step-up")
                .kind("app")
                .forceAuthn(true)
                .appForceAuthnOffset(60.0)
                .build());
    
            var finance = new SamlApps("finance", SamlAppsArgs.builder()
                .name("Finance")
                .connectorId(108419.0)
                .policyId(financeApp.policiesId())
                .build());
    
        }
    }
    
    resources:
      financeApp:
        type: onelogin:Policies
        name: finance_app
        properties:
          name: Finance app step-up
          kind: app
          forceAuthn: true
          appForceAuthnOffset: 60
      finance:
        type: onelogin:SamlApps
        properties:
          name: Finance
          connectorId: 108419
          policyId: ${financeApp.policiesId}
    
    Provisioning Dictionary<string, bool>
    Settings regarding the app's provisioning ability.
    RoleIds List<double>

    IDs of the roles whose users get this app. When set, the app's roles are exactly this set, written in a single create or update. Use it instead of one onelogin.AppRoleAttachments per role when assigning several roles to the same app.

    The attribute is computed as well as optional, so roles assigned some other way are left alone by a configuration that does not mention role_ids, and removing the argument leaves the current roles in place. Write role_ids = [] to remove every role.

    Once role_ids is set, it is authoritative: a role given the app anywhere else (the OneLogin admin UI, onelogin.AppRoleAttachments, or the apps argument of onelogin.Roles) is drift, and the next apply takes it off. Do not combine role_ids with those on the same app.

    A role managed by onelogin.Roles without an apps argument leaves this app alone. Add skip_membership_refresh = ["apps"] to that role to skip reading its apps as well.

    import * as pulumi from "@pulumi/pulumi";
    import * as onelogin from "@pulumi/onelogin";
    

    const engineering = new onelogin.Roles("engineering", { name: "Engineering", skipMembershipRefreshes: ["apps"], }); const support = new onelogin.Roles("support", { name: "Support", skipMembershipRefreshes: ["apps"], }); const example = new onelogin.SamlApps("example", { name: "Example", connectorId: 110016, roleIds: [ engineering.rolesId, support.rolesId, ], });

    import pulumi
    import pulumi_onelogin as onelogin
    
    engineering = onelogin.Roles("engineering",
        name="Engineering",
        skip_membership_refreshes=["apps"])
    support = onelogin.Roles("support",
        name="Support",
        skip_membership_refreshes=["apps"])
    example = onelogin.SamlApps("example",
        name="Example",
        connector_id=110016,
        role_ids=[
            engineering.roles_id,
            support.roles_id,
        ])
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Onelogin = Pulumi.Onelogin;
    
    return await Deployment.RunAsync(() => 
    {
        var engineering = new Onelogin.Roles("engineering", new()
        {
            Name = "Engineering",
            SkipMembershipRefreshes = new[]
            {
                "apps",
            },
        });
    
        var support = new Onelogin.Roles("support", new()
        {
            Name = "Support",
            SkipMembershipRefreshes = new[]
            {
                "apps",
            },
        });
    
        var example = new Onelogin.SamlApps("example", new()
        {
            Name = "Example",
            ConnectorId = 110016,
            RoleIds = new[]
            {
                engineering.RolesId,
                support.RolesId,
            },
        });
    
    });
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-terraform-provider/sdks/go/onelogin/onelogin"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		engineering, err := onelogin.NewRoles(ctx, "engineering", &onelogin.RolesArgs{
    			Name: pulumi.String("Engineering"),
    			SkipMembershipRefreshes: pulumi.StringArray{
    				pulumi.String("apps"),
    			},
    		})
    		if err != nil {
    			return err
    		}
    		support, err := onelogin.NewRoles(ctx, "support", &onelogin.RolesArgs{
    			Name: pulumi.String("Support"),
    			SkipMembershipRefreshes: pulumi.StringArray{
    				pulumi.String("apps"),
    			},
    		})
    		if err != nil {
    			return err
    		}
    		_, err = onelogin.NewSamlApps(ctx, "example", &onelogin.SamlAppsArgs{
    			Name:        pulumi.String("Example"),
    			ConnectorId: pulumi.Float64(110016),
    			RoleIds: pulumi.Float64Array{
    				engineering.RolesId,
    				support.RolesId,
    			},
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.onelogin.Roles;
    import com.pulumi.onelogin.RolesArgs;
    import com.pulumi.onelogin.SamlApps;
    import com.pulumi.onelogin.SamlAppsArgs;
    import java.util.List;
    import java.util.ArrayList;
    import java.util.Map;
    import java.io.File;
    import java.nio.file.Files;
    import java.nio.file.Paths;
    
    public class App {
        public static void main(String[] args) {
            Pulumi.run(App::stack);
        }
    
        public static void stack(Context ctx) {
            var engineering = new Roles("engineering", RolesArgs.builder()
                .name("Engineering")
                .skipMembershipRefreshes("apps")
                .build());
    
            var support = new Roles("support", RolesArgs.builder()
                .name("Support")
                .skipMembershipRefreshes("apps")
                .build());
    
            var example = new SamlApps("example", SamlAppsArgs.builder()
                .name("Example")
                .connectorId(110016.0)
                .roleIds(            
                    engineering.rolesId(),
                    support.rolesId())
                .build());
    
        }
    }
    
    resources:
      engineering:
        type: onelogin:Roles
        properties:
          name: Engineering
          skipMembershipRefreshes:
            - apps
      support:
        type: onelogin:Roles
        properties:
          name: Support
          skipMembershipRefreshes:
            - apps
      example:
        type: onelogin:SamlApps
        properties:
          name: Example
          connectorId: 110016
          roleIds:
            - ${engineering.rolesId}
            - ${support.rolesId}
    
    SamlAppsId string
    Certificate ID.
    Sso Dictionary<string, string>
    The attributes included in the sso section are determined by the type of app. sso is read only and cannot be set in configuration; OneLogin supplies every value.
    TabId double
    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 float64
    The apps auth method. Refer to the OneLogin Apps Documentation for a comprehensive list of available auth methods.
    BearerTokenWo string
    BearerTokenWoVersion float64
    Change this to send bearer_token_wo on an update. Requires bearer_token_wo, and must be at least 1.
    BrandId float64

    ID of the brand whose login page this app uses. Omit to fall back to the account default brand.

    Like policy_id, the attribute is computed as well as optional, so a brand assigned in the OneLogin admin UI is left alone by a configuration that does not mention brand_id, and removing the argument does not unassign it. Write brand_id = 0 to unassign; OneLogin refuses a literal 0 and wants null, which the provider sends on your behalf.

    Configuration map[string]string
    Settings on the app's Configuration tab, as a map of strings. Any setting the connector has can be given by its name, for example audience. A name the connector does not have fails the apply with a 400. Settings left out are left alone.
    ConnectorId float64
    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 []SamlAppsParameterArgs
    A set of parameters for this app. Define a separate parameters block for each parameter you want to configure.
    PolicyId float64

    ID of the app policy enforced when users sign in to this app. Create one with onelogin.Policies.

    Only app policies can be assigned. A user policy is refused with The associated Policy with ID <id> could not be found, the same message the API gives for an ID that does not exist.

    The attribute is computed as well as optional, so a policy assigned in the OneLogin admin UI is left alone by a configuration that does not mention policy_id. The cost of that is that removing the argument does not unassign the policy — it leaves the last value in place. Write policy_id = 0 to unassign. OneLogin refuses a literal 0 and wants null for this, so the provider sends the null on your behalf.

    import * as pulumi from "@pulumi/pulumi";
    import * as onelogin from "@pulumi/onelogin";
    

    const financeApp = new onelogin.Policies("finance_app", { name: "Finance app step-up", kind: "app", forceAuthn: true, appForceAuthnOffset: 60, }); const finance = new onelogin.SamlApps("finance", { name: "Finance", connectorId: 108419, policyId: financeApp.policiesId, });

    import pulumi
    import pulumi_onelogin as onelogin
    
    finance_app = onelogin.Policies("finance_app",
        name="Finance app step-up",
        kind="app",
        force_authn=True,
        app_force_authn_offset=60)
    finance = onelogin.SamlApps("finance",
        name="Finance",
        connector_id=108419,
        policy_id=finance_app.policies_id)
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Onelogin = Pulumi.Onelogin;
    
    return await Deployment.RunAsync(() => 
    {
        var financeApp = new Onelogin.Policies("finance_app", new()
        {
            Name = "Finance app step-up",
            Kind = "app",
            ForceAuthn = true,
            AppForceAuthnOffset = 60,
        });
    
        var finance = new Onelogin.SamlApps("finance", new()
        {
            Name = "Finance",
            ConnectorId = 108419,
            PolicyId = financeApp.PoliciesId,
        });
    
    });
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-terraform-provider/sdks/go/onelogin/onelogin"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		financeApp, err := onelogin.NewPolicies(ctx, "finance_app", &onelogin.PoliciesArgs{
    			Name:                pulumi.String("Finance app step-up"),
    			Kind:                pulumi.String("app"),
    			ForceAuthn:          pulumi.Bool(true),
    			AppForceAuthnOffset: pulumi.Float64(60),
    		})
    		if err != nil {
    			return err
    		}
    		_, err = onelogin.NewSamlApps(ctx, "finance", &onelogin.SamlAppsArgs{
    			Name:        pulumi.String("Finance"),
    			ConnectorId: pulumi.Float64(108419),
    			PolicyId:    financeApp.PoliciesId,
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.onelogin.Policies;
    import com.pulumi.onelogin.PoliciesArgs;
    import com.pulumi.onelogin.SamlApps;
    import com.pulumi.onelogin.SamlAppsArgs;
    import java.util.List;
    import java.util.ArrayList;
    import java.util.Map;
    import java.io.File;
    import java.nio.file.Files;
    import java.nio.file.Paths;
    
    public class App {
        public static void main(String[] args) {
            Pulumi.run(App::stack);
        }
    
        public static void stack(Context ctx) {
            var financeApp = new Policies("financeApp", PoliciesArgs.builder()
                .name("Finance app step-up")
                .kind("app")
                .forceAuthn(true)
                .appForceAuthnOffset(60.0)
                .build());
    
            var finance = new SamlApps("finance", SamlAppsArgs.builder()
                .name("Finance")
                .connectorId(108419.0)
                .policyId(financeApp.policiesId())
                .build());
    
        }
    }
    
    resources:
      financeApp:
        type: onelogin:Policies
        name: finance_app
        properties:
          name: Finance app step-up
          kind: app
          forceAuthn: true
          appForceAuthnOffset: 60
      finance:
        type: onelogin:SamlApps
        properties:
          name: Finance
          connectorId: 108419
          policyId: ${financeApp.policiesId}
    
    Provisioning map[string]bool
    Settings regarding the app's provisioning ability.
    RoleIds []float64

    IDs of the roles whose users get this app. When set, the app's roles are exactly this set, written in a single create or update. Use it instead of one onelogin.AppRoleAttachments per role when assigning several roles to the same app.

    The attribute is computed as well as optional, so roles assigned some other way are left alone by a configuration that does not mention role_ids, and removing the argument leaves the current roles in place. Write role_ids = [] to remove every role.

    Once role_ids is set, it is authoritative: a role given the app anywhere else (the OneLogin admin UI, onelogin.AppRoleAttachments, or the apps argument of onelogin.Roles) is drift, and the next apply takes it off. Do not combine role_ids with those on the same app.

    A role managed by onelogin.Roles without an apps argument leaves this app alone. Add skip_membership_refresh = ["apps"] to that role to skip reading its apps as well.

    import * as pulumi from "@pulumi/pulumi";
    import * as onelogin from "@pulumi/onelogin";
    

    const engineering = new onelogin.Roles("engineering", { name: "Engineering", skipMembershipRefreshes: ["apps"], }); const support = new onelogin.Roles("support", { name: "Support", skipMembershipRefreshes: ["apps"], }); const example = new onelogin.SamlApps("example", { name: "Example", connectorId: 110016, roleIds: [ engineering.rolesId, support.rolesId, ], });

    import pulumi
    import pulumi_onelogin as onelogin
    
    engineering = onelogin.Roles("engineering",
        name="Engineering",
        skip_membership_refreshes=["apps"])
    support = onelogin.Roles("support",
        name="Support",
        skip_membership_refreshes=["apps"])
    example = onelogin.SamlApps("example",
        name="Example",
        connector_id=110016,
        role_ids=[
            engineering.roles_id,
            support.roles_id,
        ])
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Onelogin = Pulumi.Onelogin;
    
    return await Deployment.RunAsync(() => 
    {
        var engineering = new Onelogin.Roles("engineering", new()
        {
            Name = "Engineering",
            SkipMembershipRefreshes = new[]
            {
                "apps",
            },
        });
    
        var support = new Onelogin.Roles("support", new()
        {
            Name = "Support",
            SkipMembershipRefreshes = new[]
            {
                "apps",
            },
        });
    
        var example = new Onelogin.SamlApps("example", new()
        {
            Name = "Example",
            ConnectorId = 110016,
            RoleIds = new[]
            {
                engineering.RolesId,
                support.RolesId,
            },
        });
    
    });
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-terraform-provider/sdks/go/onelogin/onelogin"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		engineering, err := onelogin.NewRoles(ctx, "engineering", &onelogin.RolesArgs{
    			Name: pulumi.String("Engineering"),
    			SkipMembershipRefreshes: pulumi.StringArray{
    				pulumi.String("apps"),
    			},
    		})
    		if err != nil {
    			return err
    		}
    		support, err := onelogin.NewRoles(ctx, "support", &onelogin.RolesArgs{
    			Name: pulumi.String("Support"),
    			SkipMembershipRefreshes: pulumi.StringArray{
    				pulumi.String("apps"),
    			},
    		})
    		if err != nil {
    			return err
    		}
    		_, err = onelogin.NewSamlApps(ctx, "example", &onelogin.SamlAppsArgs{
    			Name:        pulumi.String("Example"),
    			ConnectorId: pulumi.Float64(110016),
    			RoleIds: pulumi.Float64Array{
    				engineering.RolesId,
    				support.RolesId,
    			},
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.onelogin.Roles;
    import com.pulumi.onelogin.RolesArgs;
    import com.pulumi.onelogin.SamlApps;
    import com.pulumi.onelogin.SamlAppsArgs;
    import java.util.List;
    import java.util.ArrayList;
    import java.util.Map;
    import java.io.File;
    import java.nio.file.Files;
    import java.nio.file.Paths;
    
    public class App {
        public static void main(String[] args) {
            Pulumi.run(App::stack);
        }
    
        public static void stack(Context ctx) {
            var engineering = new Roles("engineering", RolesArgs.builder()
                .name("Engineering")
                .skipMembershipRefreshes("apps")
                .build());
    
            var support = new Roles("support", RolesArgs.builder()
                .name("Support")
                .skipMembershipRefreshes("apps")
                .build());
    
            var example = new SamlApps("example", SamlAppsArgs.builder()
                .name("Example")
                .connectorId(110016.0)
                .roleIds(            
                    engineering.rolesId(),
                    support.rolesId())
                .build());
    
        }
    }
    
    resources:
      engineering:
        type: onelogin:Roles
        properties:
          name: Engineering
          skipMembershipRefreshes:
            - apps
      support:
        type: onelogin:Roles
        properties:
          name: Support
          skipMembershipRefreshes:
            - apps
      example:
        type: onelogin:SamlApps
        properties:
          name: Example
          connectorId: 110016
          roleIds:
            - ${engineering.rolesId}
            - ${support.rolesId}
    
    SamlAppsId string
    Certificate ID.
    Sso map[string]string
    The attributes included in the sso section are determined by the type of app. sso is read only and cannot be set in configuration; OneLogin supplies every value.
    TabId float64
    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.
    allow_assumed_signin bool
    Enable sign in when user has been assumed by the account owner. Defaults to false.
    auth_method number
    The apps auth method. Refer to the OneLogin Apps Documentation for a comprehensive list of available auth methods.
    bearer_token_wo string
    bearer_token_wo_version number
    Change this to send bearer_token_wo on an update. Requires bearer_token_wo, and must be at least 1.
    brand_id number

    ID of the brand whose login page this app uses. Omit to fall back to the account default brand.

    Like policy_id, the attribute is computed as well as optional, so a brand assigned in the OneLogin admin UI is left alone by a configuration that does not mention brand_id, and removing the argument does not unassign it. Write brand_id = 0 to unassign; OneLogin refuses a literal 0 and wants null, which the provider sends on your behalf.

    configuration map(string)
    Settings on the app's Configuration tab, as a map of strings. Any setting the connector has can be given by its name, for example audience. A name the connector does not have fails the apply with a 400. Settings left out are left alone.
    connector_id number
    The ID for the app connector, dictates the type of app (e.g. AWS Multi-Role App).
    created_at string
    Timestamp for app's creation.
    description string
    App description.
    icon_url string
    The url for the app's icon.
    name string
    The app's name.
    notes string
    Notes about the app.
    parameters list(object)
    A set of parameters for this app. Define a separate parameters block for each parameter you want to configure.
    policy_id number

    ID of the app policy enforced when users sign in to this app. Create one with onelogin.Policies.

    Only app policies can be assigned. A user policy is refused with The associated Policy with ID <id> could not be found, the same message the API gives for an ID that does not exist.

    The attribute is computed as well as optional, so a policy assigned in the OneLogin admin UI is left alone by a configuration that does not mention policy_id. The cost of that is that removing the argument does not unassign the policy — it leaves the last value in place. Write policy_id = 0 to unassign. OneLogin refuses a literal 0 and wants null for this, so the provider sends the null on your behalf.

    import * as pulumi from "@pulumi/pulumi";
    import * as onelogin from "@pulumi/onelogin";
    

    const financeApp = new onelogin.Policies("finance_app", { name: "Finance app step-up", kind: "app", forceAuthn: true, appForceAuthnOffset: 60, }); const finance = new onelogin.SamlApps("finance", { name: "Finance", connectorId: 108419, policyId: financeApp.policiesId, });

    import pulumi
    import pulumi_onelogin as onelogin
    
    finance_app = onelogin.Policies("finance_app",
        name="Finance app step-up",
        kind="app",
        force_authn=True,
        app_force_authn_offset=60)
    finance = onelogin.SamlApps("finance",
        name="Finance",
        connector_id=108419,
        policy_id=finance_app.policies_id)
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Onelogin = Pulumi.Onelogin;
    
    return await Deployment.RunAsync(() => 
    {
        var financeApp = new Onelogin.Policies("finance_app", new()
        {
            Name = "Finance app step-up",
            Kind = "app",
            ForceAuthn = true,
            AppForceAuthnOffset = 60,
        });
    
        var finance = new Onelogin.SamlApps("finance", new()
        {
            Name = "Finance",
            ConnectorId = 108419,
            PolicyId = financeApp.PoliciesId,
        });
    
    });
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-terraform-provider/sdks/go/onelogin/onelogin"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		financeApp, err := onelogin.NewPolicies(ctx, "finance_app", &onelogin.PoliciesArgs{
    			Name:                pulumi.String("Finance app step-up"),
    			Kind:                pulumi.String("app"),
    			ForceAuthn:          pulumi.Bool(true),
    			AppForceAuthnOffset: pulumi.Float64(60),
    		})
    		if err != nil {
    			return err
    		}
    		_, err = onelogin.NewSamlApps(ctx, "finance", &onelogin.SamlAppsArgs{
    			Name:        pulumi.String("Finance"),
    			ConnectorId: pulumi.Float64(108419),
    			PolicyId:    financeApp.PoliciesId,
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.onelogin.Policies;
    import com.pulumi.onelogin.PoliciesArgs;
    import com.pulumi.onelogin.SamlApps;
    import com.pulumi.onelogin.SamlAppsArgs;
    import java.util.List;
    import java.util.ArrayList;
    import java.util.Map;
    import java.io.File;
    import java.nio.file.Files;
    import java.nio.file.Paths;
    
    public class App {
        public static void main(String[] args) {
            Pulumi.run(App::stack);
        }
    
        public static void stack(Context ctx) {
            var financeApp = new Policies("financeApp", PoliciesArgs.builder()
                .name("Finance app step-up")
                .kind("app")
                .forceAuthn(true)
                .appForceAuthnOffset(60.0)
                .build());
    
            var finance = new SamlApps("finance", SamlAppsArgs.builder()
                .name("Finance")
                .connectorId(108419.0)
                .policyId(financeApp.policiesId())
                .build());
    
        }
    }
    
    resources:
      financeApp:
        type: onelogin:Policies
        name: finance_app
        properties:
          name: Finance app step-up
          kind: app
          forceAuthn: true
          appForceAuthnOffset: 60
      finance:
        type: onelogin:SamlApps
        properties:
          name: Finance
          connectorId: 108419
          policyId: ${financeApp.policiesId}
    
    provisioning map(bool)
    Settings regarding the app's provisioning ability.
    role_ids list(number)

    IDs of the roles whose users get this app. When set, the app's roles are exactly this set, written in a single create or update. Use it instead of one onelogin.AppRoleAttachments per role when assigning several roles to the same app.

    The attribute is computed as well as optional, so roles assigned some other way are left alone by a configuration that does not mention role_ids, and removing the argument leaves the current roles in place. Write role_ids = [] to remove every role.

    Once role_ids is set, it is authoritative: a role given the app anywhere else (the OneLogin admin UI, onelogin.AppRoleAttachments, or the apps argument of onelogin.Roles) is drift, and the next apply takes it off. Do not combine role_ids with those on the same app.

    A role managed by onelogin.Roles without an apps argument leaves this app alone. Add skip_membership_refresh = ["apps"] to that role to skip reading its apps as well.

    import * as pulumi from "@pulumi/pulumi";
    import * as onelogin from "@pulumi/onelogin";
    

    const engineering = new onelogin.Roles("engineering", { name: "Engineering", skipMembershipRefreshes: ["apps"], }); const support = new onelogin.Roles("support", { name: "Support", skipMembershipRefreshes: ["apps"], }); const example = new onelogin.SamlApps("example", { name: "Example", connectorId: 110016, roleIds: [ engineering.rolesId, support.rolesId, ], });

    import pulumi
    import pulumi_onelogin as onelogin
    
    engineering = onelogin.Roles("engineering",
        name="Engineering",
        skip_membership_refreshes=["apps"])
    support = onelogin.Roles("support",
        name="Support",
        skip_membership_refreshes=["apps"])
    example = onelogin.SamlApps("example",
        name="Example",
        connector_id=110016,
        role_ids=[
            engineering.roles_id,
            support.roles_id,
        ])
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Onelogin = Pulumi.Onelogin;
    
    return await Deployment.RunAsync(() => 
    {
        var engineering = new Onelogin.Roles("engineering", new()
        {
            Name = "Engineering",
            SkipMembershipRefreshes = new[]
            {
                "apps",
            },
        });
    
        var support = new Onelogin.Roles("support", new()
        {
            Name = "Support",
            SkipMembershipRefreshes = new[]
            {
                "apps",
            },
        });
    
        var example = new Onelogin.SamlApps("example", new()
        {
            Name = "Example",
            ConnectorId = 110016,
            RoleIds = new[]
            {
                engineering.RolesId,
                support.RolesId,
            },
        });
    
    });
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-terraform-provider/sdks/go/onelogin/onelogin"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		engineering, err := onelogin.NewRoles(ctx, "engineering", &onelogin.RolesArgs{
    			Name: pulumi.String("Engineering"),
    			SkipMembershipRefreshes: pulumi.StringArray{
    				pulumi.String("apps"),
    			},
    		})
    		if err != nil {
    			return err
    		}
    		support, err := onelogin.NewRoles(ctx, "support", &onelogin.RolesArgs{
    			Name: pulumi.String("Support"),
    			SkipMembershipRefreshes: pulumi.StringArray{
    				pulumi.String("apps"),
    			},
    		})
    		if err != nil {
    			return err
    		}
    		_, err = onelogin.NewSamlApps(ctx, "example", &onelogin.SamlAppsArgs{
    			Name:        pulumi.String("Example"),
    			ConnectorId: pulumi.Float64(110016),
    			RoleIds: pulumi.Float64Array{
    				engineering.RolesId,
    				support.RolesId,
    			},
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.onelogin.Roles;
    import com.pulumi.onelogin.RolesArgs;
    import com.pulumi.onelogin.SamlApps;
    import com.pulumi.onelogin.SamlAppsArgs;
    import java.util.List;
    import java.util.ArrayList;
    import java.util.Map;
    import java.io.File;
    import java.nio.file.Files;
    import java.nio.file.Paths;
    
    public class App {
        public static void main(String[] args) {
            Pulumi.run(App::stack);
        }
    
        public static void stack(Context ctx) {
            var engineering = new Roles("engineering", RolesArgs.builder()
                .name("Engineering")
                .skipMembershipRefreshes("apps")
                .build());
    
            var support = new Roles("support", RolesArgs.builder()
                .name("Support")
                .skipMembershipRefreshes("apps")
                .build());
    
            var example = new SamlApps("example", SamlAppsArgs.builder()
                .name("Example")
                .connectorId(110016.0)
                .roleIds(            
                    engineering.rolesId(),
                    support.rolesId())
                .build());
    
        }
    }
    
    resources:
      engineering:
        type: onelogin:Roles
        properties:
          name: Engineering
          skipMembershipRefreshes:
            - apps
      support:
        type: onelogin:Roles
        properties:
          name: Support
          skipMembershipRefreshes:
            - apps
      example:
        type: onelogin:SamlApps
        properties:
          name: Example
          connectorId: 110016
          roleIds:
            - ${engineering.rolesId}
            - ${support.rolesId}
    
    saml_apps_id string
    Certificate ID.
    sso map(string)
    The attributes included in the sso section are determined by the type of app. sso is read only and cannot be set in configuration; OneLogin supplies every value.
    tab_id number
    The tab in which to display in OneLogin portal.
    updated_at 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 Double
    The apps auth method. Refer to the OneLogin Apps Documentation for a comprehensive list of available auth methods.
    bearerTokenWo String
    bearerTokenWoVersion Double
    Change this to send bearer_token_wo on an update. Requires bearer_token_wo, and must be at least 1.
    brandId Double

    ID of the brand whose login page this app uses. Omit to fall back to the account default brand.

    Like policy_id, the attribute is computed as well as optional, so a brand assigned in the OneLogin admin UI is left alone by a configuration that does not mention brand_id, and removing the argument does not unassign it. Write brand_id = 0 to unassign; OneLogin refuses a literal 0 and wants null, which the provider sends on your behalf.

    configuration Map<String,String>
    Settings on the app's Configuration tab, as a map of strings. Any setting the connector has can be given by its name, for example audience. A name the connector does not have fails the apply with a 400. Settings left out are left alone.
    connectorId Double
    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<SamlAppsParameter>
    A set of parameters for this app. Define a separate parameters block for each parameter you want to configure.
    policyId Double

    ID of the app policy enforced when users sign in to this app. Create one with onelogin.Policies.

    Only app policies can be assigned. A user policy is refused with The associated Policy with ID <id> could not be found, the same message the API gives for an ID that does not exist.

    The attribute is computed as well as optional, so a policy assigned in the OneLogin admin UI is left alone by a configuration that does not mention policy_id. The cost of that is that removing the argument does not unassign the policy — it leaves the last value in place. Write policy_id = 0 to unassign. OneLogin refuses a literal 0 and wants null for this, so the provider sends the null on your behalf.

    import * as pulumi from "@pulumi/pulumi";
    import * as onelogin from "@pulumi/onelogin";
    

    const financeApp = new onelogin.Policies("finance_app", { name: "Finance app step-up", kind: "app", forceAuthn: true, appForceAuthnOffset: 60, }); const finance = new onelogin.SamlApps("finance", { name: "Finance", connectorId: 108419, policyId: financeApp.policiesId, });

    import pulumi
    import pulumi_onelogin as onelogin
    
    finance_app = onelogin.Policies("finance_app",
        name="Finance app step-up",
        kind="app",
        force_authn=True,
        app_force_authn_offset=60)
    finance = onelogin.SamlApps("finance",
        name="Finance",
        connector_id=108419,
        policy_id=finance_app.policies_id)
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Onelogin = Pulumi.Onelogin;
    
    return await Deployment.RunAsync(() => 
    {
        var financeApp = new Onelogin.Policies("finance_app", new()
        {
            Name = "Finance app step-up",
            Kind = "app",
            ForceAuthn = true,
            AppForceAuthnOffset = 60,
        });
    
        var finance = new Onelogin.SamlApps("finance", new()
        {
            Name = "Finance",
            ConnectorId = 108419,
            PolicyId = financeApp.PoliciesId,
        });
    
    });
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-terraform-provider/sdks/go/onelogin/onelogin"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		financeApp, err := onelogin.NewPolicies(ctx, "finance_app", &onelogin.PoliciesArgs{
    			Name:                pulumi.String("Finance app step-up"),
    			Kind:                pulumi.String("app"),
    			ForceAuthn:          pulumi.Bool(true),
    			AppForceAuthnOffset: pulumi.Float64(60),
    		})
    		if err != nil {
    			return err
    		}
    		_, err = onelogin.NewSamlApps(ctx, "finance", &onelogin.SamlAppsArgs{
    			Name:        pulumi.String("Finance"),
    			ConnectorId: pulumi.Float64(108419),
    			PolicyId:    financeApp.PoliciesId,
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.onelogin.Policies;
    import com.pulumi.onelogin.PoliciesArgs;
    import com.pulumi.onelogin.SamlApps;
    import com.pulumi.onelogin.SamlAppsArgs;
    import java.util.List;
    import java.util.ArrayList;
    import java.util.Map;
    import java.io.File;
    import java.nio.file.Files;
    import java.nio.file.Paths;
    
    public class App {
        public static void main(String[] args) {
            Pulumi.run(App::stack);
        }
    
        public static void stack(Context ctx) {
            var financeApp = new Policies("financeApp", PoliciesArgs.builder()
                .name("Finance app step-up")
                .kind("app")
                .forceAuthn(true)
                .appForceAuthnOffset(60.0)
                .build());
    
            var finance = new SamlApps("finance", SamlAppsArgs.builder()
                .name("Finance")
                .connectorId(108419.0)
                .policyId(financeApp.policiesId())
                .build());
    
        }
    }
    
    resources:
      financeApp:
        type: onelogin:Policies
        name: finance_app
        properties:
          name: Finance app step-up
          kind: app
          forceAuthn: true
          appForceAuthnOffset: 60
      finance:
        type: onelogin:SamlApps
        properties:
          name: Finance
          connectorId: 108419
          policyId: ${financeApp.policiesId}
    
    provisioning Map<String,Boolean>
    Settings regarding the app's provisioning ability.
    roleIds List<Double>

    IDs of the roles whose users get this app. When set, the app's roles are exactly this set, written in a single create or update. Use it instead of one onelogin.AppRoleAttachments per role when assigning several roles to the same app.

    The attribute is computed as well as optional, so roles assigned some other way are left alone by a configuration that does not mention role_ids, and removing the argument leaves the current roles in place. Write role_ids = [] to remove every role.

    Once role_ids is set, it is authoritative: a role given the app anywhere else (the OneLogin admin UI, onelogin.AppRoleAttachments, or the apps argument of onelogin.Roles) is drift, and the next apply takes it off. Do not combine role_ids with those on the same app.

    A role managed by onelogin.Roles without an apps argument leaves this app alone. Add skip_membership_refresh = ["apps"] to that role to skip reading its apps as well.

    import * as pulumi from "@pulumi/pulumi";
    import * as onelogin from "@pulumi/onelogin";
    

    const engineering = new onelogin.Roles("engineering", { name: "Engineering", skipMembershipRefreshes: ["apps"], }); const support = new onelogin.Roles("support", { name: "Support", skipMembershipRefreshes: ["apps"], }); const example = new onelogin.SamlApps("example", { name: "Example", connectorId: 110016, roleIds: [ engineering.rolesId, support.rolesId, ], });

    import pulumi
    import pulumi_onelogin as onelogin
    
    engineering = onelogin.Roles("engineering",
        name="Engineering",
        skip_membership_refreshes=["apps"])
    support = onelogin.Roles("support",
        name="Support",
        skip_membership_refreshes=["apps"])
    example = onelogin.SamlApps("example",
        name="Example",
        connector_id=110016,
        role_ids=[
            engineering.roles_id,
            support.roles_id,
        ])
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Onelogin = Pulumi.Onelogin;
    
    return await Deployment.RunAsync(() => 
    {
        var engineering = new Onelogin.Roles("engineering", new()
        {
            Name = "Engineering",
            SkipMembershipRefreshes = new[]
            {
                "apps",
            },
        });
    
        var support = new Onelogin.Roles("support", new()
        {
            Name = "Support",
            SkipMembershipRefreshes = new[]
            {
                "apps",
            },
        });
    
        var example = new Onelogin.SamlApps("example", new()
        {
            Name = "Example",
            ConnectorId = 110016,
            RoleIds = new[]
            {
                engineering.RolesId,
                support.RolesId,
            },
        });
    
    });
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-terraform-provider/sdks/go/onelogin/onelogin"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		engineering, err := onelogin.NewRoles(ctx, "engineering", &onelogin.RolesArgs{
    			Name: pulumi.String("Engineering"),
    			SkipMembershipRefreshes: pulumi.StringArray{
    				pulumi.String("apps"),
    			},
    		})
    		if err != nil {
    			return err
    		}
    		support, err := onelogin.NewRoles(ctx, "support", &onelogin.RolesArgs{
    			Name: pulumi.String("Support"),
    			SkipMembershipRefreshes: pulumi.StringArray{
    				pulumi.String("apps"),
    			},
    		})
    		if err != nil {
    			return err
    		}
    		_, err = onelogin.NewSamlApps(ctx, "example", &onelogin.SamlAppsArgs{
    			Name:        pulumi.String("Example"),
    			ConnectorId: pulumi.Float64(110016),
    			RoleIds: pulumi.Float64Array{
    				engineering.RolesId,
    				support.RolesId,
    			},
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.onelogin.Roles;
    import com.pulumi.onelogin.RolesArgs;
    import com.pulumi.onelogin.SamlApps;
    import com.pulumi.onelogin.SamlAppsArgs;
    import java.util.List;
    import java.util.ArrayList;
    import java.util.Map;
    import java.io.File;
    import java.nio.file.Files;
    import java.nio.file.Paths;
    
    public class App {
        public static void main(String[] args) {
            Pulumi.run(App::stack);
        }
    
        public static void stack(Context ctx) {
            var engineering = new Roles("engineering", RolesArgs.builder()
                .name("Engineering")
                .skipMembershipRefreshes("apps")
                .build());
    
            var support = new Roles("support", RolesArgs.builder()
                .name("Support")
                .skipMembershipRefreshes("apps")
                .build());
    
            var example = new SamlApps("example", SamlAppsArgs.builder()
                .name("Example")
                .connectorId(110016.0)
                .roleIds(            
                    engineering.rolesId(),
                    support.rolesId())
                .build());
    
        }
    }
    
    resources:
      engineering:
        type: onelogin:Roles
        properties:
          name: Engineering
          skipMembershipRefreshes:
            - apps
      support:
        type: onelogin:Roles
        properties:
          name: Support
          skipMembershipRefreshes:
            - apps
      example:
        type: onelogin:SamlApps
        properties:
          name: Example
          connectorId: 110016
          roleIds:
            - ${engineering.rolesId}
            - ${support.rolesId}
    
    samlAppsId String
    Certificate ID.
    sso Map<String,String>
    The attributes included in the sso section are determined by the type of app. sso is read only and cannot be set in configuration; OneLogin supplies every value.
    tabId Double
    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.
    bearerTokenWo string
    bearerTokenWoVersion number
    Change this to send bearer_token_wo on an update. Requires bearer_token_wo, and must be at least 1.
    brandId number

    ID of the brand whose login page this app uses. Omit to fall back to the account default brand.

    Like policy_id, the attribute is computed as well as optional, so a brand assigned in the OneLogin admin UI is left alone by a configuration that does not mention brand_id, and removing the argument does not unassign it. Write brand_id = 0 to unassign; OneLogin refuses a literal 0 and wants null, which the provider sends on your behalf.

    configuration {[key: string]: string}
    Settings on the app's Configuration tab, as a map of strings. Any setting the connector has can be given by its name, for example audience. A name the connector does not have fails the apply with a 400. Settings left out are left alone.
    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 SamlAppsParameter[]
    A set of parameters for this app. Define a separate parameters block for each parameter you want to configure.
    policyId number

    ID of the app policy enforced when users sign in to this app. Create one with onelogin.Policies.

    Only app policies can be assigned. A user policy is refused with The associated Policy with ID <id> could not be found, the same message the API gives for an ID that does not exist.

    The attribute is computed as well as optional, so a policy assigned in the OneLogin admin UI is left alone by a configuration that does not mention policy_id. The cost of that is that removing the argument does not unassign the policy — it leaves the last value in place. Write policy_id = 0 to unassign. OneLogin refuses a literal 0 and wants null for this, so the provider sends the null on your behalf.

    import * as pulumi from "@pulumi/pulumi";
    import * as onelogin from "@pulumi/onelogin";
    

    const financeApp = new onelogin.Policies("finance_app", { name: "Finance app step-up", kind: "app", forceAuthn: true, appForceAuthnOffset: 60, }); const finance = new onelogin.SamlApps("finance", { name: "Finance", connectorId: 108419, policyId: financeApp.policiesId, });

    import pulumi
    import pulumi_onelogin as onelogin
    
    finance_app = onelogin.Policies("finance_app",
        name="Finance app step-up",
        kind="app",
        force_authn=True,
        app_force_authn_offset=60)
    finance = onelogin.SamlApps("finance",
        name="Finance",
        connector_id=108419,
        policy_id=finance_app.policies_id)
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Onelogin = Pulumi.Onelogin;
    
    return await Deployment.RunAsync(() => 
    {
        var financeApp = new Onelogin.Policies("finance_app", new()
        {
            Name = "Finance app step-up",
            Kind = "app",
            ForceAuthn = true,
            AppForceAuthnOffset = 60,
        });
    
        var finance = new Onelogin.SamlApps("finance", new()
        {
            Name = "Finance",
            ConnectorId = 108419,
            PolicyId = financeApp.PoliciesId,
        });
    
    });
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-terraform-provider/sdks/go/onelogin/onelogin"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		financeApp, err := onelogin.NewPolicies(ctx, "finance_app", &onelogin.PoliciesArgs{
    			Name:                pulumi.String("Finance app step-up"),
    			Kind:                pulumi.String("app"),
    			ForceAuthn:          pulumi.Bool(true),
    			AppForceAuthnOffset: pulumi.Float64(60),
    		})
    		if err != nil {
    			return err
    		}
    		_, err = onelogin.NewSamlApps(ctx, "finance", &onelogin.SamlAppsArgs{
    			Name:        pulumi.String("Finance"),
    			ConnectorId: pulumi.Float64(108419),
    			PolicyId:    financeApp.PoliciesId,
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.onelogin.Policies;
    import com.pulumi.onelogin.PoliciesArgs;
    import com.pulumi.onelogin.SamlApps;
    import com.pulumi.onelogin.SamlAppsArgs;
    import java.util.List;
    import java.util.ArrayList;
    import java.util.Map;
    import java.io.File;
    import java.nio.file.Files;
    import java.nio.file.Paths;
    
    public class App {
        public static void main(String[] args) {
            Pulumi.run(App::stack);
        }
    
        public static void stack(Context ctx) {
            var financeApp = new Policies("financeApp", PoliciesArgs.builder()
                .name("Finance app step-up")
                .kind("app")
                .forceAuthn(true)
                .appForceAuthnOffset(60.0)
                .build());
    
            var finance = new SamlApps("finance", SamlAppsArgs.builder()
                .name("Finance")
                .connectorId(108419.0)
                .policyId(financeApp.policiesId())
                .build());
    
        }
    }
    
    resources:
      financeApp:
        type: onelogin:Policies
        name: finance_app
        properties:
          name: Finance app step-up
          kind: app
          forceAuthn: true
          appForceAuthnOffset: 60
      finance:
        type: onelogin:SamlApps
        properties:
          name: Finance
          connectorId: 108419
          policyId: ${financeApp.policiesId}
    
    provisioning {[key: string]: boolean}
    Settings regarding the app's provisioning ability.
    roleIds number[]

    IDs of the roles whose users get this app. When set, the app's roles are exactly this set, written in a single create or update. Use it instead of one onelogin.AppRoleAttachments per role when assigning several roles to the same app.

    The attribute is computed as well as optional, so roles assigned some other way are left alone by a configuration that does not mention role_ids, and removing the argument leaves the current roles in place. Write role_ids = [] to remove every role.

    Once role_ids is set, it is authoritative: a role given the app anywhere else (the OneLogin admin UI, onelogin.AppRoleAttachments, or the apps argument of onelogin.Roles) is drift, and the next apply takes it off. Do not combine role_ids with those on the same app.

    A role managed by onelogin.Roles without an apps argument leaves this app alone. Add skip_membership_refresh = ["apps"] to that role to skip reading its apps as well.

    import * as pulumi from "@pulumi/pulumi";
    import * as onelogin from "@pulumi/onelogin";
    

    const engineering = new onelogin.Roles("engineering", { name: "Engineering", skipMembershipRefreshes: ["apps"], }); const support = new onelogin.Roles("support", { name: "Support", skipMembershipRefreshes: ["apps"], }); const example = new onelogin.SamlApps("example", { name: "Example", connectorId: 110016, roleIds: [ engineering.rolesId, support.rolesId, ], });

    import pulumi
    import pulumi_onelogin as onelogin
    
    engineering = onelogin.Roles("engineering",
        name="Engineering",
        skip_membership_refreshes=["apps"])
    support = onelogin.Roles("support",
        name="Support",
        skip_membership_refreshes=["apps"])
    example = onelogin.SamlApps("example",
        name="Example",
        connector_id=110016,
        role_ids=[
            engineering.roles_id,
            support.roles_id,
        ])
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Onelogin = Pulumi.Onelogin;
    
    return await Deployment.RunAsync(() => 
    {
        var engineering = new Onelogin.Roles("engineering", new()
        {
            Name = "Engineering",
            SkipMembershipRefreshes = new[]
            {
                "apps",
            },
        });
    
        var support = new Onelogin.Roles("support", new()
        {
            Name = "Support",
            SkipMembershipRefreshes = new[]
            {
                "apps",
            },
        });
    
        var example = new Onelogin.SamlApps("example", new()
        {
            Name = "Example",
            ConnectorId = 110016,
            RoleIds = new[]
            {
                engineering.RolesId,
                support.RolesId,
            },
        });
    
    });
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-terraform-provider/sdks/go/onelogin/onelogin"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		engineering, err := onelogin.NewRoles(ctx, "engineering", &onelogin.RolesArgs{
    			Name: pulumi.String("Engineering"),
    			SkipMembershipRefreshes: pulumi.StringArray{
    				pulumi.String("apps"),
    			},
    		})
    		if err != nil {
    			return err
    		}
    		support, err := onelogin.NewRoles(ctx, "support", &onelogin.RolesArgs{
    			Name: pulumi.String("Support"),
    			SkipMembershipRefreshes: pulumi.StringArray{
    				pulumi.String("apps"),
    			},
    		})
    		if err != nil {
    			return err
    		}
    		_, err = onelogin.NewSamlApps(ctx, "example", &onelogin.SamlAppsArgs{
    			Name:        pulumi.String("Example"),
    			ConnectorId: pulumi.Float64(110016),
    			RoleIds: pulumi.Float64Array{
    				engineering.RolesId,
    				support.RolesId,
    			},
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.onelogin.Roles;
    import com.pulumi.onelogin.RolesArgs;
    import com.pulumi.onelogin.SamlApps;
    import com.pulumi.onelogin.SamlAppsArgs;
    import java.util.List;
    import java.util.ArrayList;
    import java.util.Map;
    import java.io.File;
    import java.nio.file.Files;
    import java.nio.file.Paths;
    
    public class App {
        public static void main(String[] args) {
            Pulumi.run(App::stack);
        }
    
        public static void stack(Context ctx) {
            var engineering = new Roles("engineering", RolesArgs.builder()
                .name("Engineering")
                .skipMembershipRefreshes("apps")
                .build());
    
            var support = new Roles("support", RolesArgs.builder()
                .name("Support")
                .skipMembershipRefreshes("apps")
                .build());
    
            var example = new SamlApps("example", SamlAppsArgs.builder()
                .name("Example")
                .connectorId(110016.0)
                .roleIds(            
                    engineering.rolesId(),
                    support.rolesId())
                .build());
    
        }
    }
    
    resources:
      engineering:
        type: onelogin:Roles
        properties:
          name: Engineering
          skipMembershipRefreshes:
            - apps
      support:
        type: onelogin:Roles
        properties:
          name: Support
          skipMembershipRefreshes:
            - apps
      example:
        type: onelogin:SamlApps
        properties:
          name: Example
          connectorId: 110016
          roleIds:
            - ${engineering.rolesId}
            - ${support.rolesId}
    
    samlAppsId string
    Certificate ID.
    sso {[key: string]: string}
    The attributes included in the sso section are determined by the type of app. sso is read only and cannot be set in configuration; OneLogin supplies every value.
    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 float
    The apps auth method. Refer to the OneLogin Apps Documentation for a comprehensive list of available auth methods.
    bearer_token_wo str
    bearer_token_wo_version float
    Change this to send bearer_token_wo on an update. Requires bearer_token_wo, and must be at least 1.
    brand_id float

    ID of the brand whose login page this app uses. Omit to fall back to the account default brand.

    Like policy_id, the attribute is computed as well as optional, so a brand assigned in the OneLogin admin UI is left alone by a configuration that does not mention brand_id, and removing the argument does not unassign it. Write brand_id = 0 to unassign; OneLogin refuses a literal 0 and wants null, which the provider sends on your behalf.

    configuration Mapping[str, str]
    Settings on the app's Configuration tab, as a map of strings. Any setting the connector has can be given by its name, for example audience. A name the connector does not have fails the apply with a 400. Settings left out are left alone.
    connector_id float
    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[SamlAppsParameterArgs]
    A set of parameters for this app. Define a separate parameters block for each parameter you want to configure.
    policy_id float

    ID of the app policy enforced when users sign in to this app. Create one with onelogin.Policies.

    Only app policies can be assigned. A user policy is refused with The associated Policy with ID <id> could not be found, the same message the API gives for an ID that does not exist.

    The attribute is computed as well as optional, so a policy assigned in the OneLogin admin UI is left alone by a configuration that does not mention policy_id. The cost of that is that removing the argument does not unassign the policy — it leaves the last value in place. Write policy_id = 0 to unassign. OneLogin refuses a literal 0 and wants null for this, so the provider sends the null on your behalf.

    import * as pulumi from "@pulumi/pulumi";
    import * as onelogin from "@pulumi/onelogin";
    

    const financeApp = new onelogin.Policies("finance_app", { name: "Finance app step-up", kind: "app", forceAuthn: true, appForceAuthnOffset: 60, }); const finance = new onelogin.SamlApps("finance", { name: "Finance", connectorId: 108419, policyId: financeApp.policiesId, });

    import pulumi
    import pulumi_onelogin as onelogin
    
    finance_app = onelogin.Policies("finance_app",
        name="Finance app step-up",
        kind="app",
        force_authn=True,
        app_force_authn_offset=60)
    finance = onelogin.SamlApps("finance",
        name="Finance",
        connector_id=108419,
        policy_id=finance_app.policies_id)
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Onelogin = Pulumi.Onelogin;
    
    return await Deployment.RunAsync(() => 
    {
        var financeApp = new Onelogin.Policies("finance_app", new()
        {
            Name = "Finance app step-up",
            Kind = "app",
            ForceAuthn = true,
            AppForceAuthnOffset = 60,
        });
    
        var finance = new Onelogin.SamlApps("finance", new()
        {
            Name = "Finance",
            ConnectorId = 108419,
            PolicyId = financeApp.PoliciesId,
        });
    
    });
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-terraform-provider/sdks/go/onelogin/onelogin"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		financeApp, err := onelogin.NewPolicies(ctx, "finance_app", &onelogin.PoliciesArgs{
    			Name:                pulumi.String("Finance app step-up"),
    			Kind:                pulumi.String("app"),
    			ForceAuthn:          pulumi.Bool(true),
    			AppForceAuthnOffset: pulumi.Float64(60),
    		})
    		if err != nil {
    			return err
    		}
    		_, err = onelogin.NewSamlApps(ctx, "finance", &onelogin.SamlAppsArgs{
    			Name:        pulumi.String("Finance"),
    			ConnectorId: pulumi.Float64(108419),
    			PolicyId:    financeApp.PoliciesId,
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.onelogin.Policies;
    import com.pulumi.onelogin.PoliciesArgs;
    import com.pulumi.onelogin.SamlApps;
    import com.pulumi.onelogin.SamlAppsArgs;
    import java.util.List;
    import java.util.ArrayList;
    import java.util.Map;
    import java.io.File;
    import java.nio.file.Files;
    import java.nio.file.Paths;
    
    public class App {
        public static void main(String[] args) {
            Pulumi.run(App::stack);
        }
    
        public static void stack(Context ctx) {
            var financeApp = new Policies("financeApp", PoliciesArgs.builder()
                .name("Finance app step-up")
                .kind("app")
                .forceAuthn(true)
                .appForceAuthnOffset(60.0)
                .build());
    
            var finance = new SamlApps("finance", SamlAppsArgs.builder()
                .name("Finance")
                .connectorId(108419.0)
                .policyId(financeApp.policiesId())
                .build());
    
        }
    }
    
    resources:
      financeApp:
        type: onelogin:Policies
        name: finance_app
        properties:
          name: Finance app step-up
          kind: app
          forceAuthn: true
          appForceAuthnOffset: 60
      finance:
        type: onelogin:SamlApps
        properties:
          name: Finance
          connectorId: 108419
          policyId: ${financeApp.policiesId}
    
    provisioning Mapping[str, bool]
    Settings regarding the app's provisioning ability.
    role_ids Sequence[float]

    IDs of the roles whose users get this app. When set, the app's roles are exactly this set, written in a single create or update. Use it instead of one onelogin.AppRoleAttachments per role when assigning several roles to the same app.

    The attribute is computed as well as optional, so roles assigned some other way are left alone by a configuration that does not mention role_ids, and removing the argument leaves the current roles in place. Write role_ids = [] to remove every role.

    Once role_ids is set, it is authoritative: a role given the app anywhere else (the OneLogin admin UI, onelogin.AppRoleAttachments, or the apps argument of onelogin.Roles) is drift, and the next apply takes it off. Do not combine role_ids with those on the same app.

    A role managed by onelogin.Roles without an apps argument leaves this app alone. Add skip_membership_refresh = ["apps"] to that role to skip reading its apps as well.

    import * as pulumi from "@pulumi/pulumi";
    import * as onelogin from "@pulumi/onelogin";
    

    const engineering = new onelogin.Roles("engineering", { name: "Engineering", skipMembershipRefreshes: ["apps"], }); const support = new onelogin.Roles("support", { name: "Support", skipMembershipRefreshes: ["apps"], }); const example = new onelogin.SamlApps("example", { name: "Example", connectorId: 110016, roleIds: [ engineering.rolesId, support.rolesId, ], });

    import pulumi
    import pulumi_onelogin as onelogin
    
    engineering = onelogin.Roles("engineering",
        name="Engineering",
        skip_membership_refreshes=["apps"])
    support = onelogin.Roles("support",
        name="Support",
        skip_membership_refreshes=["apps"])
    example = onelogin.SamlApps("example",
        name="Example",
        connector_id=110016,
        role_ids=[
            engineering.roles_id,
            support.roles_id,
        ])
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Onelogin = Pulumi.Onelogin;
    
    return await Deployment.RunAsync(() => 
    {
        var engineering = new Onelogin.Roles("engineering", new()
        {
            Name = "Engineering",
            SkipMembershipRefreshes = new[]
            {
                "apps",
            },
        });
    
        var support = new Onelogin.Roles("support", new()
        {
            Name = "Support",
            SkipMembershipRefreshes = new[]
            {
                "apps",
            },
        });
    
        var example = new Onelogin.SamlApps("example", new()
        {
            Name = "Example",
            ConnectorId = 110016,
            RoleIds = new[]
            {
                engineering.RolesId,
                support.RolesId,
            },
        });
    
    });
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-terraform-provider/sdks/go/onelogin/onelogin"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		engineering, err := onelogin.NewRoles(ctx, "engineering", &onelogin.RolesArgs{
    			Name: pulumi.String("Engineering"),
    			SkipMembershipRefreshes: pulumi.StringArray{
    				pulumi.String("apps"),
    			},
    		})
    		if err != nil {
    			return err
    		}
    		support, err := onelogin.NewRoles(ctx, "support", &onelogin.RolesArgs{
    			Name: pulumi.String("Support"),
    			SkipMembershipRefreshes: pulumi.StringArray{
    				pulumi.String("apps"),
    			},
    		})
    		if err != nil {
    			return err
    		}
    		_, err = onelogin.NewSamlApps(ctx, "example", &onelogin.SamlAppsArgs{
    			Name:        pulumi.String("Example"),
    			ConnectorId: pulumi.Float64(110016),
    			RoleIds: pulumi.Float64Array{
    				engineering.RolesId,
    				support.RolesId,
    			},
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.onelogin.Roles;
    import com.pulumi.onelogin.RolesArgs;
    import com.pulumi.onelogin.SamlApps;
    import com.pulumi.onelogin.SamlAppsArgs;
    import java.util.List;
    import java.util.ArrayList;
    import java.util.Map;
    import java.io.File;
    import java.nio.file.Files;
    import java.nio.file.Paths;
    
    public class App {
        public static void main(String[] args) {
            Pulumi.run(App::stack);
        }
    
        public static void stack(Context ctx) {
            var engineering = new Roles("engineering", RolesArgs.builder()
                .name("Engineering")
                .skipMembershipRefreshes("apps")
                .build());
    
            var support = new Roles("support", RolesArgs.builder()
                .name("Support")
                .skipMembershipRefreshes("apps")
                .build());
    
            var example = new SamlApps("example", SamlAppsArgs.builder()
                .name("Example")
                .connectorId(110016.0)
                .roleIds(            
                    engineering.rolesId(),
                    support.rolesId())
                .build());
    
        }
    }
    
    resources:
      engineering:
        type: onelogin:Roles
        properties:
          name: Engineering
          skipMembershipRefreshes:
            - apps
      support:
        type: onelogin:Roles
        properties:
          name: Support
          skipMembershipRefreshes:
            - apps
      example:
        type: onelogin:SamlApps
        properties:
          name: Example
          connectorId: 110016
          roleIds:
            - ${engineering.rolesId}
            - ${support.rolesId}
    
    saml_apps_id str
    Certificate ID.
    sso Mapping[str, str]
    The attributes included in the sso section are determined by the type of app. sso is read only and cannot be set in configuration; OneLogin supplies every value.
    tab_id float
    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.
    bearerTokenWo String
    bearerTokenWoVersion Number
    Change this to send bearer_token_wo on an update. Requires bearer_token_wo, and must be at least 1.
    brandId Number

    ID of the brand whose login page this app uses. Omit to fall back to the account default brand.

    Like policy_id, the attribute is computed as well as optional, so a brand assigned in the OneLogin admin UI is left alone by a configuration that does not mention brand_id, and removing the argument does not unassign it. Write brand_id = 0 to unassign; OneLogin refuses a literal 0 and wants null, which the provider sends on your behalf.

    configuration Map<String>
    Settings on the app's Configuration tab, as a map of strings. Any setting the connector has can be given by its name, for example audience. A name the connector does not have fails the apply with a 400. Settings left out are left alone.
    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 set of parameters for this app. Define a separate parameters block for each parameter you want to configure.
    policyId Number

    ID of the app policy enforced when users sign in to this app. Create one with onelogin.Policies.

    Only app policies can be assigned. A user policy is refused with The associated Policy with ID <id> could not be found, the same message the API gives for an ID that does not exist.

    The attribute is computed as well as optional, so a policy assigned in the OneLogin admin UI is left alone by a configuration that does not mention policy_id. The cost of that is that removing the argument does not unassign the policy — it leaves the last value in place. Write policy_id = 0 to unassign. OneLogin refuses a literal 0 and wants null for this, so the provider sends the null on your behalf.

    import * as pulumi from "@pulumi/pulumi";
    import * as onelogin from "@pulumi/onelogin";
    

    const financeApp = new onelogin.Policies("finance_app", { name: "Finance app step-up", kind: "app", forceAuthn: true, appForceAuthnOffset: 60, }); const finance = new onelogin.SamlApps("finance", { name: "Finance", connectorId: 108419, policyId: financeApp.policiesId, });

    import pulumi
    import pulumi_onelogin as onelogin
    
    finance_app = onelogin.Policies("finance_app",
        name="Finance app step-up",
        kind="app",
        force_authn=True,
        app_force_authn_offset=60)
    finance = onelogin.SamlApps("finance",
        name="Finance",
        connector_id=108419,
        policy_id=finance_app.policies_id)
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Onelogin = Pulumi.Onelogin;
    
    return await Deployment.RunAsync(() => 
    {
        var financeApp = new Onelogin.Policies("finance_app", new()
        {
            Name = "Finance app step-up",
            Kind = "app",
            ForceAuthn = true,
            AppForceAuthnOffset = 60,
        });
    
        var finance = new Onelogin.SamlApps("finance", new()
        {
            Name = "Finance",
            ConnectorId = 108419,
            PolicyId = financeApp.PoliciesId,
        });
    
    });
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-terraform-provider/sdks/go/onelogin/onelogin"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		financeApp, err := onelogin.NewPolicies(ctx, "finance_app", &onelogin.PoliciesArgs{
    			Name:                pulumi.String("Finance app step-up"),
    			Kind:                pulumi.String("app"),
    			ForceAuthn:          pulumi.Bool(true),
    			AppForceAuthnOffset: pulumi.Float64(60),
    		})
    		if err != nil {
    			return err
    		}
    		_, err = onelogin.NewSamlApps(ctx, "finance", &onelogin.SamlAppsArgs{
    			Name:        pulumi.String("Finance"),
    			ConnectorId: pulumi.Float64(108419),
    			PolicyId:    financeApp.PoliciesId,
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.onelogin.Policies;
    import com.pulumi.onelogin.PoliciesArgs;
    import com.pulumi.onelogin.SamlApps;
    import com.pulumi.onelogin.SamlAppsArgs;
    import java.util.List;
    import java.util.ArrayList;
    import java.util.Map;
    import java.io.File;
    import java.nio.file.Files;
    import java.nio.file.Paths;
    
    public class App {
        public static void main(String[] args) {
            Pulumi.run(App::stack);
        }
    
        public static void stack(Context ctx) {
            var financeApp = new Policies("financeApp", PoliciesArgs.builder()
                .name("Finance app step-up")
                .kind("app")
                .forceAuthn(true)
                .appForceAuthnOffset(60.0)
                .build());
    
            var finance = new SamlApps("finance", SamlAppsArgs.builder()
                .name("Finance")
                .connectorId(108419.0)
                .policyId(financeApp.policiesId())
                .build());
    
        }
    }
    
    resources:
      financeApp:
        type: onelogin:Policies
        name: finance_app
        properties:
          name: Finance app step-up
          kind: app
          forceAuthn: true
          appForceAuthnOffset: 60
      finance:
        type: onelogin:SamlApps
        properties:
          name: Finance
          connectorId: 108419
          policyId: ${financeApp.policiesId}
    
    provisioning Map<Boolean>
    Settings regarding the app's provisioning ability.
    roleIds List<Number>

    IDs of the roles whose users get this app. When set, the app's roles are exactly this set, written in a single create or update. Use it instead of one onelogin.AppRoleAttachments per role when assigning several roles to the same app.

    The attribute is computed as well as optional, so roles assigned some other way are left alone by a configuration that does not mention role_ids, and removing the argument leaves the current roles in place. Write role_ids = [] to remove every role.

    Once role_ids is set, it is authoritative: a role given the app anywhere else (the OneLogin admin UI, onelogin.AppRoleAttachments, or the apps argument of onelogin.Roles) is drift, and the next apply takes it off. Do not combine role_ids with those on the same app.

    A role managed by onelogin.Roles without an apps argument leaves this app alone. Add skip_membership_refresh = ["apps"] to that role to skip reading its apps as well.

    import * as pulumi from "@pulumi/pulumi";
    import * as onelogin from "@pulumi/onelogin";
    

    const engineering = new onelogin.Roles("engineering", { name: "Engineering", skipMembershipRefreshes: ["apps"], }); const support = new onelogin.Roles("support", { name: "Support", skipMembershipRefreshes: ["apps"], }); const example = new onelogin.SamlApps("example", { name: "Example", connectorId: 110016, roleIds: [ engineering.rolesId, support.rolesId, ], });

    import pulumi
    import pulumi_onelogin as onelogin
    
    engineering = onelogin.Roles("engineering",
        name="Engineering",
        skip_membership_refreshes=["apps"])
    support = onelogin.Roles("support",
        name="Support",
        skip_membership_refreshes=["apps"])
    example = onelogin.SamlApps("example",
        name="Example",
        connector_id=110016,
        role_ids=[
            engineering.roles_id,
            support.roles_id,
        ])
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Onelogin = Pulumi.Onelogin;
    
    return await Deployment.RunAsync(() => 
    {
        var engineering = new Onelogin.Roles("engineering", new()
        {
            Name = "Engineering",
            SkipMembershipRefreshes = new[]
            {
                "apps",
            },
        });
    
        var support = new Onelogin.Roles("support", new()
        {
            Name = "Support",
            SkipMembershipRefreshes = new[]
            {
                "apps",
            },
        });
    
        var example = new Onelogin.SamlApps("example", new()
        {
            Name = "Example",
            ConnectorId = 110016,
            RoleIds = new[]
            {
                engineering.RolesId,
                support.RolesId,
            },
        });
    
    });
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-terraform-provider/sdks/go/onelogin/onelogin"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		engineering, err := onelogin.NewRoles(ctx, "engineering", &onelogin.RolesArgs{
    			Name: pulumi.String("Engineering"),
    			SkipMembershipRefreshes: pulumi.StringArray{
    				pulumi.String("apps"),
    			},
    		})
    		if err != nil {
    			return err
    		}
    		support, err := onelogin.NewRoles(ctx, "support", &onelogin.RolesArgs{
    			Name: pulumi.String("Support"),
    			SkipMembershipRefreshes: pulumi.StringArray{
    				pulumi.String("apps"),
    			},
    		})
    		if err != nil {
    			return err
    		}
    		_, err = onelogin.NewSamlApps(ctx, "example", &onelogin.SamlAppsArgs{
    			Name:        pulumi.String("Example"),
    			ConnectorId: pulumi.Float64(110016),
    			RoleIds: pulumi.Float64Array{
    				engineering.RolesId,
    				support.RolesId,
    			},
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.onelogin.Roles;
    import com.pulumi.onelogin.RolesArgs;
    import com.pulumi.onelogin.SamlApps;
    import com.pulumi.onelogin.SamlAppsArgs;
    import java.util.List;
    import java.util.ArrayList;
    import java.util.Map;
    import java.io.File;
    import java.nio.file.Files;
    import java.nio.file.Paths;
    
    public class App {
        public static void main(String[] args) {
            Pulumi.run(App::stack);
        }
    
        public static void stack(Context ctx) {
            var engineering = new Roles("engineering", RolesArgs.builder()
                .name("Engineering")
                .skipMembershipRefreshes("apps")
                .build());
    
            var support = new Roles("support", RolesArgs.builder()
                .name("Support")
                .skipMembershipRefreshes("apps")
                .build());
    
            var example = new SamlApps("example", SamlAppsArgs.builder()
                .name("Example")
                .connectorId(110016.0)
                .roleIds(            
                    engineering.rolesId(),
                    support.rolesId())
                .build());
    
        }
    }
    
    resources:
      engineering:
        type: onelogin:Roles
        properties:
          name: Engineering
          skipMembershipRefreshes:
            - apps
      support:
        type: onelogin:Roles
        properties:
          name: Support
          skipMembershipRefreshes:
            - apps
      example:
        type: onelogin:SamlApps
        properties:
          name: Example
          connectorId: 110016
          roleIds:
            - ${engineering.rolesId}
            - ${support.rolesId}
    
    samlAppsId String
    Certificate ID.
    sso Map<String>
    The attributes included in the sso section are determined by the type of app. sso is read only and cannot be set in configuration; OneLogin supplies every value.
    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

    SamlAppsParameter, SamlAppsParameterArgs

    ParamKeyName string
    Name to represent the parameter in OneLogin. This is used as the unique identifier for the parameter.
    AttributesTransformations string
    Describes how the app's attributes should be transformed.
    DefaultValues List<string>
    A list of default parameter values. A single value is sent to OneLogin as a plain string and several as an array, matching how the API stores them.
    IncludeInSamlAssertion bool
    When true, this parameter will be included in a SAML assertion payload. Important for SAML attribute statements.
    Label string
    The label for the parameter. This can only be set when creating a new parameter. It cannot be updated.
    ParamId double
    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_. For example, to map a custom attribute named "department", use custom_attribute_department.
    Values List<string>
    A list of parameter values. A single value is sent to OneLogin as a plain string and several as an array, matching how the API stores them.
    ParamKeyName string
    Name to represent the parameter in OneLogin. This is used as the unique identifier for the parameter.
    AttributesTransformations string
    Describes how the app's attributes should be transformed.
    DefaultValues []string
    A list of default parameter values. A single value is sent to OneLogin as a plain string and several as an array, matching how the API stores them.
    IncludeInSamlAssertion bool
    When true, this parameter will be included in a SAML assertion payload. Important for SAML attribute statements.
    Label string
    The label for the parameter. This can only be set when creating a new parameter. It cannot be updated.
    ParamId float64
    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_. For example, to map a custom attribute named "department", use custom_attribute_department.
    Values []string
    A list of parameter values. A single value is sent to OneLogin as a plain string and several as an array, matching how the API stores them.
    param_key_name string
    Name to represent the parameter in OneLogin. This is used as the unique identifier for the parameter.
    attributes_transformations string
    Describes how the app's attributes should be transformed.
    default_values list(string)
    A list of default parameter values. A single value is sent to OneLogin as a plain string and several as an array, matching how the API stores them.
    include_in_saml_assertion bool
    When true, this parameter will be included in a SAML assertion payload. Important for SAML attribute statements.
    label string
    The label for the parameter. This can only be set when creating a new parameter. It cannot be updated.
    param_id number
    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 string
    When user_attribute_mappings is set to _macro_ this macro will be used to assign the parameter value.
    user_attribute_mappings string
    A user attribute to map values from. For custom attributes prefix the name of the attribute with custom_attribute_. For example, to map a custom attribute named "department", use custom_attribute_department.
    values list(string)
    A list of parameter values. A single value is sent to OneLogin as a plain string and several as an array, matching how the API stores them.
    paramKeyName String
    Name to represent the parameter in OneLogin. This is used as the unique identifier for the parameter.
    attributesTransformations String
    Describes how the app's attributes should be transformed.
    defaultValues List<String>
    A list of default parameter values. A single value is sent to OneLogin as a plain string and several as an array, matching how the API stores them.
    includeInSamlAssertion Boolean
    When true, this parameter will be included in a SAML assertion payload. Important for SAML attribute statements.
    label String
    The label for the parameter. This can only be set when creating a new parameter. It cannot be updated.
    paramId Double
    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_. For example, to map a custom attribute named "department", use custom_attribute_department.
    values List<String>
    A list of parameter values. A single value is sent to OneLogin as a plain string and several as an array, matching how the API stores them.
    paramKeyName string
    Name to represent the parameter in OneLogin. This is used as the unique identifier for the parameter.
    attributesTransformations string
    Describes how the app's attributes should be transformed.
    defaultValues string[]
    A list of default parameter values. A single value is sent to OneLogin as a plain string and several as an array, matching how the API stores them.
    includeInSamlAssertion boolean
    When true, this parameter will be included in a SAML assertion payload. Important for SAML attribute statements.
    label string
    The label for the parameter. This can only be set when creating a new parameter. It cannot 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_. For example, to map a custom attribute named "department", use custom_attribute_department.
    values string[]
    A list of parameter values. A single value is sent to OneLogin as a plain string and several as an array, matching how the API stores them.
    param_key_name str
    Name to represent the parameter in OneLogin. This is used as the unique identifier for the parameter.
    attributes_transformations str
    Describes how the app's attributes should be transformed.
    default_values Sequence[str]
    A list of default parameter values. A single value is sent to OneLogin as a plain string and several as an array, matching how the API stores them.
    include_in_saml_assertion bool
    When true, this parameter will be included in a SAML assertion payload. Important for SAML attribute statements.
    label str
    The label for the parameter. This can only be set when creating a new parameter. It cannot be updated.
    param_id float
    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_. For example, to map a custom attribute named "department", use custom_attribute_department.
    values Sequence[str]
    A list of parameter values. A single value is sent to OneLogin as a plain string and several as an array, matching how the API stores them.
    paramKeyName String
    Name to represent the parameter in OneLogin. This is used as the unique identifier for the parameter.
    attributesTransformations String
    Describes how the app's attributes should be transformed.
    defaultValues List<String>
    A list of default parameter values. A single value is sent to OneLogin as a plain string and several as an array, matching how the API stores them.
    includeInSamlAssertion Boolean
    When true, this parameter will be included in a SAML assertion payload. Important for SAML attribute statements.
    label String
    The label for the parameter. This can only be set when creating a new parameter. It cannot 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_. For example, to map a custom attribute named "department", use custom_attribute_department.
    values List<String>
    A list of parameter values. A single value is sent to OneLogin as a plain string and several as an array, matching how the API stores them.

    Import

    A SAML App can be imported via the OneLogin App ID.

    $ pulumi import onelogin:index/samlApps:SamlApps example_saml_app <app id>
    

    To learn more about importing existing cloud resources, see Importing resources.

    Package Details

    Repository
    onelogin onelogin/terraform-provider-onelogin
    License
    Notes
    This Pulumi package is based on the onelogin Terraform Provider.
    onelogin logo onelogin logo
    Viewing docs for onelogin 1.13.0
    published on Friday, Nov 13, 2026 by onelogin

      Try Pulumi Cloud free.
      Your team will thank you.

      Start free trial