zitadel.IdpLdap
Explore with Pulumi AI
Resource representing an LDAP IDP on the instance.
Example Usage
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Zitadel = Pulumiverse.Zitadel;
return await Deployment.RunAsync(() => 
{
    var @default = new Zitadel.IdpLdap("default", new()
    {
        BaseDn = "dc=example,dc=com",
        BindDn = "cn=admin,dc=example,dc=com",
        BindPassword = "Password1!",
        FirstNameAttribute = "firstname",
        IdAttribute = "uid",
        IsAutoCreation = false,
        IsAutoUpdate = true,
        IsCreationAllowed = true,
        IsLinkingAllowed = false,
        LastNameAttribute = "lastname",
        Servers = new[]
        {
            "ldaps://my.primary.server:389",
            "ldaps://my.secondary.server:389",
        },
        StartTls = false,
        Timeout = "10s",
        UserBase = "dn",
        UserFilters = new[]
        {
            "uid",
            "email",
        },
        UserObjectClasses = new[]
        {
            "inetOrgPerson",
        },
    });
});
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.NewIdpLdap(ctx, "default", &zitadel.IdpLdapArgs{
			BaseDn:             pulumi.String("dc=example,dc=com"),
			BindDn:             pulumi.String("cn=admin,dc=example,dc=com"),
			BindPassword:       pulumi.String("Password1!"),
			FirstNameAttribute: pulumi.String("firstname"),
			IdAttribute:        pulumi.String("uid"),
			IsAutoCreation:     pulumi.Bool(false),
			IsAutoUpdate:       pulumi.Bool(true),
			IsCreationAllowed:  pulumi.Bool(true),
			IsLinkingAllowed:   pulumi.Bool(false),
			LastNameAttribute:  pulumi.String("lastname"),
			Servers: pulumi.StringArray{
				pulumi.String("ldaps://my.primary.server:389"),
				pulumi.String("ldaps://my.secondary.server:389"),
			},
			StartTls: pulumi.Bool(false),
			Timeout:  pulumi.String("10s"),
			UserBase: pulumi.String("dn"),
			UserFilters: pulumi.StringArray{
				pulumi.String("uid"),
				pulumi.String("email"),
			},
			UserObjectClasses: pulumi.StringArray{
				pulumi.String("inetOrgPerson"),
			},
		})
		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.IdpLdap;
import com.pulumi.zitadel.IdpLdapArgs;
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) {
        var default_ = new IdpLdap("default", IdpLdapArgs.builder()        
            .baseDn("dc=example,dc=com")
            .bindDn("cn=admin,dc=example,dc=com")
            .bindPassword("Password1!")
            .firstNameAttribute("firstname")
            .idAttribute("uid")
            .isAutoCreation(false)
            .isAutoUpdate(true)
            .isCreationAllowed(true)
            .isLinkingAllowed(false)
            .lastNameAttribute("lastname")
            .servers(            
                "ldaps://my.primary.server:389",
                "ldaps://my.secondary.server:389")
            .startTls(false)
            .timeout("10s")
            .userBase("dn")
            .userFilters(            
                "uid",
                "email")
            .userObjectClasses("inetOrgPerson")
            .build());
    }
}
import pulumi
import pulumiverse_zitadel as zitadel
default = zitadel.IdpLdap("default",
    base_dn="dc=example,dc=com",
    bind_dn="cn=admin,dc=example,dc=com",
    bind_password="Password1!",
    first_name_attribute="firstname",
    id_attribute="uid",
    is_auto_creation=False,
    is_auto_update=True,
    is_creation_allowed=True,
    is_linking_allowed=False,
    last_name_attribute="lastname",
    servers=[
        "ldaps://my.primary.server:389",
        "ldaps://my.secondary.server:389",
    ],
    start_tls=False,
    timeout="10s",
    user_base="dn",
    user_filters=[
        "uid",
        "email",
    ],
    user_object_classes=["inetOrgPerson"])
import * as pulumi from "@pulumi/pulumi";
import * as zitadel from "@pulumiverse/zitadel";
const _default = new zitadel.IdpLdap("default", {
    baseDn: "dc=example,dc=com",
    bindDn: "cn=admin,dc=example,dc=com",
    bindPassword: "Password1!",
    firstNameAttribute: "firstname",
    idAttribute: "uid",
    isAutoCreation: false,
    isAutoUpdate: true,
    isCreationAllowed: true,
    isLinkingAllowed: false,
    lastNameAttribute: "lastname",
    servers: [
        "ldaps://my.primary.server:389",
        "ldaps://my.secondary.server:389",
    ],
    startTls: false,
    timeout: "10s",
    userBase: "dn",
    userFilters: [
        "uid",
        "email",
    ],
    userObjectClasses: ["inetOrgPerson"],
});
resources:
  default:
    type: zitadel:IdpLdap
    properties:
      baseDn: dc=example,dc=com
      bindDn: cn=admin,dc=example,dc=com
      bindPassword: Password1!
      firstNameAttribute: firstname
      idAttribute: uid
      isAutoCreation: false
      isAutoUpdate: true
      isCreationAllowed: true
      isLinkingAllowed: false
      lastNameAttribute: lastname
      servers:
        - ldaps://my.primary.server:389
        - ldaps://my.secondary.server:389
      startTls: false
      timeout: 10s
      userBase: dn
      userFilters:
        - uid
        - email
      userObjectClasses:
        - inetOrgPerson
