1. Packages
  2. Authentik Provider
  3. API Docs
  4. StageUserLogin
authentik 2025.6.0 published on Wednesday, Jun 18, 2025 by goauthentik

authentik.StageUserLogin

Explore with Pulumi AI

authentik logo
authentik 2025.6.0 published on Wednesday, Jun 18, 2025 by goauthentik

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as authentik from "@pulumi/authentik";
    
    const name = new authentik.StageUserLogin("name", {});
    
    import pulumi
    import pulumi_authentik as authentik
    
    name = authentik.StageUserLogin("name")
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-terraform-provider/sdks/go/authentik/v2025/authentik"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := authentik.NewStageUserLogin(ctx, "name", nil)
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Authentik = Pulumi.Authentik;
    
    return await Deployment.RunAsync(() => 
    {
        var name = new Authentik.StageUserLogin("name");
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.authentik.StageUserLogin;
    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 name = new StageUserLogin("name");
    
        }
    }
    
    resources:
      name:
        type: authentik:StageUserLogin
    

    Create StageUserLogin Resource

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

    Constructor syntax

    new StageUserLogin(name: string, args?: StageUserLoginArgs, opts?: CustomResourceOptions);
    @overload
    def StageUserLogin(resource_name: str,
                       args: Optional[StageUserLoginArgs] = None,
                       opts: Optional[ResourceOptions] = None)
    
    @overload
    def StageUserLogin(resource_name: str,
                       opts: Optional[ResourceOptions] = None,
                       geoip_binding: Optional[str] = None,
                       name: Optional[str] = None,
                       network_binding: Optional[str] = None,
                       remember_me_offset: Optional[str] = None,
                       session_duration: Optional[str] = None,
                       stage_user_login_id: Optional[str] = None,
                       terminate_other_sessions: Optional[bool] = None)
    func NewStageUserLogin(ctx *Context, name string, args *StageUserLoginArgs, opts ...ResourceOption) (*StageUserLogin, error)
    public StageUserLogin(string name, StageUserLoginArgs? args = null, CustomResourceOptions? opts = null)
    public StageUserLogin(String name, StageUserLoginArgs args)
    public StageUserLogin(String name, StageUserLoginArgs args, CustomResourceOptions options)
    
    type: authentik:StageUserLogin
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    

    Parameters

    name string
    The unique name of the resource.
    args StageUserLoginArgs
    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 StageUserLoginArgs
    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 StageUserLoginArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args StageUserLoginArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args StageUserLoginArgs
    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 stageUserLoginResource = new Authentik.StageUserLogin("stageUserLoginResource", new()
    {
        GeoipBinding = "string",
        Name = "string",
        NetworkBinding = "string",
        RememberMeOffset = "string",
        SessionDuration = "string",
        StageUserLoginId = "string",
        TerminateOtherSessions = false,
    });
    
    example, err := authentik.NewStageUserLogin(ctx, "stageUserLoginResource", &authentik.StageUserLoginArgs{
    	GeoipBinding:           pulumi.String("string"),
    	Name:                   pulumi.String("string"),
    	NetworkBinding:         pulumi.String("string"),
    	RememberMeOffset:       pulumi.String("string"),
    	SessionDuration:        pulumi.String("string"),
    	StageUserLoginId:       pulumi.String("string"),
    	TerminateOtherSessions: pulumi.Bool(false),
    })
    
    var stageUserLoginResource = new StageUserLogin("stageUserLoginResource", StageUserLoginArgs.builder()
        .geoipBinding("string")
        .name("string")
        .networkBinding("string")
        .rememberMeOffset("string")
        .sessionDuration("string")
        .stageUserLoginId("string")
        .terminateOtherSessions(false)
        .build());
    
    stage_user_login_resource = authentik.StageUserLogin("stageUserLoginResource",
        geoip_binding="string",
        name="string",
        network_binding="string",
        remember_me_offset="string",
        session_duration="string",
        stage_user_login_id="string",
        terminate_other_sessions=False)
    
    const stageUserLoginResource = new authentik.StageUserLogin("stageUserLoginResource", {
        geoipBinding: "string",
        name: "string",
        networkBinding: "string",
        rememberMeOffset: "string",
        sessionDuration: "string",
        stageUserLoginId: "string",
        terminateOtherSessions: false,
    });
    
    type: authentik:StageUserLogin
    properties:
        geoipBinding: string
        name: string
        networkBinding: string
        rememberMeOffset: string
        sessionDuration: string
        stageUserLoginId: string
        terminateOtherSessions: false
    

    StageUserLogin 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 StageUserLogin resource accepts the following input properties:

    GeoipBinding string
    Allowed values: - no_binding - bind_continent - bind_continent_country - bind_continent_country_city Defaults to no_binding.
    Name string
    NetworkBinding string
    Allowed values: - no_binding - bind_asn - bind_asn_network - bind_asn_network_ip Defaults to no_binding.
    RememberMeOffset string
    Defaults to seconds=0.
    SessionDuration string
    Defaults to seconds=0.
    StageUserLoginId string
    TerminateOtherSessions bool
    Defaults to false.
    GeoipBinding string
    Allowed values: - no_binding - bind_continent - bind_continent_country - bind_continent_country_city Defaults to no_binding.
    Name string
    NetworkBinding string
    Allowed values: - no_binding - bind_asn - bind_asn_network - bind_asn_network_ip Defaults to no_binding.
    RememberMeOffset string
    Defaults to seconds=0.
    SessionDuration string
    Defaults to seconds=0.
    StageUserLoginId string
    TerminateOtherSessions bool
    Defaults to false.
    geoipBinding String
    Allowed values: - no_binding - bind_continent - bind_continent_country - bind_continent_country_city Defaults to no_binding.
    name String
    networkBinding String
    Allowed values: - no_binding - bind_asn - bind_asn_network - bind_asn_network_ip Defaults to no_binding.
    rememberMeOffset String
    Defaults to seconds=0.
    sessionDuration String
    Defaults to seconds=0.
    stageUserLoginId String
    terminateOtherSessions Boolean
    Defaults to false.
    geoipBinding string
    Allowed values: - no_binding - bind_continent - bind_continent_country - bind_continent_country_city Defaults to no_binding.
    name string
    networkBinding string
    Allowed values: - no_binding - bind_asn - bind_asn_network - bind_asn_network_ip Defaults to no_binding.
    rememberMeOffset string
    Defaults to seconds=0.
    sessionDuration string
    Defaults to seconds=0.
    stageUserLoginId string
    terminateOtherSessions boolean
    Defaults to false.
    geoip_binding str
    Allowed values: - no_binding - bind_continent - bind_continent_country - bind_continent_country_city Defaults to no_binding.
    name str
    network_binding str
    Allowed values: - no_binding - bind_asn - bind_asn_network - bind_asn_network_ip Defaults to no_binding.
    remember_me_offset str
    Defaults to seconds=0.
    session_duration str
    Defaults to seconds=0.
    stage_user_login_id str
    terminate_other_sessions bool
    Defaults to false.
    geoipBinding String
    Allowed values: - no_binding - bind_continent - bind_continent_country - bind_continent_country_city Defaults to no_binding.
    name String
    networkBinding String
    Allowed values: - no_binding - bind_asn - bind_asn_network - bind_asn_network_ip Defaults to no_binding.
    rememberMeOffset String
    Defaults to seconds=0.
    sessionDuration String
    Defaults to seconds=0.
    stageUserLoginId String
    terminateOtherSessions Boolean
    Defaults to false.

    Outputs

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

    Id string
    The provider-assigned unique ID for this managed resource.
    Id string
    The provider-assigned unique ID for this managed resource.
    id String
    The provider-assigned unique ID for this managed resource.
    id string
    The provider-assigned unique ID for this managed resource.
    id str
    The provider-assigned unique ID for this managed resource.
    id String
    The provider-assigned unique ID for this managed resource.

    Look up Existing StageUserLogin Resource

    Get an existing StageUserLogin 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?: StageUserLoginState, opts?: CustomResourceOptions): StageUserLogin
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            geoip_binding: Optional[str] = None,
            name: Optional[str] = None,
            network_binding: Optional[str] = None,
            remember_me_offset: Optional[str] = None,
            session_duration: Optional[str] = None,
            stage_user_login_id: Optional[str] = None,
            terminate_other_sessions: Optional[bool] = None) -> StageUserLogin
    func GetStageUserLogin(ctx *Context, name string, id IDInput, state *StageUserLoginState, opts ...ResourceOption) (*StageUserLogin, error)
    public static StageUserLogin Get(string name, Input<string> id, StageUserLoginState? state, CustomResourceOptions? opts = null)
    public static StageUserLogin get(String name, Output<String> id, StageUserLoginState state, CustomResourceOptions options)
    resources:  _:    type: authentik:StageUserLogin    get:      id: ${id}
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    resource_name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    The following state arguments are supported:
    GeoipBinding string
    Allowed values: - no_binding - bind_continent - bind_continent_country - bind_continent_country_city Defaults to no_binding.
    Name string
    NetworkBinding string
    Allowed values: - no_binding - bind_asn - bind_asn_network - bind_asn_network_ip Defaults to no_binding.
    RememberMeOffset string
    Defaults to seconds=0.
    SessionDuration string
    Defaults to seconds=0.
    StageUserLoginId string
    TerminateOtherSessions bool
    Defaults to false.
    GeoipBinding string
    Allowed values: - no_binding - bind_continent - bind_continent_country - bind_continent_country_city Defaults to no_binding.
    Name string
    NetworkBinding string
    Allowed values: - no_binding - bind_asn - bind_asn_network - bind_asn_network_ip Defaults to no_binding.
    RememberMeOffset string
    Defaults to seconds=0.
    SessionDuration string
    Defaults to seconds=0.
    StageUserLoginId string
    TerminateOtherSessions bool
    Defaults to false.
    geoipBinding String
    Allowed values: - no_binding - bind_continent - bind_continent_country - bind_continent_country_city Defaults to no_binding.
    name String
    networkBinding String
    Allowed values: - no_binding - bind_asn - bind_asn_network - bind_asn_network_ip Defaults to no_binding.
    rememberMeOffset String
    Defaults to seconds=0.
    sessionDuration String
    Defaults to seconds=0.
    stageUserLoginId String
    terminateOtherSessions Boolean
    Defaults to false.
    geoipBinding string
    Allowed values: - no_binding - bind_continent - bind_continent_country - bind_continent_country_city Defaults to no_binding.
    name string
    networkBinding string
    Allowed values: - no_binding - bind_asn - bind_asn_network - bind_asn_network_ip Defaults to no_binding.
    rememberMeOffset string
    Defaults to seconds=0.
    sessionDuration string
    Defaults to seconds=0.
    stageUserLoginId string
    terminateOtherSessions boolean
    Defaults to false.
    geoip_binding str
    Allowed values: - no_binding - bind_continent - bind_continent_country - bind_continent_country_city Defaults to no_binding.
    name str
    network_binding str
    Allowed values: - no_binding - bind_asn - bind_asn_network - bind_asn_network_ip Defaults to no_binding.
    remember_me_offset str
    Defaults to seconds=0.
    session_duration str
    Defaults to seconds=0.
    stage_user_login_id str
    terminate_other_sessions bool
    Defaults to false.
    geoipBinding String
    Allowed values: - no_binding - bind_continent - bind_continent_country - bind_continent_country_city Defaults to no_binding.
    name String
    networkBinding String
    Allowed values: - no_binding - bind_asn - bind_asn_network - bind_asn_network_ip Defaults to no_binding.
    rememberMeOffset String
    Defaults to seconds=0.
    sessionDuration String
    Defaults to seconds=0.
    stageUserLoginId String
    terminateOtherSessions Boolean
    Defaults to false.

    Package Details

    Repository
    authentik goauthentik/terraform-provider-authentik
    License
    Notes
    This Pulumi package is based on the authentik Terraform Provider.
    authentik logo
    authentik 2025.6.0 published on Wednesday, Jun 18, 2025 by goauthentik