zitadel v0.2.0 published on Monday, Mar 24, 2025 by pulumiverse
zitadel.getIdpLdap
Explore with Pulumi AI
Datasource representing an LDAP IDP on the instance.
Example Usage
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Zitadel = Pulumi.Zitadel;
return await Deployment.RunAsync(() => 
{
    var @default = Zitadel.GetIdpLdap.Invoke(new()
    {
        Id = "123456789012345678",
    });
});
package main
import (
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
	"github.com/pulumiverse/pulumi-zitadel/sdk/go/zitadel"
)
func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := zitadel.LookupIdpLdap(ctx, &zitadel.LookupIdpLdapArgs{
			Id: "123456789012345678",
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.zitadel.ZitadelFunctions;
import com.pulumi.zitadel.inputs.GetIdpLdapArgs;
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 default = ZitadelFunctions.getIdpLdap(GetIdpLdapArgs.builder()
            .id("123456789012345678")
            .build());
    }
}
import * as pulumi from "@pulumi/pulumi";
import * as zitadel from "@pulumi/zitadel";
const default = zitadel.getIdpLdap({
    id: "123456789012345678",
});
import pulumi
import pulumi_zitadel as zitadel
default = zitadel.get_idp_ldap(id="123456789012345678")
variables:
  default:
    fn::invoke:
      Function: zitadel:getIdpLdap
      Arguments:
        id: '123456789012345678'
Using getIdpLdap
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 getIdpLdap(args: GetIdpLdapArgs, opts?: InvokeOptions): Promise<GetIdpLdapResult>
function getIdpLdapOutput(args: GetIdpLdapOutputArgs, opts?: InvokeOptions): Output<GetIdpLdapResult>def get_idp_ldap(id: Optional[str] = None,
                 opts: Optional[InvokeOptions] = None) -> GetIdpLdapResult
def get_idp_ldap_output(id: Optional[pulumi.Input[str]] = None,
                 opts: Optional[InvokeOptions] = None) -> Output[GetIdpLdapResult]func LookupIdpLdap(ctx *Context, args *LookupIdpLdapArgs, opts ...InvokeOption) (*LookupIdpLdapResult, error)