Create IdpLdap Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new IdpLdap(name: string, args: IdpLdapArgs, opts?: CustomResourceOptions);@overload
def IdpLdap(resource_name: str,
            args: IdpLdapArgs,
            opts: Optional[ResourceOptions] = None)
@overload
def IdpLdap(resource_name: str,
            opts: Optional[ResourceOptions] = None,
            servers: Optional[Sequence[str]] = None,
            base_dn: Optional[str] = None,
            bind_dn: Optional[str] = None,
            bind_password: Optional[str] = None,
            user_object_classes: Optional[Sequence[str]] = None,
            user_filters: Optional[Sequence[str]] = None,
            user_base: Optional[str] = None,
            timeout: Optional[str] = None,
            start_tls: Optional[bool] = None,
            is_auto_creation: Optional[bool] = None,
            is_auto_update: Optional[bool] = None,
            is_creation_allowed: Optional[bool] = None,
            is_linking_allowed: Optional[bool] = None,
            email_verified_attribute: Optional[str] = None,
            profile_attribute: Optional[str] = None,
            nick_name_attribute: Optional[str] = None,
            phone_attribute: Optional[str] = None,
            phone_verified_attribute: Optional[str] = None,
            preferred_language_attribute: Optional[str] = None,
            preferred_username_attribute: Optional[str] = None,
            name: Optional[str] = None,
            last_name_attribute: Optional[str] = None,
            id_attribute: Optional[str] = None,
            first_name_attribute: Optional[str] = None,
            avatar_url_attribute: Optional[str] = None,
            email_attribute: Optional[str] = None,
            display_name_attribute: Optional[str] = None)func NewIdpLdap(ctx *Context, name string, args IdpLdapArgs, opts ...ResourceOption) (*IdpLdap, error)public IdpLdap(string name, IdpLdapArgs args, CustomResourceOptions? opts = null)
public IdpLdap(String name, IdpLdapArgs args)
public IdpLdap(String name, IdpLdapArgs args, CustomResourceOptions options)
type: zitadel:IdpLdap
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
Parameters
- name string
 - The unique name of the resource.
 - args IdpLdapArgs
 - The arguments to resource properties.
 - opts CustomResourceOptions
 - Bag of options to control resource's behavior.
 
- resource_name str
 - The unique name of the resource.
 - args IdpLdapArgs
 - The arguments to resource properties.
 - opts ResourceOptions
 - Bag of options to control resource's behavior.
 
- ctx Context
 - Context object for the current deployment.
 - name string
 - The unique name of the resource.
 - args IdpLdapArgs
 - The arguments to resource properties.
 - opts ResourceOption
 - Bag of options to control resource's behavior.
 
- name string
 - The unique name of the resource.
 - args IdpLdapArgs
 - The arguments to resource properties.
 - opts CustomResourceOptions
 - Bag of options to control resource's behavior.
 
- name String
 - The unique name of the resource.
 - args IdpLdapArgs
 - The arguments to resource properties.
 - options CustomResourceOptions
 - Bag of options to control resource's behavior.
 
