published on Friday, Nov 13, 2026 by onelogin
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:
- Connector
Id double - The ID for the app connector, dictates the type of app (e.g. AWS Multi-Role App).
- Allow
Assumed boolSignin - Enable sign in when user has been assumed by the account owner. Defaults to
false. - Bearer
Token stringWo - Bearer
Token doubleWo Version - Change this to send
bearer_token_woon an update. Requiresbearer_token_wo, and must be at least 1. - Brand
Id 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 mentionbrand_id, and removing the argument does not unassign it. Writebrand_id = 0to unassign; OneLogin refuses a literal0and wantsnull, 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 a400. Settings left out are left alone. - Description string
- App description.
- Name string
- The app's name.
- Notes string
- Notes about the app.
- Parameters
List<Saml
Apps Parameter> - A set of parameters for this app. Define a separate
parametersblock for each parameter you want to configure. - Policy
Id 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. Writepolicy_id = 0to unassign. OneLogin refuses a literal0and wantsnullfor this, so the provider sends thenullon 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.
- Role
Ids 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.AppRoleAttachmentsper 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. Writerole_ids = []to remove every role.Once
role_idsis set, it is authoritative: a role given the app anywhere else (the OneLogin admin UI,onelogin.AppRoleAttachments, or theappsargument ofonelogin.Roles) is drift, and the next apply takes it off. Do not combinerole_idswith those on the same app.A role managed by
onelogin.Roleswithout anappsargument leaves this app alone. Addskip_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 stringId - Certificate ID.
- Visible bool
- Determine if app should be visible in OneLogin portal. Defaults to
true.
- Connector
Id float64 - The ID for the app connector, dictates the type of app (e.g. AWS Multi-Role App).
- Allow
Assumed boolSignin - Enable sign in when user has been assumed by the account owner. Defaults to
false. - Bearer
Token stringWo - Bearer
Token float64Wo Version - Change this to send
bearer_token_woon an update. Requiresbearer_token_wo, and must be at least 1. - Brand
Id 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 mentionbrand_id, and removing the argument does not unassign it. Writebrand_id = 0to unassign; OneLogin refuses a literal0and wantsnull, 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 a400. Settings left out are left alone. - Description string
- App description.
- Name string
- The app's name.
- Notes string
- Notes about the app.
- Parameters
[]Saml
Apps Parameter Args - A set of parameters for this app. Define a separate
parametersblock for each parameter you want to configure. - Policy
Id 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. Writepolicy_id = 0to unassign. OneLogin refuses a literal0and wantsnullfor this, so the provider sends thenullon 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.
- Role
Ids []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.AppRoleAttachmentsper 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. Writerole_ids = []to remove every role.Once
role_idsis set, it is authoritative: a role given the app anywhere else (the OneLogin admin UI,onelogin.AppRoleAttachments, or theappsargument ofonelogin.Roles) is drift, and the next apply takes it off. Do not combinerole_idswith those on the same app.A role managed by
onelogin.Roleswithout anappsargument leaves this app alone. Addskip_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 stringId - 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_ boolsignin - Enable sign in when user has been assumed by the account owner. Defaults to
false. - bearer_
token_ stringwo - bearer_
token_ numberwo_ version - Change this to send
bearer_token_woon an update. Requiresbearer_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 mentionbrand_id, and removing the argument does not unassign it. Writebrand_id = 0to unassign; OneLogin refuses a literal0and wantsnull, 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 a400. 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
parametersblock 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. Writepolicy_id = 0to unassign. OneLogin refuses a literal0and wantsnullfor this, so the provider sends thenullon 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.AppRoleAttachmentsper 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. Writerole_ids = []to remove every role.Once
role_idsis set, it is authoritative: a role given the app anywhere else (the OneLogin admin UI,onelogin.AppRoleAttachments, or theappsargument ofonelogin.Roles) is drift, and the next apply takes it off. Do not combinerole_idswith those on the same app.A role managed by
onelogin.Roleswithout anappsargument leaves this app alone. Addskip_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_ stringid - Certificate ID.
- visible bool
- Determine if app should be visible in OneLogin portal. Defaults to
true.
- connector
Id Double - The ID for the app connector, dictates the type of app (e.g. AWS Multi-Role App).
- allow
Assumed BooleanSignin - Enable sign in when user has been assumed by the account owner. Defaults to
false. - bearer
Token StringWo - bearer
Token DoubleWo Version - Change this to send
bearer_token_woon an update. Requiresbearer_token_wo, and must be at least 1. - brand
Id 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 mentionbrand_id, and removing the argument does not unassign it. Writebrand_id = 0to unassign; OneLogin refuses a literal0and wantsnull, 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 a400. Settings left out are left alone. - description String
- App description.
- name String
- The app's name.
- notes String
- Notes about the app.
- parameters
List<Saml
Apps Parameter> - A set of parameters for this app. Define a separate
parametersblock for each parameter you want to configure. - policy
Id 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. Writepolicy_id = 0to unassign. OneLogin refuses a literal0and wantsnullfor this, so the provider sends thenullon 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.
- role
Ids 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.AppRoleAttachmentsper 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. Writerole_ids = []to remove every role.Once
role_idsis set, it is authoritative: a role given the app anywhere else (the OneLogin admin UI,onelogin.AppRoleAttachments, or theappsargument ofonelogin.Roles) is drift, and the next apply takes it off. Do not combinerole_idswith those on the same app.A role managed by
onelogin.Roleswithout anappsargument leaves this app alone. Addskip_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 StringId - Certificate ID.
- visible Boolean
- 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 booleanSignin - Enable sign in when user has been assumed by the account owner. Defaults to
false. - bearer
Token stringWo - bearer
Token numberWo Version - Change this to send
bearer_token_woon an update. Requiresbearer_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 mentionbrand_id, and removing the argument does not unassign it. Writebrand_id = 0to unassign; OneLogin refuses a literal0and wantsnull, 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 a400. Settings left out are left alone. - description string
- App description.
- name string
- The app's name.
- notes string
- Notes about the app.
- parameters
Saml
Apps Parameter[] - A set of parameters for this app. Define a separate
parametersblock 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. Writepolicy_id = 0to unassign. OneLogin refuses a literal0and wantsnullfor this, so the provider sends thenullon 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.
- role
Ids 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.AppRoleAttachmentsper 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. Writerole_ids = []to remove every role.Once
role_idsis set, it is authoritative: a role given the app anywhere else (the OneLogin admin UI,onelogin.AppRoleAttachments, or theappsargument ofonelogin.Roles) is drift, and the next apply takes it off. Do not combinerole_idswith those on the same app.A role managed by
onelogin.Roleswithout anappsargument leaves this app alone. Addskip_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 stringId - 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_ boolsignin - Enable sign in when user has been assumed by the account owner. Defaults to
false. - bearer_
token_ strwo - bearer_
token_ floatwo_ version - Change this to send
bearer_token_woon an update. Requiresbearer_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 mentionbrand_id, and removing the argument does not unassign it. Writebrand_id = 0to unassign; OneLogin refuses a literal0and wantsnull, 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 a400. Settings left out are left alone. - description str
- App description.
- name str
- The app's name.
- notes str
- Notes about the app.
- parameters
Sequence[Saml
Apps Parameter Args] - A set of parameters for this app. Define a separate
parametersblock 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. Writepolicy_id = 0to unassign. OneLogin refuses a literal0and wantsnullfor this, so the provider sends thenullon 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.AppRoleAttachmentsper 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. Writerole_ids = []to remove every role.Once
role_idsis set, it is authoritative: a role given the app anywhere else (the OneLogin admin UI,onelogin.AppRoleAttachments, or theappsargument ofonelogin.Roles) is drift, and the next apply takes it off. Do not combinerole_idswith those on the same app.A role managed by
onelogin.Roleswithout anappsargument leaves this app alone. Addskip_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_ strid - 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 BooleanSignin - Enable sign in when user has been assumed by the account owner. Defaults to
false. - bearer
Token StringWo - bearer
Token NumberWo Version - Change this to send
bearer_token_woon an update. Requiresbearer_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 mentionbrand_id, and removing the argument does not unassign it. Writebrand_id = 0to unassign; OneLogin refuses a literal0and wantsnull, 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 a400. 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
parametersblock 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. Writepolicy_id = 0to unassign. OneLogin refuses a literal0and wantsnullfor this, so the provider sends thenullon 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.
- 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.AppRoleAttachmentsper 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. Writerole_ids = []to remove every role.Once
role_idsis set, it is authoritative: a role given the app anywhere else (the OneLogin admin UI,onelogin.AppRoleAttachments, or theappsargument ofonelogin.Roles) is drift, and the next apply takes it off. Do not combinerole_idswith those on the same app.A role managed by
onelogin.Roleswithout anappsargument leaves this app alone. Addskip_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 StringId - 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:
- Auth
Method double - 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 Dictionary<string, string>
- The attributes included in the sso section are determined by the type of app.
ssois read only and cannot be set in configuration; OneLogin supplies every value. - Tab
Id double - The tab in which to display in OneLogin portal.
- Updated
At string - Timestamp for app's last update.
- Auth
Method float64 - 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]string
- The attributes included in the sso section are determined by the type of app.
ssois read only and cannot be set in configuration; OneLogin supplies every value. - Tab
Id float64 - The tab in which to display in OneLogin portal.
- Updated
At 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.
ssois 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.
- auth
Method Double - 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,String>
- The attributes included in the sso section are determined by the type of app.
ssois read only and cannot be set in configuration; OneLogin supplies every value. - tab
Id Double - The tab in which to display in OneLogin portal.
- updated
At 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 {[key: string]: string}
- The attributes included in the sso section are determined by the type of app.
ssois 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.
- 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.
ssois 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.
- 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.
ssois 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.
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) -> SamlAppsfunc 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.
- Allow
Assumed boolSignin - Enable sign in when user has been assumed by the account owner. Defaults to
false. - Auth
Method double - The apps auth method. Refer to the OneLogin Apps Documentation for a comprehensive list of available auth methods.
- Bearer
Token stringWo - Bearer
Token doubleWo Version - Change this to send
bearer_token_woon an update. Requiresbearer_token_wo, and must be at least 1. - Brand
Id 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 mentionbrand_id, and removing the argument does not unassign it. Writebrand_id = 0to unassign; OneLogin refuses a literal0and wantsnull, 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 a400. Settings left out are left alone. - Connector
Id double - 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<Saml
Apps Parameter> - A set of parameters for this app. Define a separate
parametersblock for each parameter you want to configure. - Policy
Id 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. Writepolicy_id = 0to unassign. OneLogin refuses a literal0and wantsnullfor this, so the provider sends thenullon 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.
- Role
Ids 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.AppRoleAttachmentsper 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. Writerole_ids = []to remove every role.Once
role_idsis set, it is authoritative: a role given the app anywhere else (the OneLogin admin UI,onelogin.AppRoleAttachments, or theappsargument ofonelogin.Roles) is drift, and the next apply takes it off. Do not combinerole_idswith those on the same app.A role managed by
onelogin.Roleswithout anappsargument leaves this app alone. Addskip_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 stringId - Certificate ID.
- Sso Dictionary<string, string>
- The attributes included in the sso section are determined by the type of app.
ssois read only and cannot be set in configuration; OneLogin supplies every value. - Tab
Id double - 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.
- Allow
Assumed boolSignin - Enable sign in when user has been assumed by the account owner. Defaults to
false. - Auth
Method float64 - The apps auth method. Refer to the OneLogin Apps Documentation for a comprehensive list of available auth methods.
- Bearer
Token stringWo - Bearer
Token float64Wo Version - Change this to send
bearer_token_woon an update. Requiresbearer_token_wo, and must be at least 1. - Brand
Id 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 mentionbrand_id, and removing the argument does not unassign it. Writebrand_id = 0to unassign; OneLogin refuses a literal0and wantsnull, 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 a400. Settings left out are left alone. - Connector
Id float64 - 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
[]Saml
Apps Parameter Args - A set of parameters for this app. Define a separate
parametersblock for each parameter you want to configure. - Policy
Id 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. Writepolicy_id = 0to unassign. OneLogin refuses a literal0and wantsnullfor this, so the provider sends thenullon 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.
- Role
Ids []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.AppRoleAttachmentsper 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. Writerole_ids = []to remove every role.Once
role_idsis set, it is authoritative: a role given the app anywhere else (the OneLogin admin UI,onelogin.AppRoleAttachments, or theappsargument ofonelogin.Roles) is drift, and the next apply takes it off. Do not combinerole_idswith those on the same app.A role managed by
onelogin.Roleswithout anappsargument leaves this app alone. Addskip_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 stringId - Certificate ID.
- Sso map[string]string
- The attributes included in the sso section are determined by the type of app.
ssois read only and cannot be set in configuration; OneLogin supplies every value. - Tab
Id float64 - 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.
- allow_
assumed_ boolsignin - 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_ stringwo - bearer_
token_ numberwo_ version - Change this to send
bearer_token_woon an update. Requiresbearer_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 mentionbrand_id, and removing the argument does not unassign it. Writebrand_id = 0to unassign; OneLogin refuses a literal0and wantsnull, 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 a400. 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
parametersblock 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. Writepolicy_id = 0to unassign. OneLogin refuses a literal0and wantsnullfor this, so the provider sends thenullon 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.AppRoleAttachmentsper 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. Writerole_ids = []to remove every role.Once
role_idsis set, it is authoritative: a role given the app anywhere else (the OneLogin admin UI,onelogin.AppRoleAttachments, or theappsargument ofonelogin.Roles) is drift, and the next apply takes it off. Do not combinerole_idswith those on the same app.A role managed by
onelogin.Roleswithout anappsargument leaves this app alone. Addskip_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_ stringid - Certificate ID.
- sso map(string)
- The attributes included in the sso section are determined by the type of app.
ssois 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.
- allow
Assumed BooleanSignin - Enable sign in when user has been assumed by the account owner. Defaults to
false. - auth
Method Double - The apps auth method. Refer to the OneLogin Apps Documentation for a comprehensive list of available auth methods.
- bearer
Token StringWo - bearer
Token DoubleWo Version - Change this to send
bearer_token_woon an update. Requiresbearer_token_wo, and must be at least 1. - brand
Id 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 mentionbrand_id, and removing the argument does not unassign it. Writebrand_id = 0to unassign; OneLogin refuses a literal0and wantsnull, 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 a400. Settings left out are left alone. - connector
Id Double - 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<Saml
Apps Parameter> - A set of parameters for this app. Define a separate
parametersblock for each parameter you want to configure. - policy
Id 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. Writepolicy_id = 0to unassign. OneLogin refuses a literal0and wantsnullfor this, so the provider sends thenullon 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.
- role
Ids 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.AppRoleAttachmentsper 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. Writerole_ids = []to remove every role.Once
role_idsis set, it is authoritative: a role given the app anywhere else (the OneLogin admin UI,onelogin.AppRoleAttachments, or theappsargument ofonelogin.Roles) is drift, and the next apply takes it off. Do not combinerole_idswith those on the same app.A role managed by
onelogin.Roleswithout anappsargument leaves this app alone. Addskip_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 StringId - Certificate ID.
- sso Map<String,String>
- The attributes included in the sso section are determined by the type of app.
ssois read only and cannot be set in configuration; OneLogin supplies every value. - tab
Id Double - The tab in which to display in OneLogin portal.
- updated
At String - Timestamp for app's last update.
- visible Boolean
- Determine if app should be visible in OneLogin portal. Defaults to
true.
- allow
Assumed booleanSignin - 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 stringWo - bearer
Token numberWo Version - Change this to send
bearer_token_woon an update. Requiresbearer_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 mentionbrand_id, and removing the argument does not unassign it. Writebrand_id = 0to unassign; OneLogin refuses a literal0and wantsnull, 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 a400. 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
Saml
Apps Parameter[] - A set of parameters for this app. Define a separate
parametersblock 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. Writepolicy_id = 0to unassign. OneLogin refuses a literal0and wantsnullfor this, so the provider sends thenullon 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.
- role
Ids 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.AppRoleAttachmentsper 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. Writerole_ids = []to remove every role.Once
role_idsis set, it is authoritative: a role given the app anywhere else (the OneLogin admin UI,onelogin.AppRoleAttachments, or theappsargument ofonelogin.Roles) is drift, and the next apply takes it off. Do not combinerole_idswith those on the same app.A role managed by
onelogin.Roleswithout anappsargument leaves this app alone. Addskip_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 stringId - Certificate ID.
- sso {[key: string]: string}
- The attributes included in the sso section are determined by the type of app.
ssois 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 boolean
- Determine if app should be visible in OneLogin portal. Defaults to
true.
- allow_
assumed_ boolsignin - 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_ strwo - bearer_
token_ floatwo_ version - Change this to send
bearer_token_woon an update. Requiresbearer_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 mentionbrand_id, and removing the argument does not unassign it. Writebrand_id = 0to unassign; OneLogin refuses a literal0and wantsnull, 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 a400. 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[Saml
Apps Parameter Args] - A set of parameters for this app. Define a separate
parametersblock 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. Writepolicy_id = 0to unassign. OneLogin refuses a literal0and wantsnullfor this, so the provider sends thenullon 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.AppRoleAttachmentsper 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. Writerole_ids = []to remove every role.Once
role_idsis set, it is authoritative: a role given the app anywhere else (the OneLogin admin UI,onelogin.AppRoleAttachments, or theappsargument ofonelogin.Roles) is drift, and the next apply takes it off. Do not combinerole_idswith those on the same app.A role managed by
onelogin.Roleswithout anappsargument leaves this app alone. Addskip_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_ strid - Certificate ID.
- sso Mapping[str, str]
- The attributes included in the sso section are determined by the type of app.
ssois 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.
- allow
Assumed BooleanSignin - 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 StringWo - bearer
Token NumberWo Version - Change this to send
bearer_token_woon an update. Requiresbearer_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 mentionbrand_id, and removing the argument does not unassign it. Writebrand_id = 0to unassign; OneLogin refuses a literal0and wantsnull, 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 a400. 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<Property Map>
- A set of parameters for this app. Define a separate
parametersblock 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. Writepolicy_id = 0to unassign. OneLogin refuses a literal0and wantsnullfor this, so the provider sends thenullon 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.
- 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.AppRoleAttachmentsper 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. Writerole_ids = []to remove every role.Once
role_idsis set, it is authoritative: a role given the app anywhere else (the OneLogin admin UI,onelogin.AppRoleAttachments, or theappsargument ofonelogin.Roles) is drift, and the next apply takes it off. Do not combinerole_idswith those on the same app.A role managed by
onelogin.Roleswithout anappsargument leaves this app alone. Addskip_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 StringId - Certificate ID.
- sso Map<String>
- The attributes included in the sso section are determined by the type of app.
ssois 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 Boolean
- Determine if app should be visible in OneLogin portal. Defaults to
true.
Supporting Types
SamlAppsParameter, SamlAppsParameterArgs
- Param
Key stringName - 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 boolSaml Assertion - 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 double - The parameter ID.
- Provisioned
Entitlements bool - Provisioned access entitlements for the app. Defaults to
false. - Safe
Entitlements boolEnabled - Indicates that the parameter is used to support creating entitlements using OneLogin Mappings. Defaults to
false. - Skip
If boolBlank - Flag to let the SCIM provisioner know not include this value if it's blank. Defaults to
false. - User
Attribute stringMacros - When
user_attribute_mappingsis set to_macro_this macro will be used to assign the parameter value. - User
Attribute stringMappings - 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", usecustom_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.
- Param
Key stringName - 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 []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 boolSaml Assertion - 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 float64 - The parameter ID.
- Provisioned
Entitlements bool - Provisioned access entitlements for the app. Defaults to
false. - Safe
Entitlements boolEnabled - Indicates that the parameter is used to support creating entitlements using OneLogin Mappings. Defaults to
false. - Skip
If boolBlank - Flag to let the SCIM provisioner know not include this value if it's blank. Defaults to
false. - User
Attribute stringMacros - When
user_attribute_mappingsis set to_macro_this macro will be used to assign the parameter value. - User
Attribute stringMappings - 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", usecustom_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_ stringname - 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_ boolsaml_ assertion - 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_ boolenabled - Indicates that the parameter is used to support creating entitlements using OneLogin Mappings. Defaults to
false. - skip_
if_ boolblank - Flag to let the SCIM provisioner know not include this value if it's blank. Defaults to
false. - user_
attribute_ stringmacros - When
user_attribute_mappingsis set to_macro_this macro will be used to assign the parameter value. - user_
attribute_ stringmappings - 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", usecustom_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.
- param
Key StringName - 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 BooleanSaml Assertion - 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 Double - The parameter ID.
- provisioned
Entitlements Boolean - Provisioned access entitlements for the app. Defaults to
false. - safe
Entitlements BooleanEnabled - Indicates that the parameter is used to support creating entitlements using OneLogin Mappings. Defaults to
false. - skip
If BooleanBlank - Flag to let the SCIM provisioner know not include this value if it's blank. Defaults to
false. - user
Attribute StringMacros - When
user_attribute_mappingsis set to_macro_this macro will be used to assign the parameter value. - user
Attribute StringMappings - 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", usecustom_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.
- param
Key stringName - 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 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 booleanSaml Assertion - 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 boolean - Provisioned access entitlements for the app. Defaults to
false. - safe
Entitlements booleanEnabled - Indicates that the parameter is used to support creating entitlements using OneLogin Mappings. Defaults to
false. - skip
If booleanBlank - Flag to let the SCIM provisioner know not include this value if it's blank. Defaults to
false. - user
Attribute stringMacros - When
user_attribute_mappingsis set to_macro_this macro will be used to assign the parameter value. - user
Attribute stringMappings - 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", usecustom_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_ strname - 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_ boolsaml_ assertion - 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_ boolenabled - Indicates that the parameter is used to support creating entitlements using OneLogin Mappings. Defaults to
false. - skip_
if_ boolblank - Flag to let the SCIM provisioner know not include this value if it's blank. Defaults to
false. - user_
attribute_ strmacros - When
user_attribute_mappingsis set to_macro_this macro will be used to assign the parameter value. - user_
attribute_ strmappings - 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", usecustom_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.
- param
Key StringName - 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 BooleanSaml Assertion - 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 Boolean - Provisioned access entitlements for the app. Defaults to
false. - safe
Entitlements BooleanEnabled - Indicates that the parameter is used to support creating entitlements using OneLogin Mappings. Defaults to
false. - skip
If BooleanBlank - Flag to let the SCIM provisioner know not include this value if it's blank. Defaults to
false. - user
Attribute StringMacros - When
user_attribute_mappingsis set to_macro_this macro will be used to assign the parameter value. - user
Attribute StringMappings - 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", usecustom_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
oneloginTerraform Provider.
published on Friday, Nov 13, 2026 by onelogin