1. Packages
  2. Authentik Provider
  3. API Docs
  4. getPropertyMappingSourceLdap
authentik 2025.2.0 published on Monday, Mar 24, 2025 by goauthentik

authentik.getPropertyMappingSourceLdap

Explore with Pulumi AI

Get LDAP Source Property mappings

Example Usage

import * as pulumi from "@pulumi/pulumi";
import * as authentik from "@pulumi/authentik";

const test = authentik.getPropertyMappingSourceLdap({
    managedLists: [
        "goauthentik.io/sources/ldap/default-name",
        "goauthentik.io/sources/ldap/default-mail",
    ],
});
Copy
import pulumi
import pulumi_authentik as authentik

test = authentik.get_property_mapping_source_ldap(managed_lists=[
    "goauthentik.io/sources/ldap/default-name",
    "goauthentik.io/sources/ldap/default-mail",
])
Copy
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.LookupPropertyMappingSourceLdap(ctx, &authentik.LookupPropertyMappingSourceLdapArgs{
			ManagedLists: []string{
				"goauthentik.io/sources/ldap/default-name",
				"goauthentik.io/sources/ldap/default-mail",
			},
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}
Copy
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Authentik = Pulumi.Authentik;

return await Deployment.RunAsync(() => 
{
    var test = Authentik.GetPropertyMappingSourceLdap.Invoke(new()
    {
        ManagedLists = new[]
        {
            "goauthentik.io/sources/ldap/default-name",
            "goauthentik.io/sources/ldap/default-mail",
        },
    });

});
Copy
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.GetPropertyMappingSourceLdapArgs;
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 test = AuthentikFunctions.getPropertyMappingSourceLdap(GetPropertyMappingSourceLdapArgs.builder()
            .managedLists(            
                "goauthentik.io/sources/ldap/default-name",
                "goauthentik.io/sources/ldap/default-mail")
            .build());

    }
}
Copy
variables:
  test:
    fn::invoke:
      function: authentik:getPropertyMappingSourceLdap
      arguments:
        managedLists:
          - goauthentik.io/sources/ldap/default-name
          - goauthentik.io/sources/ldap/default-mail
Copy

Using getPropertyMappingSourceLdap

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 getPropertyMappingSourceLdap(args: GetPropertyMappingSourceLdapArgs, opts?: InvokeOptions): Promise<GetPropertyMappingSourceLdapResult>
function getPropertyMappingSourceLdapOutput(args: GetPropertyMappingSourceLdapOutputArgs, opts?: InvokeOptions): Output<GetPropertyMappingSourceLdapResult>
Copy
def get_property_mapping_source_ldap(id: Optional[str] = None,
                                     ids: Optional[Sequence[str]] = None,
                                     managed: Optional[str] = None,
                                     managed_lists: Optional[Sequence[str]] = None,
                                     name: Optional[str] = None,
                                     opts: Optional[InvokeOptions] = None) -> GetPropertyMappingSourceLdapResult
def get_property_mapping_source_ldap_output(id: Optional[pulumi.Input[str]] = None,
                                     ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
                                     managed: Optional[pulumi.Input[str]] = None,
                                     managed_lists: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
                                     name: Optional[pulumi.Input[str]] = None,
                                     opts: Optional[InvokeOptions] = None) -> Output[GetPropertyMappingSourceLdapResult]
Copy
func LookupPropertyMappingSourceLdap(ctx *Context, args *LookupPropertyMappingSourceLdapArgs, opts ...InvokeOption) (*LookupPropertyMappingSourceLdapResult, error)
func LookupPropertyMappingSourceLdapOutput(ctx *Context, args *LookupPropertyMappingSourceLdapOutputArgs, opts ...InvokeOption) LookupPropertyMappingSourceLdapResultOutput
Copy

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

public static class GetPropertyMappingSourceLdap 
{
    public static Task<GetPropertyMappingSourceLdapResult> InvokeAsync(GetPropertyMappingSourceLdapArgs args, InvokeOptions? opts = null)
    public static Output<GetPropertyMappingSourceLdapResult> Invoke(GetPropertyMappingSourceLdapInvokeArgs args, InvokeOptions? opts = null)
}
Copy
public static CompletableFuture<GetPropertyMappingSourceLdapResult> getPropertyMappingSourceLdap(GetPropertyMappingSourceLdapArgs args, InvokeOptions options)
public static Output<GetPropertyMappingSourceLdapResult> getPropertyMappingSourceLdap(GetPropertyMappingSourceLdapArgs args, InvokeOptions options)
Copy
fn::invoke:
  function: authentik:index/getPropertyMappingSourceLdap:getPropertyMappingSourceLdap
  arguments:
    # arguments dictionary
Copy

The following arguments are supported:

Id string
The ID of this resource.
Ids List<string>
List of ids when managed_list is set. Generated.
Managed string
ManagedLists List<string>
Retrieve multiple property mappings
Name string
Id string
The ID of this resource.
Ids []string
List of ids when managed_list is set. Generated.
Managed string
ManagedLists []string
Retrieve multiple property mappings
Name string
id String
The ID of this resource.
ids List<String>
List of ids when managed_list is set. Generated.
managed String
managedLists List<String>
Retrieve multiple property mappings
name String
id string
The ID of this resource.
ids string[]
List of ids when managed_list is set. Generated.
managed string
managedLists string[]
Retrieve multiple property mappings
name string
id str
The ID of this resource.
ids Sequence[str]
List of ids when managed_list is set. Generated.
managed str
managed_lists Sequence[str]
Retrieve multiple property mappings
name str
id String
The ID of this resource.
ids List<String>
List of ids when managed_list is set. Generated.
managed String
managedLists List<String>
Retrieve multiple property mappings
name String

getPropertyMappingSourceLdap Result

The following output properties are available:

Expression string
Generated.
Id string
The ID of this resource.
Ids List<string>
List of ids when managed_list is set. Generated.
Managed string
ManagedLists List<string>
Retrieve multiple property mappings
Name string
Expression string
Generated.
Id string
The ID of this resource.
Ids []string
List of ids when managed_list is set. Generated.
Managed string
ManagedLists []string
Retrieve multiple property mappings
Name string
expression String
Generated.
id String
The ID of this resource.
ids List<String>
List of ids when managed_list is set. Generated.
managed String
managedLists List<String>
Retrieve multiple property mappings
name String
expression string
Generated.
id string
The ID of this resource.
ids string[]
List of ids when managed_list is set. Generated.
managed string
managedLists string[]
Retrieve multiple property mappings
name string
expression str
Generated.
id str
The ID of this resource.
ids Sequence[str]
List of ids when managed_list is set. Generated.
managed str
managed_lists Sequence[str]
Retrieve multiple property mappings
name str
expression String
Generated.
id String
The ID of this resource.
ids List<String>
List of ids when managed_list is set. Generated.
managed String
managedLists List<String>
Retrieve multiple property mappings
name String

Package Details

Repository
authentik goauthentik/terraform-provider-authentik
License
Notes
This Pulumi package is based on the authentik Terraform Provider.