1. Packages
  2. Authentik Provider
  3. API Docs
  4. getOutpost
authentik 2025.10.1 published on Tuesday, Nov 25, 2025 by goauthentik
authentik logo
authentik 2025.10.1 published on Tuesday, Nov 25, 2025 by goauthentik

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as authentik from "@pulumi/authentik";
    
    const embedded = authentik.getOutpost({
        name: "authentik Embedded Outpost",
    });
    const byId = authentik.getOutpost({
        id: "00000000-0000-0000-0000-000000000000",
    });
    
    import pulumi
    import pulumi_authentik as authentik
    
    embedded = authentik.get_outpost(name="authentik Embedded Outpost")
    by_id = authentik.get_outpost(id="00000000-0000-0000-0000-000000000000")
    
    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.LookupOutpost(ctx, &authentik.LookupOutpostArgs{
    			Name: pulumi.StringRef("authentik Embedded Outpost"),
    		}, nil)
    		if err != nil {
    			return err
    		}
    		_, err = authentik.LookupOutpost(ctx, &authentik.LookupOutpostArgs{
    			Id: pulumi.StringRef("00000000-0000-0000-0000-000000000000"),
    		}, 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 embedded = Authentik.GetOutpost.Invoke(new()
        {
            Name = "authentik Embedded Outpost",
        });
    
        var byId = Authentik.GetOutpost.Invoke(new()
        {
            Id = "00000000-0000-0000-0000-000000000000",
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.authentik.AuthentikFunctions;
    import com.pulumi.authentik.inputs.GetOutpostArgs;
    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) {
            final var embedded = AuthentikFunctions.getOutpost(GetOutpostArgs.builder()
                .name("authentik Embedded Outpost")
                .build());
    
            final var byId = AuthentikFunctions.getOutpost(GetOutpostArgs.builder()
                .id("00000000-0000-0000-0000-000000000000")
                .build());
    
        }
    }
    
    variables:
      embedded:
        fn::invoke:
          function: authentik:getOutpost
          arguments:
            name: authentik Embedded Outpost
      byId:
        fn::invoke:
          function: authentik:getOutpost
          arguments:
            id: 00000000-0000-0000-0000-000000000000
    

    Using getOutpost

    Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.

    function getOutpost(args: GetOutpostArgs, opts?: InvokeOptions): Promise<GetOutpostResult>
    function getOutpostOutput(args: GetOutpostOutputArgs, opts?: InvokeOptions): Output<GetOutpostResult>
    def get_outpost(id: Optional[str] = None,
                    name: Optional[str] = None,
                    opts: Optional[InvokeOptions] = None) -> GetOutpostResult
    def get_outpost_output(id: Optional[pulumi.Input[str]] = None,
                    name: Optional[pulumi.Input[str]] = None,
                    opts: Optional[InvokeOptions] = None) -> Output[GetOutpostResult]
    func LookupOutpost(ctx *Context, args *LookupOutpostArgs, opts ...InvokeOption) (*LookupOutpostResult, error)
    func LookupOutpostOutput(ctx *Context, args *LookupOutpostOutputArgs, opts ...InvokeOption) LookupOutpostResultOutput

    > Note: This function is named LookupOutpost in the Go SDK.

    public static class GetOutpost 
    {
        public static Task<GetOutpostResult> InvokeAsync(GetOutpostArgs args, InvokeOptions? opts = null)
        public static Output<GetOutpostResult> Invoke(GetOutpostInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetOutpostResult> getOutpost(GetOutpostArgs args, InvokeOptions options)
    public static Output<GetOutpostResult> getOutpost(GetOutpostArgs args, InvokeOptions options)
    
    fn::invoke:
      function: authentik:index/getOutpost:getOutpost
      arguments:
        # arguments dictionary

    The following arguments are supported:

    Id string
    The ID of the outpost.
    Name string
    The name of the outpost.
    Id string
    The ID of the outpost.
    Name string
    The name of the outpost.
    id String
    The ID of the outpost.
    name String
    The name of the outpost.
    id string
    The ID of the outpost.
    name string
    The name of the outpost.
    id str
    The ID of the outpost.
    name str
    The name of the outpost.
    id String
    The ID of the outpost.
    name String
    The name of the outpost.

    getOutpost Result

    The following output properties are available:

    Id string
    The ID of the outpost.
    Name string
    The name of the outpost.
    Id string
    The ID of the outpost.
    Name string
    The name of the outpost.
    id String
    The ID of the outpost.
    name String
    The name of the outpost.
    id string
    The ID of the outpost.
    name string
    The name of the outpost.
    id str
    The ID of the outpost.
    name str
    The name of the outpost.
    id String
    The ID of the outpost.
    name String
    The name of the outpost.

    Package Details

    Repository
    authentik goauthentik/terraform-provider-authentik
    License
    Notes
    This Pulumi package is based on the authentik Terraform Provider.
    authentik logo
    authentik 2025.10.1 published on Tuesday, Nov 25, 2025 by goauthentik
      Meet Neo: Your AI Platform Teammate