1. Packages
  2. Nexus Provider
  3. API Docs
  4. SecurityLdap
nexus 2.5.0 published on Monday, Apr 14, 2025 by datadrivers

nexus.SecurityLdap

Explore with Pulumi AI

nexus logo
nexus 2.5.0 published on Monday, Apr 14, 2025 by datadrivers

    Use this resource to create a Nexus Security LDAP configuration.

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as nexus from "@pulumi/nexus";
    
    const example = new nexus.SecurityLdap("example", {
        authPassword: "t0ps3cr3t",
        authRealm: "EXAMPLE",
        authSchema: "",
        authUsername: "admin",
        connectionRetryDelaySeconds: 1,
        connectionTimeoutSeconds: 1,
        groupBaseDn: "ou=Group",
        groupIdAttribute: "cn",
        groupMemberAttribute: "memberUid",
        groupMemberFormat: `uid=${username},ou=people,dc=example,dc=com`,
        groupObjectClass: "example",
        groupSubtree: true,
        host: "ldap.example.com",
        ldapGroupsAsRoles: true,
        maxIncidentCount: 1,
        port: 389,
        protocol: "LDAP",
        searchBase: "dc=example,dc=com",
        userBaseDn: "ou=people",
        userEmailAddressAttribute: "mail",
        userIdAttribute: "uid",
        userLdapFilter: "(|(mail=*@example.com)(uid=dom*))",
        userMemberOfAttribute: "memberOf",
        userObjectClass: "posixGroup",
        userPasswordAttribute: "exmaple",
        userRealNameAttribute: "cn",
        userSubtree: true,
    });
    
    import pulumi
    import pulumi_nexus as nexus
    
    example = nexus.SecurityLdap("example",
        auth_password="t0ps3cr3t",
        auth_realm="EXAMPLE",
        auth_schema="",
        auth_username="admin",
        connection_retry_delay_seconds=1,
        connection_timeout_seconds=1,
        group_base_dn="ou=Group",
        group_id_attribute="cn",
        group_member_attribute="memberUid",
        group_member_format=f"uid={username},ou=people,dc=example,dc=com",
        group_object_class="example",
        group_subtree=True,
        host="ldap.example.com",
        ldap_groups_as_roles=True,
        max_incident_count=1,
        port=389,
        protocol="LDAP",
        search_base="dc=example,dc=com",
        user_base_dn="ou=people",
        user_email_address_attribute="mail",
        user_id_attribute="uid",
        user_ldap_filter="(|(mail=*@example.com)(uid=dom*))",
        user_member_of_attribute="memberOf",
        user_object_class="posixGroup",
        user_password_attribute="exmaple",
        user_real_name_attribute="cn",
        user_subtree=True)
    
    package main
    
    import (
    	"fmt"
    
    	"github.com/pulumi/pulumi-terraform-provider/sdks/go/nexus/v2/nexus"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := nexus.NewSecurityLdap(ctx, "example", &nexus.SecurityLdapArgs{
    			AuthPassword:                pulumi.String("t0ps3cr3t"),
    			AuthRealm:                   pulumi.String("EXAMPLE"),
    			AuthSchema:                  pulumi.String(""),
    			AuthUsername:                pulumi.String("admin"),
    			ConnectionRetryDelaySeconds: pulumi.Float64(1),
    			ConnectionTimeoutSeconds:    pulumi.Float64(1),
    			GroupBaseDn:                 pulumi.String("ou=Group"),
    			GroupIdAttribute:            pulumi.String("cn"),
    			GroupMemberAttribute:        pulumi.String("memberUid"),
    			GroupMemberFormat:           pulumi.Sprintf("uid=%v,ou=people,dc=example,dc=com", username),
    			GroupObjectClass:            pulumi.String("example"),
    			GroupSubtree:                pulumi.Bool(true),
    			Host:                        pulumi.String("ldap.example.com"),
    			LdapGroupsAsRoles:           pulumi.Bool(true),
    			MaxIncidentCount:            pulumi.Float64(1),
    			Port:                        pulumi.Float64(389),
    			Protocol:                    pulumi.String("LDAP"),
    			SearchBase:                  pulumi.String("dc=example,dc=com"),
    			UserBaseDn:                  pulumi.String("ou=people"),
    			UserEmailAddressAttribute:   pulumi.String("mail"),
    			UserIdAttribute:             pulumi.String("uid"),
    			UserLdapFilter:              pulumi.String("(|(mail=*@example.com)(uid=dom*))"),
    			UserMemberOfAttribute:       pulumi.String("memberOf"),
    			UserObjectClass:             pulumi.String("posixGroup"),
    			UserPasswordAttribute:       pulumi.String("exmaple"),
    			UserRealNameAttribute:       pulumi.String("cn"),
    			UserSubtree:                 pulumi.Bool(true),
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Nexus = Pulumi.Nexus;
    
    return await Deployment.RunAsync(() => 
    {
        var example = new Nexus.SecurityLdap("example", new()
        {
            AuthPassword = "t0ps3cr3t",
            AuthRealm = "EXAMPLE",
            AuthSchema = "",
            AuthUsername = "admin",
            ConnectionRetryDelaySeconds = 1,
            ConnectionTimeoutSeconds = 1,
            GroupBaseDn = "ou=Group",
            GroupIdAttribute = "cn",
            GroupMemberAttribute = "memberUid",
            GroupMemberFormat = $"uid={username},ou=people,dc=example,dc=com",
            GroupObjectClass = "example",
            GroupSubtree = true,
            Host = "ldap.example.com",
            LdapGroupsAsRoles = true,
            MaxIncidentCount = 1,
            Port = 389,
            Protocol = "LDAP",
            SearchBase = "dc=example,dc=com",
            UserBaseDn = "ou=people",
            UserEmailAddressAttribute = "mail",
            UserIdAttribute = "uid",
            UserLdapFilter = "(|(mail=*@example.com)(uid=dom*))",
            UserMemberOfAttribute = "memberOf",
            UserObjectClass = "posixGroup",
            UserPasswordAttribute = "exmaple",
            UserRealNameAttribute = "cn",
            UserSubtree = true,
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.nexus.SecurityLdap;
    import com.pulumi.nexus.SecurityLdapArgs;
    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 example = new SecurityLdap("example", SecurityLdapArgs.builder()
                .authPassword("t0ps3cr3t")
                .authRealm("EXAMPLE")
                .authSchema("")
                .authUsername("admin")
                .connectionRetryDelaySeconds(1)
                .connectionTimeoutSeconds(1)
                .groupBaseDn("ou=Group")
                .groupIdAttribute("cn")
                .groupMemberAttribute("memberUid")
                .groupMemberFormat(String.format("uid=%s,ou=people,dc=example,dc=com", username))
                .groupObjectClass("example")
                .groupSubtree(true)
                .host("ldap.example.com")
                .ldapGroupsAsRoles(true)
                .maxIncidentCount(1)
                .port(389)
                .protocol("LDAP")
                .searchBase("dc=example,dc=com")
                .userBaseDn("ou=people")
                .userEmailAddressAttribute("mail")
                .userIdAttribute("uid")
                .userLdapFilter("(|(mail=*@example.com)(uid=dom*))")
                .userMemberOfAttribute("memberOf")
                .userObjectClass("posixGroup")
                .userPasswordAttribute("exmaple")
                .userRealNameAttribute("cn")
                .userSubtree(true)
                .build());
    
        }
    }
    
    resources:
      example:
        type: nexus:SecurityLdap
        properties:
          authPassword: t0ps3cr3t
          authRealm: EXAMPLE
          authSchema: ""
          authUsername: admin
          connectionRetryDelaySeconds: 1
          connectionTimeoutSeconds: 1
          groupBaseDn: ou=Group
          groupIdAttribute: cn
          groupMemberAttribute: memberUid
          groupMemberFormat: uid=${username},ou=people,dc=example,dc=com
          groupObjectClass: example
          groupSubtree: true
          host: ldap.example.com
          ldapGroupsAsRoles: true
          maxIncidentCount: 1
          port: 389
          protocol: LDAP
          searchBase: dc=example,dc=com
          userBaseDn: ou=people
          userEmailAddressAttribute: mail
          userIdAttribute: uid
          userLdapFilter: (|(mail=*@example.com)(uid=dom*))
          userMemberOfAttribute: memberOf
          userObjectClass: posixGroup
          userPasswordAttribute: exmaple
          userRealNameAttribute: cn
          userSubtree: true
    

    Create SecurityLdap Resource

    Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

    Constructor syntax

    new SecurityLdap(name: string, args: SecurityLdapArgs, opts?: CustomResourceOptions);
    @overload
    def SecurityLdap(resource_name: str,
                     args: SecurityLdapArgs,
                     opts: Optional[ResourceOptions] = None)
    
    @overload
    def SecurityLdap(resource_name: str,
                     opts: Optional[ResourceOptions] = None,
                     group_type: Optional[str] = None,
                     search_base: Optional[str] = None,
                     auth_schema: Optional[str] = None,
                     auth_username: Optional[str] = None,
                     connection_retry_delay_seconds: Optional[float] = None,
                     connection_timeout_seconds: Optional[float] = None,
                     protocol: Optional[str] = None,
                     port: Optional[float] = None,
                     max_incident_count: Optional[float] = None,
                     host: Optional[str] = None,
                     ldap_groups_as_roles: Optional[bool] = None,
                     auth_realm: Optional[str] = None,
                     group_object_class: Optional[str] = None,
                     group_member_format: Optional[str] = None,
                     auth_password: Optional[str] = None,
                     group_member_attribute: Optional[str] = None,
                     name: Optional[str] = None,
                     group_id_attribute: Optional[str] = None,
                     group_base_dn: Optional[str] = None,
                     group_subtree: Optional[bool] = None,
                     use_trust_store: Optional[bool] = None,
                     user_base_dn: Optional[str] = None,
                     user_email_address_attribute: Optional[str] = None,
                     user_id_attribute: Optional[str] = None,
                     user_ldap_filter: Optional[str] = None,
                     user_member_of_attribute: Optional[str] = None,
                     user_object_class: Optional[str] = None,
                     user_password_attribute: Optional[str] = None,
                     user_real_name_attribute: Optional[str] = None,
                     user_subtree: Optional[bool] = None)
    func NewSecurityLdap(ctx *Context, name string, args SecurityLdapArgs, opts ...ResourceOption) (*SecurityLdap, error)
    public SecurityLdap(string name, SecurityLdapArgs args, CustomResourceOptions? opts = null)
    public SecurityLdap(String name, SecurityLdapArgs args)
    public SecurityLdap(String name, SecurityLdapArgs args, CustomResourceOptions options)
    
    type: nexus:SecurityLdap
    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 SecurityLdapArgs
    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 SecurityLdapArgs
    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 SecurityLdapArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args SecurityLdapArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args SecurityLdapArgs
    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 securityLdapResource = new Nexus.SecurityLdap("securityLdapResource", new()
    {
        GroupType = "string",
        SearchBase = "string",
        AuthSchema = "string",
        AuthUsername = "string",
        ConnectionRetryDelaySeconds = 0,
        ConnectionTimeoutSeconds = 0,
        Protocol = "string",
        Port = 0,
        MaxIncidentCount = 0,
        Host = "string",
        LdapGroupsAsRoles = false,
        AuthRealm = "string",
        GroupObjectClass = "string",
        GroupMemberFormat = "string",
        AuthPassword = "string",
        GroupMemberAttribute = "string",
        Name = "string",
        GroupIdAttribute = "string",
        GroupBaseDn = "string",
        GroupSubtree = false,
        UseTrustStore = false,
        UserBaseDn = "string",
        UserEmailAddressAttribute = "string",
        UserIdAttribute = "string",
        UserLdapFilter = "string",
        UserMemberOfAttribute = "string",
        UserObjectClass = "string",
        UserPasswordAttribute = "string",
        UserRealNameAttribute = "string",
        UserSubtree = false,
    });
    
    example, err := nexus.NewSecurityLdap(ctx, "securityLdapResource", &nexus.SecurityLdapArgs{
    	GroupType:                   pulumi.String("string"),
    	SearchBase:                  pulumi.String("string"),
    	AuthSchema:                  pulumi.String("string"),
    	AuthUsername:                pulumi.String("string"),
    	ConnectionRetryDelaySeconds: pulumi.Float64(0),
    	ConnectionTimeoutSeconds:    pulumi.Float64(0),
    	Protocol:                    pulumi.String("string"),
    	Port:                        pulumi.Float64(0),
    	MaxIncidentCount:            pulumi.Float64(0),
    	Host:                        pulumi.String("string"),
    	LdapGroupsAsRoles:           pulumi.Bool(false),
    	AuthRealm:                   pulumi.String("string"),
    	GroupObjectClass:            pulumi.String("string"),
    	GroupMemberFormat:           pulumi.String("string"),
    	AuthPassword:                pulumi.String("string"),
    	GroupMemberAttribute:        pulumi.String("string"),
    	Name:                        pulumi.String("string"),
    	GroupIdAttribute:            pulumi.String("string"),
    	GroupBaseDn:                 pulumi.String("string"),
    	GroupSubtree:                pulumi.Bool(false),
    	UseTrustStore:               pulumi.Bool(false),
    	UserBaseDn:                  pulumi.String("string"),
    	UserEmailAddressAttribute:   pulumi.String("string"),
    	UserIdAttribute:             pulumi.String("string"),
    	UserLdapFilter:              pulumi.String("string"),
    	UserMemberOfAttribute:       pulumi.String("string"),
    	UserObjectClass:             pulumi.String("string"),
    	UserPasswordAttribute:       pulumi.String("string"),
    	UserRealNameAttribute:       pulumi.String("string"),
    	UserSubtree:                 pulumi.Bool(false),
    })
    
    var securityLdapResource = new SecurityLdap("securityLdapResource", SecurityLdapArgs.builder()
        .groupType("string")
        .searchBase("string")
        .authSchema("string")
        .authUsername("string")
        .connectionRetryDelaySeconds(0)
        .connectionTimeoutSeconds(0)
        .protocol("string")
        .port(0)
        .maxIncidentCount(0)
        .host("string")
        .ldapGroupsAsRoles(false)
        .authRealm("string")
        .groupObjectClass("string")
        .groupMemberFormat("string")
        .authPassword("string")
        .groupMemberAttribute("string")
        .name("string")
        .groupIdAttribute("string")
        .groupBaseDn("string")
        .groupSubtree(false)
        .useTrustStore(false)
        .userBaseDn("string")
        .userEmailAddressAttribute("string")
        .userIdAttribute("string")
        .userLdapFilter("string")
        .userMemberOfAttribute("string")
        .userObjectClass("string")
        .userPasswordAttribute("string")
        .userRealNameAttribute("string")
        .userSubtree(false)
        .build());
    
    security_ldap_resource = nexus.SecurityLdap("securityLdapResource",
        group_type="string",
        search_base="string",
        auth_schema="string",
        auth_username="string",
        connection_retry_delay_seconds=0,
        connection_timeout_seconds=0,
        protocol="string",
        port=0,
        max_incident_count=0,
        host="string",
        ldap_groups_as_roles=False,
        auth_realm="string",
        group_object_class="string",
        group_member_format="string",
        auth_password="string",
        group_member_attribute="string",
        name="string",
        group_id_attribute="string",
        group_base_dn="string",
        group_subtree=False,
        use_trust_store=False,
        user_base_dn="string",
        user_email_address_attribute="string",
        user_id_attribute="string",
        user_ldap_filter="string",
        user_member_of_attribute="string",
        user_object_class="string",
        user_password_attribute="string",
        user_real_name_attribute="string",
        user_subtree=False)
    
    const securityLdapResource = new nexus.SecurityLdap("securityLdapResource", {
        groupType: "string",
        searchBase: "string",
        authSchema: "string",
        authUsername: "string",
        connectionRetryDelaySeconds: 0,
        connectionTimeoutSeconds: 0,
        protocol: "string",
        port: 0,
        maxIncidentCount: 0,
        host: "string",
        ldapGroupsAsRoles: false,
        authRealm: "string",
        groupObjectClass: "string",
        groupMemberFormat: "string",
        authPassword: "string",
        groupMemberAttribute: "string",
        name: "string",
        groupIdAttribute: "string",
        groupBaseDn: "string",
        groupSubtree: false,
        useTrustStore: false,
        userBaseDn: "string",
        userEmailAddressAttribute: "string",
        userIdAttribute: "string",
        userLdapFilter: "string",
        userMemberOfAttribute: "string",
        userObjectClass: "string",
        userPasswordAttribute: "string",
        userRealNameAttribute: "string",
        userSubtree: false,
    });
    
    type: nexus:SecurityLdap
    properties:
        authPassword: string
        authRealm: string
        authSchema: string
        authUsername: string
        connectionRetryDelaySeconds: 0
        connectionTimeoutSeconds: 0
        groupBaseDn: string
        groupIdAttribute: string
        groupMemberAttribute: string
        groupMemberFormat: string
        groupObjectClass: string
        groupSubtree: false
        groupType: string
        host: string
        ldapGroupsAsRoles: false
        maxIncidentCount: 0
        name: string
        port: 0
        protocol: string
        searchBase: string
        useTrustStore: false
        userBaseDn: string
        userEmailAddressAttribute: string
        userIdAttribute: string
        userLdapFilter: string
        userMemberOfAttribute: string
        userObjectClass: string
        userPasswordAttribute: string
        userRealNameAttribute: string
        userSubtree: false
    

    SecurityLdap Resource Properties

    To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

    Inputs

    In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.

    The SecurityLdap resource accepts the following input properties:

    AuthSchema string
    Authentication scheme used for connecting to LDAP server
    AuthUsername string
    This must be a fully qualified username if simple authentication is used. Required if authScheme other than none.
    ConnectionRetryDelaySeconds double
    How long to wait before retrying
    ConnectionTimeoutSeconds double
    How long to wait before timeout
    GroupType string
    Defines a type of groups used: static (a group contains a list of users) or dynamic (a user contains a list of groups). Required if ldapGroupsAsRoles is true.
    Host string
    LDAP server connection hostname
    MaxIncidentCount double
    How many retry attempts
    Port double
    LDAP server connection port to use
    Protocol string
    LDAP server connection Protocol to use
    SearchBase string
    LDAP location to be added to the connection URL
    AuthPassword string
    The password to bind with. Required if authScheme other than none.
    AuthRealm string
    The SASL realm to bind to. Required if authScheme is CRAMMD5 or DIGESTMD5
    GroupBaseDn string
    The relative DN where group objects are found (e.g. ou=Group). This value will have the Search base DN value appended to form the full Group search base DN.
    GroupIdAttribute string
    This field specifies the attribute of the Object class that defines the Group ID. Required if groupType is static
    GroupMemberAttribute string
    LDAP attribute containing the usernames for the group. Required if groupType is static
    GroupMemberFormat string
    The format of user ID stored in the group member attribute. Required if groupType is static
    GroupObjectClass string
    LDAP class for group objects. Required if groupType is static
    GroupSubtree bool
    Are groups located in structures below the group base DN
    LdapGroupsAsRoles bool
    Denotes whether LDAP assigned roles are used as Nexus Repository Manager roles
    Name string
    LDAP server name
    UseTrustStore bool
    Whether to use certificates stored in Nexus Repository Manager's truststore
    UserBaseDn string
    The relative DN where user objects are found (e.g. ou=people). This value will have the Search base DN value appended to form the full User search base DN.
    UserEmailAddressAttribute string
    This is used to find an email address given the user ID
    UserIdAttribute string
    This is used to find a user given its user ID
    UserLdapFilter string
    LDAP search filter to limit user search
    UserMemberOfAttribute string
    Set this to the attribute used to store the attribute which holds groups DN in the user object. Required if groupType is dynamic
    UserObjectClass string
    LDAP class for user objects
    UserPasswordAttribute string
    If this field is blank the user will be authenticated against a bind with the LDAP server
    UserRealNameAttribute string
    This is used to find a real name given the user ID
    UserSubtree bool
    Are users located in structures below the user base DN?
    AuthSchema string
    Authentication scheme used for connecting to LDAP server
    AuthUsername string
    This must be a fully qualified username if simple authentication is used. Required if authScheme other than none.
    ConnectionRetryDelaySeconds float64
    How long to wait before retrying
    ConnectionTimeoutSeconds float64
    How long to wait before timeout
    GroupType string
    Defines a type of groups used: static (a group contains a list of users) or dynamic (a user contains a list of groups). Required if ldapGroupsAsRoles is true.
    Host string
    LDAP server connection hostname
    MaxIncidentCount float64
    How many retry attempts
    Port float64
    LDAP server connection port to use
    Protocol string
    LDAP server connection Protocol to use
    SearchBase string
    LDAP location to be added to the connection URL
    AuthPassword string
    The password to bind with. Required if authScheme other than none.
    AuthRealm string
    The SASL realm to bind to. Required if authScheme is CRAMMD5 or DIGESTMD5
    GroupBaseDn string
    The relative DN where group objects are found (e.g. ou=Group). This value will have the Search base DN value appended to form the full Group search base DN.
    GroupIdAttribute string
    This field specifies the attribute of the Object class that defines the Group ID. Required if groupType is static
    GroupMemberAttribute string
    LDAP attribute containing the usernames for the group. Required if groupType is static
    GroupMemberFormat string
    The format of user ID stored in the group member attribute. Required if groupType is static
    GroupObjectClass string
    LDAP class for group objects. Required if groupType is static
    GroupSubtree bool
    Are groups located in structures below the group base DN
    LdapGroupsAsRoles bool
    Denotes whether LDAP assigned roles are used as Nexus Repository Manager roles
    Name string
    LDAP server name
    UseTrustStore bool
    Whether to use certificates stored in Nexus Repository Manager's truststore
    UserBaseDn string
    The relative DN where user objects are found (e.g. ou=people). This value will have the Search base DN value appended to form the full User search base DN.
    UserEmailAddressAttribute string
    This is used to find an email address given the user ID
    UserIdAttribute string
    This is used to find a user given its user ID
    UserLdapFilter string
    LDAP search filter to limit user search
    UserMemberOfAttribute string
    Set this to the attribute used to store the attribute which holds groups DN in the user object. Required if groupType is dynamic
    UserObjectClass string
    LDAP class for user objects
    UserPasswordAttribute string
    If this field is blank the user will be authenticated against a bind with the LDAP server
    UserRealNameAttribute string
    This is used to find a real name given the user ID
    UserSubtree bool
    Are users located in structures below the user base DN?
    authSchema String
    Authentication scheme used for connecting to LDAP server
    authUsername String
    This must be a fully qualified username if simple authentication is used. Required if authScheme other than none.
    connectionRetryDelaySeconds Double
    How long to wait before retrying
    connectionTimeoutSeconds Double
    How long to wait before timeout
    groupType String
    Defines a type of groups used: static (a group contains a list of users) or dynamic (a user contains a list of groups). Required if ldapGroupsAsRoles is true.
    host String
    LDAP server connection hostname
    maxIncidentCount Double
    How many retry attempts
    port Double
    LDAP server connection port to use
    protocol String
    LDAP server connection Protocol to use
    searchBase String
    LDAP location to be added to the connection URL
    authPassword String
    The password to bind with. Required if authScheme other than none.
    authRealm String
    The SASL realm to bind to. Required if authScheme is CRAMMD5 or DIGESTMD5
    groupBaseDn String
    The relative DN where group objects are found (e.g. ou=Group). This value will have the Search base DN value appended to form the full Group search base DN.
    groupIdAttribute String
    This field specifies the attribute of the Object class that defines the Group ID. Required if groupType is static
    groupMemberAttribute String
    LDAP attribute containing the usernames for the group. Required if groupType is static
    groupMemberFormat String
    The format of user ID stored in the group member attribute. Required if groupType is static
    groupObjectClass String
    LDAP class for group objects. Required if groupType is static
    groupSubtree Boolean
    Are groups located in structures below the group base DN
    ldapGroupsAsRoles Boolean
    Denotes whether LDAP assigned roles are used as Nexus Repository Manager roles
    name String
    LDAP server name
    useTrustStore Boolean
    Whether to use certificates stored in Nexus Repository Manager's truststore
    userBaseDn String
    The relative DN where user objects are found (e.g. ou=people). This value will have the Search base DN value appended to form the full User search base DN.
    userEmailAddressAttribute String
    This is used to find an email address given the user ID
    userIdAttribute String
    This is used to find a user given its user ID
    userLdapFilter String
    LDAP search filter to limit user search
    userMemberOfAttribute String
    Set this to the attribute used to store the attribute which holds groups DN in the user object. Required if groupType is dynamic
    userObjectClass String
    LDAP class for user objects
    userPasswordAttribute String
    If this field is blank the user will be authenticated against a bind with the LDAP server
    userRealNameAttribute String
    This is used to find a real name given the user ID
    userSubtree Boolean
    Are users located in structures below the user base DN?
    authSchema string
    Authentication scheme used for connecting to LDAP server
    authUsername string
    This must be a fully qualified username if simple authentication is used. Required if authScheme other than none.
    connectionRetryDelaySeconds number
    How long to wait before retrying
    connectionTimeoutSeconds number
    How long to wait before timeout
    groupType string
    Defines a type of groups used: static (a group contains a list of users) or dynamic (a user contains a list of groups). Required if ldapGroupsAsRoles is true.
    host string
    LDAP server connection hostname
    maxIncidentCount number
    How many retry attempts
    port number
    LDAP server connection port to use
    protocol string
    LDAP server connection Protocol to use
    searchBase string
    LDAP location to be added to the connection URL
    authPassword string
    The password to bind with. Required if authScheme other than none.
    authRealm string
    The SASL realm to bind to. Required if authScheme is CRAMMD5 or DIGESTMD5
    groupBaseDn string
    The relative DN where group objects are found (e.g. ou=Group). This value will have the Search base DN value appended to form the full Group search base DN.
    groupIdAttribute string
    This field specifies the attribute of the Object class that defines the Group ID. Required if groupType is static
    groupMemberAttribute string
    LDAP attribute containing the usernames for the group. Required if groupType is static
    groupMemberFormat string
    The format of user ID stored in the group member attribute. Required if groupType is static
    groupObjectClass string
    LDAP class for group objects. Required if groupType is static
    groupSubtree boolean
    Are groups located in structures below the group base DN
    ldapGroupsAsRoles boolean
    Denotes whether LDAP assigned roles are used as Nexus Repository Manager roles
    name string
    LDAP server name
    useTrustStore boolean
    Whether to use certificates stored in Nexus Repository Manager's truststore
    userBaseDn string
    The relative DN where user objects are found (e.g. ou=people). This value will have the Search base DN value appended to form the full User search base DN.
    userEmailAddressAttribute string
    This is used to find an email address given the user ID
    userIdAttribute string
    This is used to find a user given its user ID
    userLdapFilter string
    LDAP search filter to limit user search
    userMemberOfAttribute string
    Set this to the attribute used to store the attribute which holds groups DN in the user object. Required if groupType is dynamic
    userObjectClass string
    LDAP class for user objects
    userPasswordAttribute string
    If this field is blank the user will be authenticated against a bind with the LDAP server
    userRealNameAttribute string
    This is used to find a real name given the user ID
    userSubtree boolean
    Are users located in structures below the user base DN?
    auth_schema str
    Authentication scheme used for connecting to LDAP server
    auth_username str
    This must be a fully qualified username if simple authentication is used. Required if authScheme other than none.
    connection_retry_delay_seconds float
    How long to wait before retrying
    connection_timeout_seconds float
    How long to wait before timeout
    group_type str
    Defines a type of groups used: static (a group contains a list of users) or dynamic (a user contains a list of groups). Required if ldapGroupsAsRoles is true.
    host str
    LDAP server connection hostname
    max_incident_count float
    How many retry attempts
    port float
    LDAP server connection port to use
    protocol str
    LDAP server connection Protocol to use
    search_base str
    LDAP location to be added to the connection URL
    auth_password str
    The password to bind with. Required if authScheme other than none.
    auth_realm str
    The SASL realm to bind to. Required if authScheme is CRAMMD5 or DIGESTMD5
    group_base_dn str
    The relative DN where group objects are found (e.g. ou=Group). This value will have the Search base DN value appended to form the full Group search base DN.
    group_id_attribute str
    This field specifies the attribute of the Object class that defines the Group ID. Required if groupType is static
    group_member_attribute str
    LDAP attribute containing the usernames for the group. Required if groupType is static
    group_member_format str
    The format of user ID stored in the group member attribute. Required if groupType is static
    group_object_class str
    LDAP class for group objects. Required if groupType is static
    group_subtree bool
    Are groups located in structures below the group base DN
    ldap_groups_as_roles bool
    Denotes whether LDAP assigned roles are used as Nexus Repository Manager roles
    name str
    LDAP server name
    use_trust_store bool
    Whether to use certificates stored in Nexus Repository Manager's truststore
    user_base_dn str
    The relative DN where user objects are found (e.g. ou=people). This value will have the Search base DN value appended to form the full User search base DN.
    user_email_address_attribute str
    This is used to find an email address given the user ID
    user_id_attribute str
    This is used to find a user given its user ID
    user_ldap_filter str
    LDAP search filter to limit user search
    user_member_of_attribute str
    Set this to the attribute used to store the attribute which holds groups DN in the user object. Required if groupType is dynamic
    user_object_class str
    LDAP class for user objects
    user_password_attribute str
    If this field is blank the user will be authenticated against a bind with the LDAP server
    user_real_name_attribute str
    This is used to find a real name given the user ID
    user_subtree bool
    Are users located in structures below the user base DN?
    authSchema String
    Authentication scheme used for connecting to LDAP server
    authUsername String
    This must be a fully qualified username if simple authentication is used. Required if authScheme other than none.
    connectionRetryDelaySeconds Number
    How long to wait before retrying
    connectionTimeoutSeconds Number
    How long to wait before timeout
    groupType String
    Defines a type of groups used: static (a group contains a list of users) or dynamic (a user contains a list of groups). Required if ldapGroupsAsRoles is true.
    host String
    LDAP server connection hostname
    maxIncidentCount Number
    How many retry attempts
    port Number
    LDAP server connection port to use
    protocol String
    LDAP server connection Protocol to use
    searchBase String
    LDAP location to be added to the connection URL
    authPassword String
    The password to bind with. Required if authScheme other than none.
    authRealm String
    The SASL realm to bind to. Required if authScheme is CRAMMD5 or DIGESTMD5
    groupBaseDn String
    The relative DN where group objects are found (e.g. ou=Group). This value will have the Search base DN value appended to form the full Group search base DN.
    groupIdAttribute String
    This field specifies the attribute of the Object class that defines the Group ID. Required if groupType is static
    groupMemberAttribute String
    LDAP attribute containing the usernames for the group. Required if groupType is static
    groupMemberFormat String
    The format of user ID stored in the group member attribute. Required if groupType is static
    groupObjectClass String
    LDAP class for group objects. Required if groupType is static
    groupSubtree Boolean
    Are groups located in structures below the group base DN
    ldapGroupsAsRoles Boolean
    Denotes whether LDAP assigned roles are used as Nexus Repository Manager roles
    name String
    LDAP server name
    useTrustStore Boolean
    Whether to use certificates stored in Nexus Repository Manager's truststore
    userBaseDn String
    The relative DN where user objects are found (e.g. ou=people). This value will have the Search base DN value appended to form the full User search base DN.
    userEmailAddressAttribute String
    This is used to find an email address given the user ID
    userIdAttribute String
    This is used to find a user given its user ID
    userLdapFilter String
    LDAP search filter to limit user search
    userMemberOfAttribute String
    Set this to the attribute used to store the attribute which holds groups DN in the user object. Required if groupType is dynamic
    userObjectClass String
    LDAP class for user objects
    userPasswordAttribute String
    If this field is blank the user will be authenticated against a bind with the LDAP server
    userRealNameAttribute String
    This is used to find a real name given the user ID
    userSubtree Boolean
    Are users located in structures below the user base DN?

    Outputs

    All input properties are implicitly available as output properties. Additionally, the SecurityLdap 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 SecurityLdap Resource

    Get an existing SecurityLdap 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?: SecurityLdapState, opts?: CustomResourceOptions): SecurityLdap
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            auth_password: Optional[str] = None,
            auth_realm: Optional[str] = None,
            auth_schema: Optional[str] = None,
            auth_username: Optional[str] = None,
            connection_retry_delay_seconds: Optional[float] = None,
            connection_timeout_seconds: Optional[float] = None,
            group_base_dn: Optional[str] = None,
            group_id_attribute: Optional[str] = None,
            group_member_attribute: Optional[str] = None,
            group_member_format: Optional[str] = None,
            group_object_class: Optional[str] = None,
            group_subtree: Optional[bool] = None,
            group_type: Optional[str] = None,
            host: Optional[str] = None,
            ldap_groups_as_roles: Optional[bool] = None,
            max_incident_count: Optional[float] = None,
            name: Optional[str] = None,
            port: Optional[float] = None,
            protocol: Optional[str] = None,
            search_base: Optional[str] = None,
            use_trust_store: Optional[bool] = None,
            user_base_dn: Optional[str] = None,
            user_email_address_attribute: Optional[str] = None,
            user_id_attribute: Optional[str] = None,
            user_ldap_filter: Optional[str] = None,
            user_member_of_attribute: Optional[str] = None,
            user_object_class: Optional[str] = None,
            user_password_attribute: Optional[str] = None,
            user_real_name_attribute: Optional[str] = None,
            user_subtree: Optional[bool] = None) -> SecurityLdap
    func GetSecurityLdap(ctx *Context, name string, id IDInput, state *SecurityLdapState, opts ...ResourceOption) (*SecurityLdap, error)
    public static SecurityLdap Get(string name, Input<string> id, SecurityLdapState? state, CustomResourceOptions? opts = null)
    public static SecurityLdap get(String name, Output<String> id, SecurityLdapState state, CustomResourceOptions options)
    resources:  _:    type: nexus:SecurityLdap    get:      id: ${id}
    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.
    The following state arguments are supported:
    AuthPassword string
    The password to bind with. Required if authScheme other than none.
    AuthRealm string
    The SASL realm to bind to. Required if authScheme is CRAMMD5 or DIGESTMD5
    AuthSchema string
    Authentication scheme used for connecting to LDAP server
    AuthUsername string
    This must be a fully qualified username if simple authentication is used. Required if authScheme other than none.
    ConnectionRetryDelaySeconds double
    How long to wait before retrying
    ConnectionTimeoutSeconds double
    How long to wait before timeout
    GroupBaseDn string
    The relative DN where group objects are found (e.g. ou=Group). This value will have the Search base DN value appended to form the full Group search base DN.
    GroupIdAttribute string
    This field specifies the attribute of the Object class that defines the Group ID. Required if groupType is static
    GroupMemberAttribute string
    LDAP attribute containing the usernames for the group. Required if groupType is static
    GroupMemberFormat string
    The format of user ID stored in the group member attribute. Required if groupType is static
    GroupObjectClass string
    LDAP class for group objects. Required if groupType is static
    GroupSubtree bool
    Are groups located in structures below the group base DN
    GroupType string
    Defines a type of groups used: static (a group contains a list of users) or dynamic (a user contains a list of groups). Required if ldapGroupsAsRoles is true.
    Host string
    LDAP server connection hostname
    LdapGroupsAsRoles bool
    Denotes whether LDAP assigned roles are used as Nexus Repository Manager roles
    MaxIncidentCount double
    How many retry attempts
    Name string
    LDAP server name
    Port double
    LDAP server connection port to use
    Protocol string
    LDAP server connection Protocol to use
    SearchBase string
    LDAP location to be added to the connection URL
    UseTrustStore bool
    Whether to use certificates stored in Nexus Repository Manager's truststore
    UserBaseDn string
    The relative DN where user objects are found (e.g. ou=people). This value will have the Search base DN value appended to form the full User search base DN.
    UserEmailAddressAttribute string
    This is used to find an email address given the user ID
    UserIdAttribute string
    This is used to find a user given its user ID
    UserLdapFilter string
    LDAP search filter to limit user search
    UserMemberOfAttribute string
    Set this to the attribute used to store the attribute which holds groups DN in the user object. Required if groupType is dynamic
    UserObjectClass string
    LDAP class for user objects
    UserPasswordAttribute string
    If this field is blank the user will be authenticated against a bind with the LDAP server
    UserRealNameAttribute string
    This is used to find a real name given the user ID
    UserSubtree bool
    Are users located in structures below the user base DN?
    AuthPassword string
    The password to bind with. Required if authScheme other than none.
    AuthRealm string
    The SASL realm to bind to. Required if authScheme is CRAMMD5 or DIGESTMD5
    AuthSchema string
    Authentication scheme used for connecting to LDAP server
    AuthUsername string
    This must be a fully qualified username if simple authentication is used. Required if authScheme other than none.
    ConnectionRetryDelaySeconds float64
    How long to wait before retrying
    ConnectionTimeoutSeconds float64
    How long to wait before timeout
    GroupBaseDn string
    The relative DN where group objects are found (e.g. ou=Group). This value will have the Search base DN value appended to form the full Group search base DN.
    GroupIdAttribute string
    This field specifies the attribute of the Object class that defines the Group ID. Required if groupType is static
    GroupMemberAttribute string
    LDAP attribute containing the usernames for the group. Required if groupType is static
    GroupMemberFormat string
    The format of user ID stored in the group member attribute. Required if groupType is static
    GroupObjectClass string
    LDAP class for group objects. Required if groupType is static
    GroupSubtree bool
    Are groups located in structures below the group base DN
    GroupType string
    Defines a type of groups used: static (a group contains a list of users) or dynamic (a user contains a list of groups). Required if ldapGroupsAsRoles is true.
    Host string
    LDAP server connection hostname
    LdapGroupsAsRoles bool
    Denotes whether LDAP assigned roles are used as Nexus Repository Manager roles
    MaxIncidentCount float64
    How many retry attempts
    Name string
    LDAP server name
    Port float64
    LDAP server connection port to use
    Protocol string
    LDAP server connection Protocol to use
    SearchBase string
    LDAP location to be added to the connection URL
    UseTrustStore bool
    Whether to use certificates stored in Nexus Repository Manager's truststore
    UserBaseDn string
    The relative DN where user objects are found (e.g. ou=people). This value will have the Search base DN value appended to form the full User search base DN.
    UserEmailAddressAttribute string
    This is used to find an email address given the user ID
    UserIdAttribute string
    This is used to find a user given its user ID
    UserLdapFilter string
    LDAP search filter to limit user search
    UserMemberOfAttribute string
    Set this to the attribute used to store the attribute which holds groups DN in the user object. Required if groupType is dynamic
    UserObjectClass string
    LDAP class for user objects
    UserPasswordAttribute string
    If this field is blank the user will be authenticated against a bind with the LDAP server
    UserRealNameAttribute string
    This is used to find a real name given the user ID
    UserSubtree bool
    Are users located in structures below the user base DN?
    authPassword String
    The password to bind with. Required if authScheme other than none.
    authRealm String
    The SASL realm to bind to. Required if authScheme is CRAMMD5 or DIGESTMD5
    authSchema String
    Authentication scheme used for connecting to LDAP server
    authUsername String
    This must be a fully qualified username if simple authentication is used. Required if authScheme other than none.
    connectionRetryDelaySeconds Double
    How long to wait before retrying
    connectionTimeoutSeconds Double
    How long to wait before timeout
    groupBaseDn String
    The relative DN where group objects are found (e.g. ou=Group). This value will have the Search base DN value appended to form the full Group search base DN.
    groupIdAttribute String
    This field specifies the attribute of the Object class that defines the Group ID. Required if groupType is static
    groupMemberAttribute String
    LDAP attribute containing the usernames for the group. Required if groupType is static
    groupMemberFormat String
    The format of user ID stored in the group member attribute. Required if groupType is static
    groupObjectClass String
    LDAP class for group objects. Required if groupType is static
    groupSubtree Boolean
    Are groups located in structures below the group base DN
    groupType String
    Defines a type of groups used: static (a group contains a list of users) or dynamic (a user contains a list of groups). Required if ldapGroupsAsRoles is true.
    host String
    LDAP server connection hostname
    ldapGroupsAsRoles Boolean
    Denotes whether LDAP assigned roles are used as Nexus Repository Manager roles
    maxIncidentCount Double
    How many retry attempts
    name String
    LDAP server name
    port Double
    LDAP server connection port to use
    protocol String
    LDAP server connection Protocol to use
    searchBase String
    LDAP location to be added to the connection URL
    useTrustStore Boolean
    Whether to use certificates stored in Nexus Repository Manager's truststore
    userBaseDn String
    The relative DN where user objects are found (e.g. ou=people). This value will have the Search base DN value appended to form the full User search base DN.
    userEmailAddressAttribute String
    This is used to find an email address given the user ID
    userIdAttribute String
    This is used to find a user given its user ID
    userLdapFilter String
    LDAP search filter to limit user search
    userMemberOfAttribute String
    Set this to the attribute used to store the attribute which holds groups DN in the user object. Required if groupType is dynamic
    userObjectClass String
    LDAP class for user objects
    userPasswordAttribute String
    If this field is blank the user will be authenticated against a bind with the LDAP server
    userRealNameAttribute String
    This is used to find a real name given the user ID
    userSubtree Boolean
    Are users located in structures below the user base DN?
    authPassword string
    The password to bind with. Required if authScheme other than none.
    authRealm string
    The SASL realm to bind to. Required if authScheme is CRAMMD5 or DIGESTMD5
    authSchema string
    Authentication scheme used for connecting to LDAP server
    authUsername string
    This must be a fully qualified username if simple authentication is used. Required if authScheme other than none.
    connectionRetryDelaySeconds number
    How long to wait before retrying
    connectionTimeoutSeconds number
    How long to wait before timeout
    groupBaseDn string
    The relative DN where group objects are found (e.g. ou=Group). This value will have the Search base DN value appended to form the full Group search base DN.
    groupIdAttribute string
    This field specifies the attribute of the Object class that defines the Group ID. Required if groupType is static
    groupMemberAttribute string
    LDAP attribute containing the usernames for the group. Required if groupType is static
    groupMemberFormat string
    The format of user ID stored in the group member attribute. Required if groupType is static
    groupObjectClass string
    LDAP class for group objects. Required if groupType is static
    groupSubtree boolean
    Are groups located in structures below the group base DN
    groupType string
    Defines a type of groups used: static (a group contains a list of users) or dynamic (a user contains a list of groups). Required if ldapGroupsAsRoles is true.
    host string
    LDAP server connection hostname
    ldapGroupsAsRoles boolean
    Denotes whether LDAP assigned roles are used as Nexus Repository Manager roles
    maxIncidentCount number
    How many retry attempts
    name string
    LDAP server name
    port number
    LDAP server connection port to use
    protocol string
    LDAP server connection Protocol to use
    searchBase string
    LDAP location to be added to the connection URL
    useTrustStore boolean
    Whether to use certificates stored in Nexus Repository Manager's truststore
    userBaseDn string
    The relative DN where user objects are found (e.g. ou=people). This value will have the Search base DN value appended to form the full User search base DN.
    userEmailAddressAttribute string
    This is used to find an email address given the user ID
    userIdAttribute string
    This is used to find a user given its user ID
    userLdapFilter string
    LDAP search filter to limit user search
    userMemberOfAttribute string
    Set this to the attribute used to store the attribute which holds groups DN in the user object. Required if groupType is dynamic
    userObjectClass string
    LDAP class for user objects
    userPasswordAttribute string
    If this field is blank the user will be authenticated against a bind with the LDAP server
    userRealNameAttribute string
    This is used to find a real name given the user ID
    userSubtree boolean
    Are users located in structures below the user base DN?
    auth_password str
    The password to bind with. Required if authScheme other than none.
    auth_realm str
    The SASL realm to bind to. Required if authScheme is CRAMMD5 or DIGESTMD5
    auth_schema str
    Authentication scheme used for connecting to LDAP server
    auth_username str
    This must be a fully qualified username if simple authentication is used. Required if authScheme other than none.
    connection_retry_delay_seconds float
    How long to wait before retrying
    connection_timeout_seconds float
    How long to wait before timeout
    group_base_dn str
    The relative DN where group objects are found (e.g. ou=Group). This value will have the Search base DN value appended to form the full Group search base DN.
    group_id_attribute str
    This field specifies the attribute of the Object class that defines the Group ID. Required if groupType is static
    group_member_attribute str
    LDAP attribute containing the usernames for the group. Required if groupType is static
    group_member_format str
    The format of user ID stored in the group member attribute. Required if groupType is static
    group_object_class str
    LDAP class for group objects. Required if groupType is static
    group_subtree bool
    Are groups located in structures below the group base DN
    group_type str
    Defines a type of groups used: static (a group contains a list of users) or dynamic (a user contains a list of groups). Required if ldapGroupsAsRoles is true.
    host str
    LDAP server connection hostname
    ldap_groups_as_roles bool
    Denotes whether LDAP assigned roles are used as Nexus Repository Manager roles
    max_incident_count float
    How many retry attempts
    name str
    LDAP server name
    port float
    LDAP server connection port to use
    protocol str
    LDAP server connection Protocol to use
    search_base str
    LDAP location to be added to the connection URL
    use_trust_store bool
    Whether to use certificates stored in Nexus Repository Manager's truststore
    user_base_dn str
    The relative DN where user objects are found (e.g. ou=people). This value will have the Search base DN value appended to form the full User search base DN.
    user_email_address_attribute str
    This is used to find an email address given the user ID
    user_id_attribute str
    This is used to find a user given its user ID
    user_ldap_filter str
    LDAP search filter to limit user search
    user_member_of_attribute str
    Set this to the attribute used to store the attribute which holds groups DN in the user object. Required if groupType is dynamic
    user_object_class str
    LDAP class for user objects
    user_password_attribute str
    If this field is blank the user will be authenticated against a bind with the LDAP server
    user_real_name_attribute str
    This is used to find a real name given the user ID
    user_subtree bool
    Are users located in structures below the user base DN?
    authPassword String
    The password to bind with. Required if authScheme other than none.
    authRealm String
    The SASL realm to bind to. Required if authScheme is CRAMMD5 or DIGESTMD5
    authSchema String
    Authentication scheme used for connecting to LDAP server
    authUsername String
    This must be a fully qualified username if simple authentication is used. Required if authScheme other than none.
    connectionRetryDelaySeconds Number
    How long to wait before retrying
    connectionTimeoutSeconds Number
    How long to wait before timeout
    groupBaseDn String
    The relative DN where group objects are found (e.g. ou=Group). This value will have the Search base DN value appended to form the full Group search base DN.
    groupIdAttribute String
    This field specifies the attribute of the Object class that defines the Group ID. Required if groupType is static
    groupMemberAttribute String
    LDAP attribute containing the usernames for the group. Required if groupType is static
    groupMemberFormat String
    The format of user ID stored in the group member attribute. Required if groupType is static
    groupObjectClass String
    LDAP class for group objects. Required if groupType is static
    groupSubtree Boolean
    Are groups located in structures below the group base DN
    groupType String
    Defines a type of groups used: static (a group contains a list of users) or dynamic (a user contains a list of groups). Required if ldapGroupsAsRoles is true.
    host String
    LDAP server connection hostname
    ldapGroupsAsRoles Boolean
    Denotes whether LDAP assigned roles are used as Nexus Repository Manager roles
    maxIncidentCount Number
    How many retry attempts
    name String
    LDAP server name
    port Number
    LDAP server connection port to use
    protocol String
    LDAP server connection Protocol to use
    searchBase String
    LDAP location to be added to the connection URL
    useTrustStore Boolean
    Whether to use certificates stored in Nexus Repository Manager's truststore
    userBaseDn String
    The relative DN where user objects are found (e.g. ou=people). This value will have the Search base DN value appended to form the full User search base DN.
    userEmailAddressAttribute String
    This is used to find an email address given the user ID
    userIdAttribute String
    This is used to find a user given its user ID
    userLdapFilter String
    LDAP search filter to limit user search
    userMemberOfAttribute String
    Set this to the attribute used to store the attribute which holds groups DN in the user object. Required if groupType is dynamic
    userObjectClass String
    LDAP class for user objects
    userPasswordAttribute String
    If this field is blank the user will be authenticated against a bind with the LDAP server
    userRealNameAttribute String
    This is used to find a real name given the user ID
    userSubtree Boolean
    Are users located in structures below the user base DN?

    Import

    import using the name of ldap configuration

    $ pulumi import nexus:index/securityLdap:SecurityLdap example example-ldap
    

    To learn more about importing existing cloud resources, see Importing resources.

    Package Details

    Repository
    nexus datadrivers/terraform-provider-nexus
    License
    Notes
    This Pulumi package is based on the nexus Terraform Provider.
    nexus logo
    nexus 2.5.0 published on Monday, Apr 14, 2025 by datadrivers