1. Packages
  2. Onelogin Provider
  3. API Docs
  4. SamlApps
onelogin 0.11.0 published on Friday, Aug 29, 2025 by onelogin

onelogin.SamlApps

Explore with Pulumi AI

onelogin logo
onelogin 0.11.0 published on Friday, Aug 29, 2025 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("exampleSamlApp", {
        allowAssumedSignin: false,
        configuration: {
            provider_arn: "example_arn",
            signature_algorithm: "SHA-1",
        },
        connectorId: 12345,
        description: "example saml app",
        notes: "example saml app",
        parameters: [
            {
                includeInSamlAssertion: true,
                label: "Email",
                paramKeyName: "email",
                userAttributeMappings: "email",
            },
            {
                includeInSamlAssertion: true,
                label: "First Name",
                paramKeyName: "firstname",
                userAttributeMappings: "firstname",
            },
            {
                includeInSamlAssertion: true,
                label: "Last Name",
                paramKeyName: "lastname",
                userAttributeMappings: "lastname",
            },
        ],
        provisioning: {
            enabled: false,
        },
        visible: false,
    });
    
    import pulumi
    import pulumi_onelogin as onelogin
    
    example_saml_app = onelogin.SamlApps("exampleSamlApp",
        allow_assumed_signin=False,
        configuration={
            "provider_arn": "example_arn",
            "signature_algorithm": "SHA-1",
        },
        connector_id=12345,
        description="example saml app",
        notes="example saml app",
        parameters=[
            {
                "include_in_saml_assertion": True,
                "label": "Email",
                "param_key_name": "email",
                "user_attribute_mappings": "email",
            },
            {
                "include_in_saml_assertion": True,
                "label": "First Name",
                "param_key_name": "firstname",
                "user_attribute_mappings": "firstname",
            },
            {
                "include_in_saml_assertion": True,
                "label": "Last Name",
                "param_key_name": "lastname",
                "user_attribute_mappings": "lastname",
            },
        ],
        provisioning={
            "enabled": False,
        },
        visible=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, "exampleSamlApp", &onelogin.SamlAppsArgs{
    			AllowAssumedSignin: pulumi.Bool(false),
    			Configuration: pulumi.StringMap{
    				"provider_arn":        pulumi.String("example_arn"),
    				"signature_algorithm": pulumi.String("SHA-1"),
    			},
    			ConnectorId: pulumi.Float64(12345),
    			Description: pulumi.String("example saml app"),
    			Notes:       pulumi.String("example saml app"),
    			Parameters: onelogin.SamlAppsParameterArray{
    				&onelogin.SamlAppsParameterArgs{
    					IncludeInSamlAssertion: pulumi.Bool(true),
    					Label:                  pulumi.String("Email"),
    					ParamKeyName:           pulumi.String("email"),
    					UserAttributeMappings:  pulumi.String("email"),
    				},
    				&onelogin.SamlAppsParameterArgs{
    					IncludeInSamlAssertion: pulumi.Bool(true),
    					Label:                  pulumi.String("First Name"),
    					ParamKeyName:           pulumi.String("firstname"),
    					UserAttributeMappings:  pulumi.String("firstname"),
    				},
    				&onelogin.SamlAppsParameterArgs{
    					IncludeInSamlAssertion: pulumi.Bool(true),
    					Label:                  pulumi.String("Last Name"),
    					ParamKeyName:           pulumi.String("lastname"),
    					UserAttributeMappings:  pulumi.String("lastname"),
    				},
    			},
    			Provisioning: pulumi.BoolMap{
    				"enabled": pulumi.Bool(false),
    			},
    			Visible: 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("exampleSamlApp", new()
        {
            AllowAssumedSignin = false,
            Configuration = 
            {
                { "provider_arn", "example_arn" },
                { "signature_algorithm", "SHA-1" },
            },
            ConnectorId = 12345,
            Description = "example saml app",
            Notes = "example saml app",
            Parameters = new[]
            {
                new Onelogin.Inputs.SamlAppsParameterArgs
                {
                    IncludeInSamlAssertion = true,
                    Label = "Email",
                    ParamKeyName = "email",
                    UserAttributeMappings = "email",
                },
                new Onelogin.Inputs.SamlAppsParameterArgs
                {
                    IncludeInSamlAssertion = true,
                    Label = "First Name",
                    ParamKeyName = "firstname",
                    UserAttributeMappings = "firstname",
                },
                new Onelogin.Inputs.SamlAppsParameterArgs
                {
                    IncludeInSamlAssertion = true,
                    Label = "Last Name",
                    ParamKeyName = "lastname",
                    UserAttributeMappings = "lastname",
                },
            },
            Provisioning = 
            {
                { "enabled", false },
            },
            Visible = 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()
                .allowAssumedSignin(false)
                .configuration(Map.ofEntries(
                    Map.entry("provider_arn", "example_arn"),
                    Map.entry("signature_algorithm", "SHA-1")
                ))
                .connectorId(12345)
                .description("example saml app")
                .notes("example saml app")
                .parameters(            
                    SamlAppsParameterArgs.builder()
                        .includeInSamlAssertion(true)
                        .label("Email")
                        .paramKeyName("email")
                        .userAttributeMappings("email")
                        .build(),
                    SamlAppsParameterArgs.builder()
                        .includeInSamlAssertion(true)
                        .label("First Name")
                        .paramKeyName("firstname")
                        .userAttributeMappings("firstname")
                        .build(),
                    SamlAppsParameterArgs.builder()
                        .includeInSamlAssertion(true)
                        .label("Last Name")
                        .paramKeyName("lastname")
                        .userAttributeMappings("lastname")
                        .build())
                .provisioning(Map.of("enabled", false))
                .visible(false)
                .build());
    
        }
    }
    
    resources:
      exampleSamlApp:
        type: onelogin:SamlApps
        properties:
          allowAssumedSignin: false
          configuration:
            provider_arn: example_arn
            signature_algorithm: SHA-1
          connectorId: 12345
          description: example saml app
          notes: example saml app
          parameters:
            - includeInSamlAssertion: true
              label: Email
              paramKeyName: email
              userAttributeMappings: email
            - includeInSamlAssertion: true
              label: First Name
              paramKeyName: firstname
              userAttributeMappings: firstname
            - includeInSamlAssertion: true
              label: Last Name
              paramKeyName: lastname
              userAttributeMappings: lastname
          provisioning:
            enabled: false
          visible: false
    

    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,
                 allow_assumed_signin: Optional[bool] = None,
                 brand_id: Optional[float] = None,
                 configuration: Optional[Mapping[str, str]] = None,
                 description: Optional[str] = None,
                 name: Optional[str] = None,
                 notes: Optional[str] = None,
                 parameters: Optional[Sequence[SamlAppsParameterArgs]] = None,
                 provisioning: Optional[Mapping[str, bool]] = None,
                 saml_apps_id: Optional[str] = None,
                 sso: Optional[Mapping[str, 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.
    
    

    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,
        AllowAssumedSignin = false,
        BrandId = 0,
        Configuration = 
        {
            { "string", "string" },
        },
        Description = "string",
        Name = "string",
        Notes = "string",
        Parameters = new[]
        {
            new Onelogin.Inputs.SamlAppsParameterArgs
            {
                ParamKeyName = "string",
                AttributesTransformations = "string",
                DefaultValues = "string",
                IncludeInSamlAssertion = false,
                Label = "string",
                ParamId = 0,
                ProvisionedEntitlements = false,
                SafeEntitlementsEnabled = false,
                SkipIfBlank = false,
                UserAttributeMacros = "string",
                UserAttributeMappings = "string",
                Values = "string",
            },
        },
        Provisioning = 
        {
            { "string", false },
        },
        SamlAppsId = "string",
        Sso = 
        {
            { "string", "string" },
        },
        Visible = false,
    });
    
    example, err := onelogin.NewSamlApps(ctx, "samlAppsResource", &onelogin.SamlAppsArgs{
    	ConnectorId:        pulumi.Float64(0),
    	AllowAssumedSignin: pulumi.Bool(false),
    	BrandId:            pulumi.Float64(0),
    	Configuration: pulumi.StringMap{
    		"string": pulumi.String("string"),
    	},
    	Description: pulumi.String("string"),
    	Name:        pulumi.String("string"),
    	Notes:       pulumi.String("string"),
    	Parameters: onelogin.SamlAppsParameterArray{
    		&onelogin.SamlAppsParameterArgs{
    			ParamKeyName:              pulumi.String("string"),
    			AttributesTransformations: pulumi.String("string"),
    			DefaultValues:             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.String("string"),
    		},
    	},
    	Provisioning: pulumi.BoolMap{
    		"string": pulumi.Bool(false),
    	},
    	SamlAppsId: pulumi.String("string"),
    	Sso: pulumi.StringMap{
    		"string": pulumi.String("string"),
    	},
    	Visible: pulumi.Bool(false),
    })
    
    var samlAppsResource = new SamlApps("samlAppsResource", SamlAppsArgs.builder()
        .connectorId(0.0)
        .allowAssumedSignin(false)
        .brandId(0.0)
        .configuration(Map.of("string", "string"))
        .description("string")
        .name("string")
        .notes("string")
        .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())
        .provisioning(Map.of("string", false))
        .samlAppsId("string")
        .sso(Map.of("string", "string"))
        .visible(false)
        .build());
    
    saml_apps_resource = onelogin.SamlApps("samlAppsResource",
        connector_id=0,
        allow_assumed_signin=False,
        brand_id=0,
        configuration={
            "string": "string",
        },
        description="string",
        name="string",
        notes="string",
        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",
        }],
        provisioning={
            "string": False,
        },
        saml_apps_id="string",
        sso={
            "string": "string",
        },
        visible=False)
    
    const samlAppsResource = new onelogin.SamlApps("samlAppsResource", {
        connectorId: 0,
        allowAssumedSignin: false,
        brandId: 0,
        configuration: {
            string: "string",
        },
        description: "string",
        name: "string",
        notes: "string",
        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",
        }],
        provisioning: {
            string: false,
        },
        samlAppsId: "string",
        sso: {
            string: "string",
        },
        visible: false,
    });
    
    type: onelogin:SamlApps
    properties:
        allowAssumedSignin: false
        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
        provisioning:
            string: false
        samlAppsId: string
        sso:
            string: 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.
    BrandId double
    Configuration Dictionary<string, string>
    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.
    Provisioning Dictionary<string, bool>
    Settings regarding the app's provisioning ability.
    SamlAppsId string
    Certificate ID.
    Sso Dictionary<string, string>
    The attributes included in the sso section are determined by the type of app. sso attributes are read only.
    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.
    BrandId float64
    Configuration map[string]string
    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.
    Provisioning map[string]bool
    Settings regarding the app's provisioning ability.
    SamlAppsId string
    Certificate ID.
    Sso map[string]string
    The attributes included in the sso section are determined by the type of app. sso attributes are read only.
    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.
    brandId Double
    configuration Map<String,String>
    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.
    provisioning Map<String,Boolean>
    Settings regarding the app's provisioning ability.
    samlAppsId String
    Certificate ID.
    sso Map<String,String>
    The attributes included in the sso section are determined by the type of app. sso attributes are read only.
    visible Boolean
    Determine if app should be visible in OneLogin portal. Defaults to true.
    connectorId number
    The ID for the app connector, dictates the type of app (e.g. AWS Multi-Role App).
    allowAssumedSignin boolean
    Enable sign in when user has been assumed by the account owner. Defaults to false.
    brandId number
    configuration {[key: string]: string}
    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.
    provisioning {[key: string]: boolean}
    Settings regarding the app's provisioning ability.
    samlAppsId string
    Certificate ID.
    sso {[key: string]: string}
    The attributes included in the sso section are determined by the type of app. sso attributes are read only.
    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.
    brand_id float
    configuration Mapping[str, str]
    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.
    provisioning Mapping[str, bool]
    Settings regarding the app's provisioning ability.
    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 attributes are read only.
    visible bool
    Determine if app should be visible in OneLogin portal. Defaults to true.
    connectorId Number
    The ID for the app connector, dictates the type of app (e.g. AWS Multi-Role App).
    allowAssumedSignin Boolean
    Enable sign in when user has been assumed by the account owner. Defaults to false.
    brandId Number
    configuration Map<String>
    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.
    provisioning Map<Boolean>
    Settings regarding the app's provisioning ability.
    samlAppsId String
    Certificate ID.
    sso Map<String>
    The attributes included in the sso section are determined by the type of app. sso attributes are read only.
    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.
    PolicyId double
    The security policy assigned to the app.
    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.
    PolicyId float64
    The security policy assigned to the app.
    TabId float64
    The tab in which to display in OneLogin portal.
    UpdatedAt 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.
    policyId Double
    The security policy assigned to the app.
    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.
    policyId number
    The security policy assigned to the app.
    tabId number
    The tab in which to display in OneLogin portal.
    updatedAt string
    Timestamp for app's last update.
    auth_method 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.
    policy_id float
    The security policy assigned to the app.
    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.
    policyId Number
    The security policy assigned to the app.
    tabId Number
    The tab in which to display in OneLogin portal.
    updatedAt String
    Timestamp for app's last update.

    Look up Existing 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,
            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,
            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:  _:    type: onelogin:SamlApps    get:      id: ${id}
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    resource_name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    The following state arguments are supported:
    AllowAssumedSignin bool
    Enable sign in when user has been assumed by the account owner. Defaults to false.
    AuthMethod double
    The apps auth method. Refer to the OneLogin Apps Documentation for a comprehensive list of available auth methods.
    BrandId double
    Configuration Dictionary<string, string>
    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
    The security policy assigned to the app.
    Provisioning Dictionary<string, bool>
    Settings regarding the app's provisioning ability.
    SamlAppsId string
    Certificate ID.
    Sso Dictionary<string, string>
    The attributes included in the sso section are determined by the type of app. sso attributes are read only.
    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.
    BrandId float64
    Configuration map[string]string
    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
    The security policy assigned to the app.
    Provisioning map[string]bool
    Settings regarding the app's provisioning ability.
    SamlAppsId string
    Certificate ID.
    Sso map[string]string
    The attributes included in the sso section are determined by the type of app. sso attributes are read only.
    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.
    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.
    brandId Double
    configuration Map<String,String>
    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
    The security policy assigned to the app.
    provisioning Map<String,Boolean>
    Settings regarding the app's provisioning ability.
    samlAppsId String
    Certificate ID.
    sso Map<String,String>
    The attributes included in the sso section are determined by the type of app. sso attributes are read only.
    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.
    brandId number
    configuration {[key: string]: string}
    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
    The security policy assigned to the app.
    provisioning {[key: string]: boolean}
    Settings regarding the app's provisioning ability.
    samlAppsId string
    Certificate ID.
    sso {[key: string]: string}
    The attributes included in the sso section are determined by the type of app. sso attributes are read only.
    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.
    brand_id float
    configuration Mapping[str, str]
    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
    The security policy assigned to the app.
    provisioning Mapping[str, bool]
    Settings regarding the app's provisioning ability.
    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 attributes are read only.
    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.
    brandId Number
    configuration Map<String>
    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
    The security policy assigned to the app.
    provisioning Map<Boolean>
    Settings regarding the app's provisioning ability.
    samlAppsId String
    Certificate ID.
    sso Map<String>
    The attributes included in the sso section are determined by the type of app. sso attributes are read only.
    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 string
    Default parameter values.
    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 string
    Parameter values.
    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
    Default parameter values.
    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
    Parameter values.
    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
    Default parameter values.
    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 String
    Parameter values.
    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
    Default parameter values.
    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
    Parameter values.
    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 str
    Default parameter values.
    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 str
    Parameter values.
    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
    Default parameter values.
    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
    Parameter values.

    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 0.11.0 published on Friday, Aug 29, 2025 by onelogin