Constructor example
The following reference example uses placeholder values for all input properties.
var idpLdapResource = new Zitadel.IdpLdap("idpLdapResource", new()
{
    Servers = new[]
    {
        "string",
    },
    BaseDn = "string",
    BindDn = "string",
    BindPassword = "string",
    UserObjectClasses = new[]
    {
        "string",
    },
    UserFilters = new[]
    {
        "string",
    },
    UserBase = "string",
    Timeout = "string",
    StartTls = false,
    IsAutoCreation = false,
    IsAutoUpdate = false,
    IsCreationAllowed = false,
    IsLinkingAllowed = false,
    EmailVerifiedAttribute = "string",
    ProfileAttribute = "string",
    NickNameAttribute = "string",
    PhoneAttribute = "string",
    PhoneVerifiedAttribute = "string",
    PreferredLanguageAttribute = "string",
    PreferredUsernameAttribute = "string",
    Name = "string",
    LastNameAttribute = "string",
    IdAttribute = "string",
    FirstNameAttribute = "string",
    AvatarUrlAttribute = "string",
    EmailAttribute = "string",
    DisplayNameAttribute = "string",
});
example, err := zitadel.NewIdpLdap(ctx, "idpLdapResource", &zitadel.IdpLdapArgs{
	Servers: pulumi.StringArray{
		pulumi.String("string"),
	},
	BaseDn:       pulumi.String("string"),
	BindDn:       pulumi.String("string"),
	BindPassword: pulumi.String("string"),
	UserObjectClasses: pulumi.StringArray{
		pulumi.String("string"),
	},
	UserFilters: pulumi.StringArray{
		pulumi.String("string"),
	},
	UserBase:                   pulumi.String("string"),
	Timeout:                    pulumi.String("string"),
	StartTls:                   pulumi.Bool(false),
	IsAutoCreation:             pulumi.Bool(false),
	IsAutoUpdate:               pulumi.Bool(false),
	IsCreationAllowed:          pulumi.Bool(false),
	IsLinkingAllowed:           pulumi.Bool(false),
	EmailVerifiedAttribute:     pulumi.String("string"),
	ProfileAttribute:           pulumi.String("string"),
	NickNameAttribute:          pulumi.String("string"),
	PhoneAttribute:             pulumi.String("string"),
	PhoneVerifiedAttribute:     pulumi.String("string"),
	PreferredLanguageAttribute: pulumi.String("string"),
	PreferredUsernameAttribute: pulumi.String("string"),
	Name:                       pulumi.String("string"),
	LastNameAttribute:          pulumi.String("string"),
	IdAttribute:                pulumi.String("string"),
	FirstNameAttribute:         pulumi.String("string"),
	AvatarUrlAttribute:         pulumi.String("string"),
	EmailAttribute:             pulumi.String("string"),
	DisplayNameAttribute:       pulumi.String("string"),
})
var idpLdapResource = new IdpLdap("idpLdapResource", IdpLdapArgs.builder()
    .servers("string")
    .baseDn("string")
    .bindDn("string")
    .bindPassword("string")
    .userObjectClasses("string")
    .userFilters("string")
    .userBase("string")
    .timeout("string")
    .startTls(false)
    .isAutoCreation(false)
    .isAutoUpdate(false)
    .isCreationAllowed(false)
    .isLinkingAllowed(false)
    .emailVerifiedAttribute("string")
    .profileAttribute("string")
    .nickNameAttribute("string")
    .phoneAttribute("string")
    .phoneVerifiedAttribute("string")
    .preferredLanguageAttribute("string")
    .preferredUsernameAttribute("string")
    .name("string")
    .lastNameAttribute("string")
    .idAttribute("string")
    .firstNameAttribute("string")
    .avatarUrlAttribute("string")
    .emailAttribute("string")
    .displayNameAttribute("string")
    .build());
idp_ldap_resource = zitadel.IdpLdap("idpLdapResource",
    servers=["string"],
    base_dn="string",
    bind_dn="string",
    bind_password="string",
    user_object_classes=["string"],
    user_filters=["string"],
    user_base="string",
    timeout="string",
    start_tls=False,
    is_auto_creation=False,
    is_auto_update=False,
    is_creation_allowed=False,
    is_linking_allowed=False,
    email_verified_attribute="string",
    profile_attribute="string",
    nick_name_attribute="string",
    phone_attribute="string",
    phone_verified_attribute="string",
    preferred_language_attribute="string",
    preferred_username_attribute="string",
    name="string",
    last_name_attribute="string",
    id_attribute="string",
    first_name_attribute="string",
    avatar_url_attribute="string",
    email_attribute="string",
    display_name_attribute="string")
const idpLdapResource = new zitadel.IdpLdap("idpLdapResource", {
    servers: ["string"],
    baseDn: "string",
    bindDn: "string",
    bindPassword: "string",
    userObjectClasses: ["string"],
    userFilters: ["string"],
    userBase: "string",
    timeout: "string",
    startTls: false,
    isAutoCreation: false,
    isAutoUpdate: false,
    isCreationAllowed: false,
    isLinkingAllowed: false,
    emailVerifiedAttribute: "string",
    profileAttribute: "string",
    nickNameAttribute: "string",
    phoneAttribute: "string",
    phoneVerifiedAttribute: "string",
    preferredLanguageAttribute: "string",
    preferredUsernameAttribute: "string",
    name: "string",
    lastNameAttribute: "string",
    idAttribute: "string",
    firstNameAttribute: "string",
    avatarUrlAttribute: "string",
    emailAttribute: "string",
    displayNameAttribute: "string",
});
type: zitadel:IdpLdap
properties:
    avatarUrlAttribute: string
    baseDn: string
    bindDn: string
    bindPassword: string
    displayNameAttribute: string
    emailAttribute: string
    emailVerifiedAttribute: string
    firstNameAttribute: string
    idAttribute: string
    isAutoCreation: false
    isAutoUpdate: false
    isCreationAllowed: false
    isLinkingAllowed: false
    lastNameAttribute: string
    name: string
    nickNameAttribute: string
    phoneAttribute: string
    phoneVerifiedAttribute: string
    preferredLanguageAttribute: string
    preferredUsernameAttribute: string
    profileAttribute: string
    servers:
        - string
    startTls: false
    timeout: string
    userBase: string
    userFilters:
        - string
    userObjectClasses:
        - string