func LookupIdpLdapOutput(ctx *Context, args *LookupIdpLdapOutputArgs, opts ...InvokeOption) LookupIdpLdapResultOutput> Note: This function is named LookupIdpLdap in the Go SDK.
public static class GetIdpLdap 
{
    public static Task<GetIdpLdapResult> InvokeAsync(GetIdpLdapArgs args, InvokeOptions? opts = null)
    public static Output<GetIdpLdapResult> Invoke(GetIdpLdapInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetIdpLdapResult> getIdpLdap(GetIdpLdapArgs args, InvokeOptions options)
public static Output<GetIdpLdapResult> getIdpLdap(GetIdpLdapArgs args, InvokeOptions options)
fn::invoke:
  function: zitadel:index/getIdpLdap:getIdpLdap
  arguments:
    # arguments dictionaryThe following arguments are supported:
- Id string
- The ID of this resource.
- Id string
- The ID of this resource.
- id String
- The ID of this resource.
- id string
- The ID of this resource.
- id str
- The ID of this resource.
- id String
- The ID of this resource.
getIdpLdap Result
The following output properties are available:
- AvatarUrl stringAttribute 
- User attribute for the avatar url
- BaseDn string
- Base DN for LDAP connections
- BindDn string
- Bind DN for LDAP connections
- BindPassword string
- Bind password for LDAP connections
- DisplayName stringAttribute 
- User attribute for the display name
- EmailAttribute string
- User attribute for the email
- EmailVerified stringAttribute 
- User attribute for the email verified state
- FirstName stringAttribute 
- User attribute for the first name
- Id string
- The ID of this resource.
- IdAttribute string
- User attribute for the id
- IsAuto boolCreation 
- enabled if a new account in ZITADEL are created automatically on login with an external account
- IsAuto boolUpdate 
- enabled if a the ZITADEL account fields are updated automatically on each login
- IsCreation boolAllowed 
- enabled if users are able to create a new account in ZITADEL when using an external account
- IsLinking boolAllowed 
- enabled if users are able to link an existing ZITADEL user with an external account
- LastName stringAttribute 
- User attribute for the last name
- Name string
- Name of the IDP
- NickName stringAttribute 
- User attribute for the nick name
- PhoneAttribute string
- User attribute for the phone
- PhoneVerified stringAttribute 
- User attribute for the phone verified state
- PreferredLanguage stringAttribute 
- User attribute for the preferred language
- PreferredUsername stringAttribute 
- User attribute for the preferred username
- ProfileAttribute string
- User attribute for the profile
- Servers List<string>
- Servers to try in order for establishing LDAP connections
- StartTls bool
- Wether to use StartTLS for LDAP connections
- Timeout string
- Timeout for LDAP connections
- UserBase string
- User base for LDAP connections
- UserFilters List<string>
- User filters for LDAP connections
- UserObject List<string>Classes 
- User object classes for LDAP connections
- AvatarUrl stringAttribute 
- User attribute for the avatar url
- BaseDn string
- Base DN for LDAP connections
- BindDn string
- Bind DN for LDAP connections
- BindPassword string
- Bind password for LDAP connections
- DisplayName stringAttribute 
- User attribute for the display name
- EmailAttribute string
- User attribute for the email
- EmailVerified stringAttribute 
- User attribute for the email verified state
- FirstName stringAttribute 
- User attribute for the first name
- Id string
- The ID of this resource.
- IdAttribute string
- User attribute for the id
- IsAuto boolCreation 
- enabled if a new account in ZITADEL are created automatically on login with an external account
- IsAuto boolUpdate 
- enabled if a the ZITADEL account fields are updated automatically on each login
- IsCreation boolAllowed 
- enabled if users are able to create a new account in ZITADEL when using an external account
- IsLinking boolAllowed 
- enabled if users are able to link an existing ZITADEL user with an external account
- LastName stringAttribute 
- User attribute for the last name
- Name string
- Name of the IDP
- NickName stringAttribute 
- User attribute for the nick name
- PhoneAttribute string
- User attribute for the phone
- PhoneVerified stringAttribute 
- User attribute for the phone verified state
- PreferredLanguage stringAttribute 
- User attribute for the preferred language
- PreferredUsername stringAttribute 
- User attribute for the preferred username
- ProfileAttribute string
- User attribute for the profile
- Servers []string
- Servers to try in order for establishing LDAP connections
- StartTls bool
- Wether to use StartTLS for LDAP connections
- Timeout string
- Timeout for LDAP connections
- UserBase string
- User base for LDAP connections
- UserFilters []string
- User filters for LDAP connections
- UserObject []stringClasses 
- User object classes for LDAP connections
- avatarUrl StringAttribute 
- User attribute for the avatar url
- baseDn String
- Base DN for LDAP connections
- bindDn String
- Bind DN for LDAP connections
- bindPassword String
- Bind password for LDAP connections
- displayName StringAttribute 
- User attribute for the display name
- emailAttribute String
- User attribute for the email
- emailVerified StringAttribute 
- User attribute for the email verified state
- firstName StringAttribute 
- User attribute for the first name
- id String
- The ID of this resource.
- idAttribute String
- User attribute for the id
- isAuto BooleanCreation 
- enabled if a new account in ZITADEL are created automatically on login with an external account
- isAuto BooleanUpdate 
- enabled if a the ZITADEL account fields are updated automatically on each login
- isCreation BooleanAllowed 
- enabled if users are able to create a new account in ZITADEL when using an external account
- isLinking BooleanAllowed 
- enabled if users are able to link an existing ZITADEL user with an external account
- lastName StringAttribute 
- User attribute for the last name
- name String
- Name of the IDP
- nickName StringAttribute 
- User attribute for the nick name
- phoneAttribute String
- User attribute for the phone
- phoneVerified StringAttribute 
- User attribute for the phone verified state
- preferredLanguage StringAttribute 
- User attribute for the preferred language
- preferredUsername StringAttribute 
- User attribute for the preferred username
- profileAttribute String
- User attribute for the profile
- servers List<String>
- Servers to try in order for establishing LDAP connections
- startTls Boolean
- Wether to use StartTLS for LDAP connections
- timeout String
- Timeout for LDAP connections
- userBase String
- User base for LDAP connections
- userFilters List<String>
- User filters for LDAP connections
- userObject List<String>Classes 
- User object classes for LDAP connections
- avatarUrl stringAttribute 
- User attribute for the avatar url
- baseDn string
- Base DN for LDAP connections
- bindDn string
- Bind DN for LDAP connections
- bindPassword string
- Bind password for LDAP connections
- displayName stringAttribute 
- User attribute for the display name
- emailAttribute string
- User attribute for the email
- emailVerified stringAttribute 
- User attribute for the email verified state
- firstName stringAttribute 
- User attribute for the first name
- id string
- The ID of this resource.
- idAttribute string
- User attribute for the id
- isAuto booleanCreation 
- enabled if a new account in ZITADEL are created automatically on login with an external account
- isAuto booleanUpdate 
- enabled if a the ZITADEL account fields are updated automatically on each login
- isCreation booleanAllowed 
- enabled if users are able to create a new account in ZITADEL when using an external account
- isLinking booleanAllowed 
- enabled if users are able to link an existing ZITADEL user with an external account
- lastName stringAttribute 
- User attribute for the last name
- name string
- Name of the IDP
- nickName stringAttribute 
- User attribute for the nick name
- phoneAttribute string
- User attribute for the phone
- phoneVerified stringAttribute 
- User attribute for the phone verified state
- preferredLanguage stringAttribute 
- User attribute for the preferred language
- preferredUsername stringAttribute 
- User attribute for the preferred username
- profileAttribute string
- User attribute for the profile
- servers string[]
- Servers to try in order for establishing LDAP connections
- startTls boolean
- Wether to use StartTLS for LDAP connections
- timeout string
- Timeout for LDAP connections
- userBase string
- User base for LDAP connections
- userFilters string[]
- User filters for LDAP connections
- userObject string[]Classes 
- User object classes for LDAP connections
- avatar_url_ strattribute 
- User attribute for the avatar url
- base_dn str
- Base DN for LDAP connections
- bind_dn str
- Bind DN for LDAP connections
- bind_password str
- Bind password for LDAP connections
- display_name_ strattribute 
- User attribute for the display name
- email_attribute str
- User attribute for the email
- email_verified_ strattribute 
- User attribute for the email verified state
- first_name_ strattribute 
- User attribute for the first name
- id str
- The ID of this resource.
- id_attribute str
- User attribute for the id
- is_auto_ boolcreation 
- enabled if a new account in ZITADEL are created automatically on login with an external account
- is_auto_ boolupdate 
- enabled if a the ZITADEL account fields are updated automatically on each login
- is_creation_ boolallowed 
- enabled if users are able to create a new account in ZITADEL when using an external account
- is_linking_ boolallowed 
- enabled if users are able to link an existing ZITADEL user with an external account
- last_name_ strattribute 
- User attribute for the last name
- name str
- Name of the IDP
- nick_name_ strattribute 
- User attribute for the nick name
- phone_attribute str
- User attribute for the phone
- phone_verified_ strattribute 
- User attribute for the phone verified state
- preferred_language_ strattribute 
- User attribute for the preferred language
- preferred_username_ strattribute 
- User attribute for the preferred username
- profile_attribute str
- User attribute for the profile
- servers Sequence[str]
- Servers to try in order for establishing LDAP connections
- start_tls bool
- Wether to use StartTLS for LDAP connections
- timeout str
- Timeout for LDAP connections
- user_base str
- User base for LDAP connections
- user_filters Sequence[str]
- User filters for LDAP connections
- user_object_ Sequence[str]classes 
- User object classes for LDAP connections
- avatarUrl StringAttribute 
- User attribute for the avatar url
- baseDn String
- Base DN for LDAP connections
- bindDn String
- Bind DN for LDAP connections
- bindPassword String
- Bind password for LDAP connections
- displayName StringAttribute 
- User attribute for the display name
- emailAttribute String
- User attribute for the email
- emailVerified StringAttribute 
- User attribute for the email verified state
- firstName StringAttribute 
- User attribute for the first name
- id String
- The ID of this resource.
- idAttribute String
- User attribute for the id
- isAuto BooleanCreation 
- enabled if a new account in ZITADEL are created automatically on login with an external account
- isAuto BooleanUpdate 
- enabled if a the ZITADEL account fields are updated automatically on each login
- isCreation BooleanAllowed 
- enabled if users are able to create a new account in ZITADEL when using an external account
- isLinking BooleanAllowed 
- enabled if users are able to link an existing ZITADEL user with an external account
- lastName StringAttribute 
- User attribute for the last name
- name String
- Name of the IDP
- nickName StringAttribute 
- User attribute for the nick name
- phoneAttribute String
- User attribute for the phone
- phoneVerified StringAttribute 
- User attribute for the phone verified state
- preferredLanguage StringAttribute 
- User attribute for the preferred language
- preferredUsername StringAttribute 
- User attribute for the preferred username
- profileAttribute String
- User attribute for the profile
- servers List<String>
- Servers to try in order for establishing LDAP connections
- startTls Boolean
- Wether to use StartTLS for LDAP connections
- timeout String
- Timeout for LDAP connections
- userBase String
- User base for LDAP connections
- userFilters List<String>
- User filters for LDAP connections
- userObject List<String>Classes 
- User object classes for LDAP connections
Package Details
- Repository
- zitadel pulumiverse/pulumi-zitadel
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the zitadelTerraform Provider.