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

authentik.getPropertyMappingProviderSaml

Explore with Pulumi AI

authentik logo
authentik 2025.2.0 published on Monday, Mar 24, 2025 by goauthentik

    Get SAML Provider Property mappings

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as authentik from "@pulumi/authentik";
    
    const test = authentik.getPropertyMappingProviderSaml({
        managedLists: [
            "goauthentik.io/providers/saml/upn",
            "goauthentik.io/providers/saml/name",
        ],
    });
    
    import pulumi
    import pulumi_authentik as authentik
    
    test = authentik.get_property_mapping_provider_saml(managed_lists=[
        "goauthentik.io/providers/saml/upn",
        "goauthentik.io/providers/saml/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.LookupPropertyMappingProviderSaml(ctx, &authentik.LookupPropertyMappingProviderSamlArgs{
    			ManagedLists: []string{
    				"goauthentik.io/providers/saml/upn",
    				"goauthentik.io/providers/saml/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 test = Authentik.GetPropertyMappingProviderSaml.Invoke(new()
        {
            ManagedLists = new[]
            {
                "goauthentik.io/providers/saml/upn",
                "goauthentik.io/providers/saml/name",
            },
        });
    
    });
    
    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.GetPropertyMappingProviderSamlArgs;
    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.getPropertyMappingProviderSaml(GetPropertyMappingProviderSamlArgs.builder()
                .managedLists(            
                    "goauthentik.io/providers/saml/upn",
                    "goauthentik.io/providers/saml/name")
                .build());
    
        }
    }
    
    variables:
      test:
        fn::invoke:
          function: authentik:getPropertyMappingProviderSaml
          arguments:
            managedLists:
              - goauthentik.io/providers/saml/upn
              - goauthentik.io/providers/saml/name
    

    Using getPropertyMappingProviderSaml

    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 getPropertyMappingProviderSaml(args: GetPropertyMappingProviderSamlArgs, opts?: InvokeOptions): Promise<GetPropertyMappingProviderSamlResult>
    function getPropertyMappingProviderSamlOutput(args: GetPropertyMappingProviderSamlOutputArgs, opts?: InvokeOptions): Output<GetPropertyMappingProviderSamlResult>
    def get_property_mapping_provider_saml(expression: Optional[str] = None,
                                           friendly_name: Optional[str] = None,
                                           id: Optional[str] = None,
                                           ids: Optional[Sequence[str]] = None,
                                           managed: Optional[str] = None,
                                           managed_lists: Optional[Sequence[str]] = None,
                                           name: Optional[str] = None,
                                           saml_name: Optional[str] = None,
                                           opts: Optional[InvokeOptions] = None) -> GetPropertyMappingProviderSamlResult
    def get_property_mapping_provider_saml_output(expression: Optional[pulumi.Input[str]] = None,
                                           friendly_name: Optional[pulumi.Input[str]] = None,
                                           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,
                                           saml_name: Optional[pulumi.Input[str]] = None,
                                           opts: Optional[InvokeOptions] = None) -> Output[GetPropertyMappingProviderSamlResult]
    func LookupPropertyMappingProviderSaml(ctx *Context, args *LookupPropertyMappingProviderSamlArgs, opts ...InvokeOption) (*LookupPropertyMappingProviderSamlResult, error)
    func LookupPropertyMappingProviderSamlOutput(ctx *Context, args *LookupPropertyMappingProviderSamlOutputArgs, opts ...InvokeOption) LookupPropertyMappingProviderSamlResultOutput

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

    public static class GetPropertyMappingProviderSaml 
    {
        public static Task<GetPropertyMappingProviderSamlResult> InvokeAsync(GetPropertyMappingProviderSamlArgs args, InvokeOptions? opts = null)
        public static Output<GetPropertyMappingProviderSamlResult> Invoke(GetPropertyMappingProviderSamlInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetPropertyMappingProviderSamlResult> getPropertyMappingProviderSaml(GetPropertyMappingProviderSamlArgs args, InvokeOptions options)
    public static Output<GetPropertyMappingProviderSamlResult> getPropertyMappingProviderSaml(GetPropertyMappingProviderSamlArgs args, InvokeOptions options)
    
    fn::invoke:
      function: authentik:index/getPropertyMappingProviderSaml:getPropertyMappingProviderSaml
      arguments:
        # arguments dictionary

    The following arguments are supported:

    Expression string
    Generated.
    FriendlyName 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
    SamlName string
    Generated.
    Expression string
    Generated.
    FriendlyName 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
    SamlName string
    Generated.
    expression String
    Generated.
    friendlyName 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
    samlName String
    Generated.
    expression string
    Generated.
    friendlyName 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
    samlName string
    Generated.
    expression str
    Generated.
    friendly_name 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
    saml_name str
    Generated.
    expression String
    Generated.
    friendlyName 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
    samlName String
    Generated.

    getPropertyMappingProviderSaml Result

    The following output properties are available:

    Expression string
    Generated.
    FriendlyName string
    Generated.
    Id string
    The ID of this resource.
    Ids List<string>
    List of ids when managed_list is set. Generated.
    SamlName string
    Generated.
    Managed string
    ManagedLists List<string>
    Retrieve multiple property mappings
    Name string
    Expression string
    Generated.
    FriendlyName string
    Generated.
    Id string
    The ID of this resource.
    Ids []string
    List of ids when managed_list is set. Generated.
    SamlName string
    Generated.
    Managed string
    ManagedLists []string
    Retrieve multiple property mappings
    Name string
    expression String
    Generated.
    friendlyName String
    Generated.
    id String
    The ID of this resource.
    ids List<String>
    List of ids when managed_list is set. Generated.
    samlName String
    Generated.
    managed String
    managedLists List<String>
    Retrieve multiple property mappings
    name String
    expression string
    Generated.
    friendlyName string
    Generated.
    id string
    The ID of this resource.
    ids string[]
    List of ids when managed_list is set. Generated.
    samlName string
    Generated.
    managed string
    managedLists string[]
    Retrieve multiple property mappings
    name string
    expression str
    Generated.
    friendly_name str
    Generated.
    id str
    The ID of this resource.
    ids Sequence[str]
    List of ids when managed_list is set. Generated.
    saml_name str
    Generated.
    managed str
    managed_lists Sequence[str]
    Retrieve multiple property mappings
    name str
    expression String
    Generated.
    friendlyName String
    Generated.
    id String
    The ID of this resource.
    ids List<String>
    List of ids when managed_list is set. Generated.
    samlName String
    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.
    authentik logo
    authentik 2025.2.0 published on Monday, Mar 24, 2025 by goauthentik