IdpLdap Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
The IdpLdap resource accepts the following input properties:
- Base
Dn string - Base DN for LDAP connections
 - Bind
Dn string - Bind DN for LDAP connections
 - Bind
Password string - Bind password for LDAP connections
 - Is
Auto boolCreation  - enable if a new account in ZITADEL should be created automatically on login with an external account
 - Is
Auto boolUpdate  - enable if a the ZITADEL account fields should be updated automatically on each login
 - Is
Creation boolAllowed  - enable if users should be able to create a new account in ZITADEL when using an external account
 - Is
Linking boolAllowed  - enable if users should be able to link an existing ZITADEL user with an external account
 - Servers List<string>
 - Servers to try in order for establishing LDAP connections
 - Start
Tls bool - Wether to use StartTLS for LDAP connections
 - Timeout string
 - Timeout for LDAP connections
 - User
Base string - User base for LDAP connections
 - User
Filters List<string> - User filters for LDAP connections
 - User
Object List<string>Classes  - User object classes for LDAP connections
 - Avatar
Url stringAttribute  - User attribute for the avatar url
 - Display
Name stringAttribute  - User attribute for the display name
 - Email
Attribute string - User attribute for the email
 - Email
Verified stringAttribute  - User attribute for the email verified state
 - First
Name stringAttribute  - User attribute for the first name
 - Id
Attribute string - User attribute for the id
 - Last
Name stringAttribute  - User attribute for the last name
 - Name string
 - Name of the IDP
 - Nick
Name stringAttribute  - User attribute for the nick name
 - Phone
Attribute string - User attribute for the phone
 - Phone
Verified stringAttribute  - User attribute for the phone verified state
 - Preferred
Language stringAttribute  - User attribute for the preferred language
 - Preferred
Username stringAttribute  - User attribute for the preferred username
 - Profile
Attribute string - User attribute for the profile
 
- Base
Dn string - Base DN for LDAP connections
 - Bind
Dn string - Bind DN for LDAP connections
 - Bind
Password string - Bind password for LDAP connections
 - Is
Auto boolCreation  - enable if a new account in ZITADEL should be created automatically on login with an external account
 - Is
Auto boolUpdate  - enable if a the ZITADEL account fields should be updated automatically on each login
 - Is
Creation boolAllowed  - enable if users should be able to create a new account in ZITADEL when using an external account
 - Is
Linking boolAllowed  - enable if users should be able to link an existing ZITADEL user with an external account
 - Servers []string
 - Servers to try in order for establishing LDAP connections
 - Start
Tls bool - Wether to use StartTLS for LDAP connections
 - Timeout string
 - Timeout for LDAP connections
 - User
Base string - User base for LDAP connections
 - User
Filters []string - User filters for LDAP connections
 - User
Object []stringClasses  - User object classes for LDAP connections
 - Avatar
Url stringAttribute  - User attribute for the avatar url
 - Display
Name stringAttribute  - User attribute for the display name
 - Email
Attribute string - User attribute for the email
 - Email
Verified stringAttribute  - User attribute for the email verified state
 - First
Name stringAttribute  - User attribute for the first name
 - Id
Attribute string - User attribute for the id
 - Last
Name stringAttribute  - User attribute for the last name
 - Name string
 - Name of the IDP
 - Nick
Name stringAttribute  - User attribute for the nick name
 - Phone
Attribute string - User attribute for the phone
 - Phone
Verified stringAttribute  - User attribute for the phone verified state
 - Preferred
Language stringAttribute  - User attribute for the preferred language
 - Preferred
Username stringAttribute  - User attribute for the preferred username
 - Profile
Attribute string - User attribute for the profile
 
- base
Dn String - Base DN for LDAP connections
 - bind
Dn String - Bind DN for LDAP connections
 - bind
Password String - Bind password for LDAP connections
 - is
Auto BooleanCreation  - enable if a new account in ZITADEL should be created automatically on login with an external account
 - is
