authentik 2025.10.0 published on Monday, Oct 27, 2025 by goauthentik
authentik.getPropertyMappingSourceLdap
Start a Neo task
Explain and create an authentik.getPropertyMappingSourceLdap resource
authentik 2025.10.0 published on Monday, Oct 27, 2025 by goauthentik
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",
],
});
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",
])
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
})
}
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",
},
});
});
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());
}
}
variables:
test:
fn::invoke:
function: authentik:getPropertyMappingSourceLdap
arguments:
managedLists:
- goauthentik.io/sources/ldap/default-name
- goauthentik.io/sources/ldap/default-mail
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>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]func LookupPropertyMappingSourceLdap(ctx *Context, args *LookupPropertyMappingSourceLdapArgs, opts ...InvokeOption) (*LookupPropertyMappingSourceLdapResult, error)
func LookupPropertyMappingSourceLdapOutput(ctx *Context, args *LookupPropertyMappingSourceLdapOutputArgs, opts ...InvokeOption) LookupPropertyMappingSourceLdapResultOutput> 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)
}public static CompletableFuture<GetPropertyMappingSourceLdapResult> getPropertyMappingSourceLdap(GetPropertyMappingSourceLdapArgs args, InvokeOptions options)
public static Output<GetPropertyMappingSourceLdapResult> getPropertyMappingSourceLdap(GetPropertyMappingSourceLdapArgs args, InvokeOptions options)
fn::invoke:
function: authentik:index/getPropertyMappingSourceLdap:getPropertyMappingSourceLdap
arguments:
# arguments dictionaryThe following arguments are supported:
- Id string
- The ID of this resource.
- Ids List<string>
- List of ids when
managed_listis set. Generated. - Managed string
- Managed
Lists List<string> - Retrieve multiple property mappings
- Name string
- Id string
- The ID of this resource.
- Ids []string
- List of ids when
managed_listis set. Generated. - Managed string
- Managed
Lists []string - Retrieve multiple property mappings
- Name string
- id String
- The ID of this resource.
- ids List<String>
- List of ids when
managed_listis set. Generated. - managed String
- managed
Lists List<String> - Retrieve multiple property mappings
- name String
- id string
- The ID of this resource.
- ids string[]
- List of ids when
managed_listis set. Generated. - managed string
- managed
Lists string[] - Retrieve multiple property mappings
- name string
- id str
- The ID of this resource.
- ids Sequence[str]
- List of ids when
managed_listis 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_listis set. Generated. - managed String
- managed
Lists 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_listis set. Generated. - Managed string
- Managed
Lists 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_listis set. Generated. - Managed string
- Managed
Lists []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_listis set. Generated. - managed String
- managed
Lists 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_listis set. Generated. - managed string
- managed
Lists 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_listis 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_listis set. Generated. - managed String
- managed
Lists 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
authentikTerraform Provider.
authentik 2025.10.0 published on Monday, Oct 27, 2025 by goauthentik
