1. Packages
  2. Authentik Provider
  3. API Docs
  4. StageEndpoints
authentik 2025.12.0 published on Wednesday, Jan 14, 2026 by goauthentik
authentik logo
authentik 2025.12.0 published on Wednesday, Jan 14, 2026 by goauthentik

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as authentik from "@pulumi/authentik";
    
    const name = new authentik.EndpointsConnectorAgent("name", {name: "agent"});
    const nameStageEndpoints = new authentik.StageEndpoints("name", {
        name: "agent-connector",
        connector: name.endpointsConnectorAgentId,
    });
    
    import pulumi
    import pulumi_authentik as authentik
    
    name = authentik.EndpointsConnectorAgent("name", name="agent")
    name_stage_endpoints = authentik.StageEndpoints("name",
        name="agent-connector",
        connector=name.endpoints_connector_agent_id)
    
    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 {
    		name, err := authentik.NewEndpointsConnectorAgent(ctx, "name", &authentik.EndpointsConnectorAgentArgs{
    			Name: pulumi.String("agent"),
    		})
    		if err != nil {
    			return err
    		}
    		_, err = authentik.NewStageEndpoints(ctx, "name", &authentik.StageEndpointsArgs{
    			Name:      pulumi.String("agent-connector"),
    			Connector: name.EndpointsConnectorAgentId,
    		})
    		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.EndpointsConnectorAgent("name", new()
        {
            Name = "agent",
        });
    
        var nameStageEndpoints = new Authentik.StageEndpoints("name", new()
        {
            Name = "agent-connector",
            Connector = name.EndpointsConnectorAgentId,
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.authentik.EndpointsConnectorAgent;
    import com.pulumi.authentik.EndpointsConnectorAgentArgs;
    import com.pulumi.authentik.StageEndpoints;
    import com.pulumi.authentik.StageEndpointsArgs;
    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 EndpointsConnectorAgent("name", EndpointsConnectorAgentArgs.builder()
                .name("agent")
                .build());
    
            var nameStageEndpoints = new StageEndpoints("nameStageEndpoints", StageEndpointsArgs.builder()
                .name("agent-connector")
                .connector(name.endpointsConnectorAgentId())
                .build());
    
        }
    }
    
    resources:
      name:
        type: authentik:EndpointsConnectorAgent
        properties:
          name: agent
      nameStageEndpoints:
        type: authentik:StageEndpoints
        name: name
        properties:
          name: agent-connector
          connector: ${name.endpointsConnectorAgentId}
    

    Create StageEndpoints Resource

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

    Constructor syntax

    new StageEndpoints(name: string, args: StageEndpointsArgs, opts?: CustomResourceOptions);
    @overload
    def StageEndpoints(resource_name: str,
                       args: StageEndpointsArgs,
                       opts: Optional[ResourceOptions] = None)
    
    @overload
    def StageEndpoints(resource_name: str,
                       opts: Optional[ResourceOptions] = None,
                       connector: Optional[str] = None,
                       mode: Optional[str] = None,
                       name: Optional[str] = None,
                       stage_endpoints_id: Optional[str] = None)
    func NewStageEndpoints(ctx *Context, name string, args StageEndpointsArgs, opts ...ResourceOption) (*StageEndpoints, error)
    public StageEndpoints(string name, StageEndpointsArgs args, CustomResourceOptions? opts = null)
    public StageEndpoints(String name, StageEndpointsArgs args)
    public StageEndpoints(String name, StageEndpointsArgs args, CustomResourceOptions options)
    
    type: authentik:StageEndpoints
    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 StageEndpointsArgs
    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 StageEndpointsArgs
    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 StageEndpointsArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args StageEndpointsArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args StageEndpointsArgs
    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 stageEndpointsResource = new Authentik.StageEndpoints("stageEndpointsResource", new()
    {
        Connector = "string",
        Mode = "string",
        Name = "string",
        StageEndpointsId = "string",
    });
    
    example, err := authentik.NewStageEndpoints(ctx, "stageEndpointsResource", &authentik.StageEndpointsArgs{
    	Connector:        pulumi.String("string"),
    	Mode:             pulumi.String("string"),
    	Name:             pulumi.String("string"),
    	StageEndpointsId: pulumi.String("string"),
    })
    
    var stageEndpointsResource = new StageEndpoints("stageEndpointsResource", StageEndpointsArgs.builder()
        .connector("string")
        .mode("string")
        .name("string")
        .stageEndpointsId("string")
        .build());
    
    stage_endpoints_resource = authentik.StageEndpoints("stageEndpointsResource",
        connector="string",
        mode="string",
        name="string",
        stage_endpoints_id="string")
    
    const stageEndpointsResource = new authentik.StageEndpoints("stageEndpointsResource", {
        connector: "string",
        mode: "string",
        name: "string",
        stageEndpointsId: "string",
    });
    
    type: authentik:StageEndpoints
    properties:
        connector: string
        mode: string
        name: string
        stageEndpointsId: string
    

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

    Connector string
    Mode string
    Allowed values:

    • optional
    • required Defaults to optional.
    Name string
    StageEndpointsId string
    Connector string
    Mode string
    Allowed values:

    • optional
    • required Defaults to optional.
    Name string
    StageEndpointsId string
    connector String
    mode String
    Allowed values:

    • optional
    • required Defaults to optional.
    name String
    stageEndpointsId String
    connector string
    mode string
    Allowed values:

    • optional
    • required Defaults to optional.
    name string
    stageEndpointsId string
    connector str
    mode str
    Allowed values:

    • optional
    • required Defaults to optional.
    name str
    stage_endpoints_id str
    connector String
    mode String
    Allowed values:

    • optional
    • required Defaults to optional.
    name String
    stageEndpointsId String

    Outputs

    All input properties are implicitly available as output properties. Additionally, the StageEndpoints 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 StageEndpoints Resource

    Get an existing StageEndpoints 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?: StageEndpointsState, opts?: CustomResourceOptions): StageEndpoints
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            connector: Optional[str] = None,
            mode: Optional[str] = None,
            name: Optional[str] = None,
            stage_endpoints_id: Optional[str] = None) -> StageEndpoints
    func GetStageEndpoints(ctx *Context, name string, id IDInput, state *StageEndpointsState, opts ...ResourceOption) (*StageEndpoints, error)
    public static StageEndpoints Get(string name, Input<string> id, StageEndpointsState? state, CustomResourceOptions? opts = null)
    public static StageEndpoints get(String name, Output<String> id, StageEndpointsState state, CustomResourceOptions options)
    resources:  _:    type: authentik:StageEndpoints    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:
    Connector string
    Mode string
    Allowed values:

    • optional
    • required Defaults to optional.
    Name string
    StageEndpointsId string
    Connector string
    Mode string
    Allowed values:

    • optional
    • required Defaults to optional.
    Name string
    StageEndpointsId string
    connector String
    mode String
    Allowed values:

    • optional
    • required Defaults to optional.
    name String
    stageEndpointsId String
    connector string
    mode string
    Allowed values:

    • optional
    • required Defaults to optional.
    name string
    stageEndpointsId string
    connector str
    mode str
    Allowed values:

    • optional
    • required Defaults to optional.
    name str
    stage_endpoints_id str
    connector String
    mode String
    Allowed values:

    • optional
    • required Defaults to optional.
    name String
    stageEndpointsId String

    Package Details

    Repository
    authentik goauthentik/terraform-provider-authentik
    License
    Notes
    This Pulumi package is based on the authentik Terraform Provider.
    authentik logo
    authentik 2025.12.0 published on Wednesday, Jan 14, 2026 by goauthentik
      Meet Neo: Your AI Platform Teammate