Auto BooleanUpdate  - enable if a the ZITADEL account fields should be updated automatically on each login
 - is
Creation BooleanAllowed  - enable if users should be able to create a new account in ZITADEL when using an external account
 - is
Linking BooleanAllowed  - enable if users should be able to link an existing ZITADEL user with an external account
 - servers List<String>
 - Servers to try in order for establishing LDAP connections
 - start
Tls Boolean - Wether to use StartTLS for LDAP connections
 - timeout String
 - Timeout for LDAP connections
 - user
Base String - User base for LDAP connections
 - user
Filters List<String> - User filters for LDAP connections
 - user
Object List<String>Classes  - User object classes for LDAP connections
 - avatar
Url StringAttribute  - User attribute for the avatar url
 - display
Name StringAttribute  - User attribute for the display name
 - email
Attribute String - User attribute for the email
 - email
Verified StringAttribute  - User attribute for the email verified state
 - first
Name StringAttribute  - User attribute for the first name
 - id
Attribute String - User attribute for the id
 - last
Name StringAttribute  - User attribute for the last name
 - name String
 - Name of the IDP
 - nick
Name StringAttribute  - User attribute for the nick name
 - phone
Attribute String - User attribute for the phone
 - phone
Verified StringAttribute  - User attribute for the phone verified state
 - preferred
Language StringAttribute  - User attribute for the preferred language
 - preferred
Username StringAttribute  - User attribute for the preferred username
 - profile
Attribute String - User attribute for the profile
 
- base
Dn string - Base DN for LDAP connections
 - bind
Dn string - Bind DN for LDAP connections
 - bind
Password string - Bind password for LDAP connections
 - is
Auto booleanCreation  - enable if a new account in ZITADEL should be created automatically on login with an external account
 - is
Auto booleanUpdate  - enable if a the ZITADEL account fields should be updated automatically on each login
 - is
Creation booleanAllowed  - enable if users should be able to create a new account in ZITADEL when using an external account
 - is
Linking booleanAllowed  - enable if users should be able to link an existing ZITADEL user with an external account
 - servers string[]
 - Servers to try in order for establishing LDAP connections
 - start
Tls boolean - Wether to use StartTLS for LDAP connections
 - timeout string
 - Timeout for LDAP connections
 - user
Base string - User base for LDAP connections
 - user
Filters string[] - User filters for LDAP connections
 - user
Object string[]Classes  - User object classes for LDAP connections
 - avatar
Url stringAttribute  - User attribute for the avatar url
 - display
Name stringAttribute  - User attribute for the display name
 - email
Attribute string - User attribute for the email
 - email
Verified stringAttribute  - User attribute for the email verified state
 - first
Name stringAttribute  - User attribute for the first name
 - id
Attribute string - User attribute for the id
 - last
Name stringAttribute  - User attribute for the last name
 - name string
 - Name of the IDP
 - nick
Name stringAttribute  - User attribute for the nick name
 - phone
Attribute string - User attribute for the phone
 - phone
Verified stringAttribute  - User attribute for the phone verified state
 - preferred
Language stringAttribute  - User attribute for the preferred language
 - preferred
Username stringAttribute  - User attribute for the preferred username
 - profile
Attribute string - User attribute for the profile
 
- base_
dn str - Base DN for LDAP connections
 - bind_
dn str - Bind DN for LDAP connections
 - bind_
password str - Bind password for LDAP connections
 - is_
auto_ boolcreation  - enable if a new account in ZITADEL should be created automatically on login with an external account
 - is_
auto_ boolupdate  - enable if a the ZITADEL account fields should be updated automatically on each login
 - is_
creation_ boolallowed  - enable if users should be able to create a new account in ZITADEL when using an external account
 - is_
linking_ boolallowed  - enable if users should be able to link an existing ZITADEL user with an external account
 - 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
 - avatar_
url_ strattribute  - User attribute for the avatar url
 - 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_
attribute str - User attribute for the id
 - 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
 
- base
Dn String - Base DN for LDAP connections
 - bind
Dn String - Bind DN for LDAP connections
 - bind
Password String - Bind password for LDAP connections
 - is
Auto BooleanCreation  - enable if a new account in ZITADEL should be created automatically on login with an external account
 - is
Auto BooleanUpdate  - enable if a the ZITADEL account fields should be updated automatically on each login
 - is
Creation BooleanAllowed  - enable if users should be able to create a new account in ZITADEL when using an external account
 - is
Linking BooleanAllowed  - enable if users should be able to link an existing ZITADEL user with an external account
 - servers List<String>
 - Servers to try in order for establishing LDAP connections
 - start
Tls Boolean - Wether to use StartTLS for LDAP connections
 - timeout String
 - Timeout for LDAP connections
 - user
Base String - User base for LDAP connections
 - user
Filters List<String> - User filters for LDAP connections
 - user
Object List<String>Classes  - User object classes for LDAP connections
 - avatar
Url StringAttribute  - User attribute for the avatar url
 - display
Name StringAttribute  - User attribute for the display name
 - email
Attribute String - User attribute for the email
 - email
Verified StringAttribute  - User attribute for the email verified state
 - first
Name StringAttribute  - User attribute for the first name
 - id
Attribute String - User attribute for the id
 - last
Name StringAttribute  - User attribute for the last name
 - name String
 - Name of the IDP
 - nick
Name StringAttribute  - User attribute for the nick name
 - phone
Attribute String - User attribute for the phone
 - phone
Verified StringAttribute  - User attribute for the phone verified state
 - preferred
Language StringAttribute  - User attribute for the preferred language
 - preferred
Username StringAttribute  - User attribute for the preferred username
 - profile
Attribute String - User attribute for the profile
 
Outputs
All input properties are implicitly available as output properties. Additionally, the IdpLdap resource produces the following output properties:
- Id string
 - The provider-assigned unique ID for this managed resource.
 
- Id string
 - The provider-assigned unique ID for this managed resource.
 
- id String
 - The provider-assigned unique ID for this managed resource.
 
- id string
 - The provider-assigned unique ID for this managed resource.
 
- id str
 - The provider-assigned unique ID for this managed resource.
 
- id String
 - The provider-assigned unique ID for this managed resource.
 
Look up Existing IdpLdap Resource
Get an existing IdpLdap resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.
public static get(name: string, id: Input<ID>, state?: IdpLdapState, opts?: CustomResourceOptions): IdpLdap@staticmethod
def get(resource_name: str,
        id: str,
        opts: Optional[ResourceOptions] = None,
        avatar_url_attribute: Optional[str] = None,
        base_dn: Optional[str] = None,
        bind_dn: Optional[str] = None,
        bind_password: Optional[str] = None,
        display_name_attribute: Optional[str] = None,
        email_attribute: Optional[str] = None,
        email_verified_attribute: Optional[str] = None,
        first_name_attribute: Optional[str] = None,
        id_attribute: Optional[str] = None,
        is_auto_creation: Optional[bool] = None,
        is_auto_update: Optional[bool] = None,
        is_creation_allowed: Optional[bool] = None,
        is_linking_allowed: Optional[bool] = None,
        last_name_attribute: Optional[str] = None,
        name: Optional[str] = None,
        nick_name_attribute: Optional[str] = None,
        phone_attribute: Optional[str] = None,
        phone_verified_attribute: Optional[str] = None,
        preferred_language_attribute: Optional[str] = None,
        preferred_username_attribute: Optional[str] = None,
        profile_attribute: Optional[str] = None,
        servers: Optional[Sequence[str]] = None,
        start_tls: Optional[bool] = None,
        timeout: Optional[str] = None,
        user_base: Optional[str] = None,
        user_filters: Optional[Sequence[str]] = None,
        user_object_classes: Optional[Sequence[str]] = None) -> IdpLdapfunc GetIdpLdap(ctx *Context, name string, id IDInput, state *IdpLdapState, opts ...ResourceOption) (*IdpLdap, error)public static IdpLdap Get(string name, Input<string> id, IdpLdapState? state, CustomResourceOptions? opts = null)public static IdpLdap get(String name, Output<String> id, IdpLdapState state, CustomResourceOptions options)Resource lookup is not supported in YAML- name
 - The unique name of the resulting resource.
 - id
 - The unique provider ID of the resource to lookup.
 - state
 - Any extra arguments used during the lookup.
 - opts
 - A bag of options that control this resource's behavior.
 
- resource_name
 - The unique name of the resulting resource.
 - id
 - The unique provider ID of the resource to lookup.
 
- name
 - The unique name of the resulting resource.
 - id
 - The unique provider ID of the resource to lookup.
 - state
 - Any extra arguments used during the lookup.
 - opts
 - A bag of options that control this resource's behavior.
 
- name
 - The unique name of the resulting resource.
 - id
 - The unique provider ID of the resource to lookup.
 - state
 - Any extra arguments used during the lookup.
 - opts
 - A bag of options that control this resource's behavior.
 
- name
 - The unique name of the resulting resource.
 - id
 - The unique provider ID of the resource to lookup.
 - state
 - Any extra arguments used during the lookup.
 - opts
 - A bag of options that control this resource's behavior.
 
- Avatar
Url stringAttribute  - User attribute for the avatar url
 - Base
Dn string - Base DN for LDAP connections
 - Bind
Dn string - Bind DN for LDAP connections
 - Bind
Password string - Bind password for LDAP connections
 - Display
Name stringAttribute  - User attribute for the display name
 - Email
Attribute string - User attribute for the email
 - Email
Verified stringAttribute  - User attribute for the email verified state
 - First
Name stringAttribute  - User attribute for the first name
 - Id
Attribute string - User attribute for the id
 - Is
Auto boolCreation  - enable if a new account in ZITADEL should be created automatically on login with an external account
 - Is
Auto boolUpdate  - enable if a the ZITADEL account fields should be updated automatically on each login
 - Is
Creation boolAllowed  - enable if users should be able to create a new account in ZITADEL when using an external account
 - Is
Linking boolAllowed  - enable if users should be able to link an existing ZITADEL user with an external account
 - Last
Name stringAttribute  - User attribute for the last name
 - Name string
 - Name of the IDP
 - Nick
Name stringAttribute  - User attribute for the nick name
 - Phone
Attribute string - User attribute for the phone
 - Phone
Verified stringAttribute  - User attribute for the phone verified state
 - Preferred
Language stringAttribute  - User attribute for the preferred language
 - Preferred
Username stringAttribute  - User attribute for the preferred username
 - Profile
Attribute string - User attribute for the profile
 - Servers List<string>
 - Servers to try in order for establishing LDAP connections
 - Start
Tls bool - Wether to use StartTLS for LDAP connections
 - Timeout string
 - Timeout for LDAP connections
 - User
Base string - User base for LDAP connections
 - User
Filters List<string> - User filters for LDAP connections
 - User
Object List<string>Classes  - User object classes for LDAP connections
 
- Avatar
Url stringAttribute  - User attribute for the avatar url
 - Base
Dn string - Base DN for LDAP connections
 - Bind
Dn string - Bind DN for LDAP connections
 - Bind
Password string - Bind password for LDAP connections
 - Display
Name stringAttribute  - User attribute for the display name
 - Email
Attribute string - User attribute for the email
 - Email
Verified stringAttribute  - User attribute for the email verified state
 - First
Name stringAttribute  - User attribute for the first name
 - Id
Attribute string - User attribute for the id
 - Is
Auto boolCreation  - enable if a new account in ZITADEL should be created automatically on login with an external account
 - Is
Auto boolUpdate  - enable if a the ZITADEL account fields should be updated automatically on each login
 - Is
Creation boolAllowed  - enable if users should be able to create a new account in ZITADEL when using an external account
 - Is
Linking boolAllowed  - enable if users should be able to link an existing ZITADEL user with an external account
 - Last
Name stringAttribute  - User attribute for the last name
 - Name string
 - Name of the IDP
 - Nick
Name stringAttribute  - User attribute for the nick name
 - Phone
Attribute string - User attribute for the phone
 - Phone
Verified stringAttribute  - User attribute for the phone verified state
 - Preferred
Language stringAttribute  - User attribute for the preferred language
 - Preferred
Username stringAttribute  - User attribute for the preferred username
 - Profile
Attribute string - User attribute for the profile
 - Servers []string
 - Servers to try in order for establishing LDAP connections
 - Start
Tls bool - Wether to use StartTLS for LDAP connections
 - Timeout string
 - Timeout for LDAP connections
 - User
Base string - User base for LDAP connections
 - User
Filters []string - User filters for LDAP connections
 - User
Object []stringClasses  - User object classes for LDAP connections
 
- avatar
Url StringAttribute  - User attribute for the avatar url
 - base
Dn String - Base DN for LDAP connections
 - bind
Dn String - Bind DN for LDAP connections
 - bind
Password String - Bind password for LDAP connections
 - display
Name StringAttribute  - User attribute for the display name
 - email
Attribute String - User attribute for the email
 - email
Verified StringAttribute  - User attribute for the email verified state
 - first
Name StringAttribute  - User attribute for the first name
 - id
Attribute String - User attribute for the id
 - is
Auto BooleanCreation  - enable if a new account in ZITADEL should be created automatically on login with an external account
 - is
Auto BooleanUpdate  - enable if a the ZITADEL account fields should be updated automatically on each login
 - is
Creation BooleanAllowed  - enable if users should be able to create a new account in ZITADEL when using an external account
 - is
Linking BooleanAllowed  - enable if users should be able to link an existing ZITADEL user with an external account
 - last
Name StringAttribute  - User attribute for the last name
 - name String
 - Name of the IDP
 - nick
Name StringAttribute  - User attribute for the nick name
 - phone
Attribute String - User attribute for the phone
 - phone
Verified StringAttribute  - User attribute for the phone verified state
 - preferred
Language StringAttribute  - User attribute for the preferred language
 - preferred
Username StringAttribute  - User attribute for the preferred username
 - profile
Attribute String - User attribute for the profile
 - servers List<String>
 - Servers to try in order for establishing LDAP connections
 - start
Tls Boolean - Wether to use StartTLS for LDAP connections
 - timeout String
 - Timeout for LDAP connections
 - user
Base String - User base for LDAP connections
 - user
Filters List<String> - User filters for LDAP connections
 - user
Object List<String>Classes  - User object classes for LDAP connections
 
- avatar
Url stringAttribute  - User attribute for the avatar url
 - base
Dn string - Base DN for LDAP connections
 - bind
Dn string - Bind DN for LDAP connections
 - bind
Password string - Bind password for LDAP connections
 - display
Name stringAttribute  - User attribute for the display name
 - email
Attribute string - User attribute for the email
 - email
Verified stringAttribute  - User attribute for the email verified state
 - first
Name stringAttribute  - User attribute for the first name
 - id
Attribute string - User attribute for the id
 - is
Auto booleanCreation  - enable if a new account in ZITADEL should be created automatically on login with an external account
 - is
Auto booleanUpdate  - enable if a the ZITADEL account fields should be updated automatically on each login
 - is
Creation booleanAllowed  - enable if users should be able to create a new account in ZITADEL when using an external account
 - is
Linking booleanAllowed  - enable if users should be able to link an existing ZITADEL user with an external account
 - last
Name stringAttribute  - User attribute for the last name
 - name string
 - Name of the IDP
 - nick
Name stringAttribute  - User attribute for the nick name
 - phone
Attribute string - User attribute for the phone
 - phone
Verified stringAttribute  - User attribute for the phone verified state
 - preferred
Language stringAttribute  - User attribute for the preferred language
 - preferred
Username stringAttribute  - User attribute for the preferred username
 - profile
Attribute string - User attribute for the profile
 - servers string[]
 - Servers to try in order for establishing LDAP connections
 - start
Tls boolean - Wether to use StartTLS for LDAP connections
 - timeout string
 - Timeout for LDAP connections
 - user
Base string - User base for LDAP connections
 - user
Filters string[] - User filters for LDAP connections
 - user
Object 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_
attribute str - User attribute for the id
 - is_
auto_ boolcreation  - enable if a new account in ZITADEL should be created automatically on login with an external account
 - is_
auto_ boolupdate  - enable if a the ZITADEL account fields should be updated automatically on each login
 - is_
creation_ boolallowed  - enable if users should be able to create a new account in ZITADEL when using an external account
 - is_
linking_ boolallowed  - enable if users should be 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
 
- avatar
Url StringAttribute  - User attribute for the avatar url
 - base
Dn String - Base DN for LDAP connections
 - bind
Dn String - Bind DN for LDAP connections
 - bind
Password String - Bind password for LDAP connections
 - display
Name StringAttribute  - User attribute for the display name
 - email
Attribute String - User attribute for the email
 - email
Verified StringAttribute  - User attribute for the email verified state
 - first
Name StringAttribute  - User attribute for the first name
 - id
Attribute String - User attribute for the id
 - is
Auto BooleanCreation  - enable if a new account in ZITADEL should be created automatically on login with an external account
 - is
Auto BooleanUpdate  - enable if a the ZITADEL account fields should be updated automatically on each login
 - is
Creation BooleanAllowed  - enable if users should be able to create a new account in ZITADEL when using an external account
 - is
Linking BooleanAllowed  - enable if users should be able to link an existing ZITADEL user with an external account
 - last
Name StringAttribute  - User attribute for the last name
 - name String
 - Name of the IDP
 - nick
Name StringAttribute  - User attribute for the nick name
 - phone
Attribute String - User attribute for the phone
 - phone
Verified StringAttribute  - User attribute for the phone verified state
 - preferred
Language StringAttribute  - User attribute for the preferred language
 - preferred
Username StringAttribute  - User attribute for the preferred username
 - profile
Attribute String - User attribute for the profile
 - servers List<String>
 - Servers to try in order for establishing LDAP connections
 - start
Tls Boolean - Wether to use StartTLS for LDAP connections
 - timeout String
 - Timeout for LDAP connections
 - user
Base String - User base for LDAP connections
 - user
Filters List<String> - User filters for LDAP connections
 - user
Object List<String>Classes  - User object classes for LDAP connections
 
Import
terraform The resource can be imported using the ID format <id[:bind_password]>, e.g.
 $ pulumi import zitadel:index/idpLdap:IdpLdap imported '123456789012345678:b1nd_p4ssw0rd'
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
 - zitadel pulumiverse/pulumi-zitadel
 - License
 - Apache-2.0
 - Notes
 - This Pulumi package is based on the 
zitadelTerraform Provider.