nsxt.PolicyLdapIdentitySource
Explore with Pulumi AI
Create PolicyLdapIdentitySource Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new PolicyLdapIdentitySource(name: string, args: PolicyLdapIdentitySourceArgs, opts?: CustomResourceOptions);
@overload
def PolicyLdapIdentitySource(resource_name: str,
args: PolicyLdapIdentitySourceArgs,
opts: Optional[ResourceOptions] = None)
@overload
def PolicyLdapIdentitySource(resource_name: str,
opts: Optional[ResourceOptions] = None,
base_dn: Optional[str] = None,
domain_name: Optional[str] = None,
ldap_server: Optional[PolicyLdapIdentitySourceLdapServerArgs] = None,
nsx_id: Optional[str] = None,
type: Optional[str] = None,
alternative_domain_names: Optional[Sequence[str]] = None,
description: Optional[str] = None,
policy_ldap_identity_source_id: Optional[str] = None,
tags: Optional[Sequence[PolicyLdapIdentitySourceTagArgs]] = None)
func NewPolicyLdapIdentitySource(ctx *Context, name string, args PolicyLdapIdentitySourceArgs, opts ...ResourceOption) (*PolicyLdapIdentitySource, error)
public PolicyLdapIdentitySource(string name, PolicyLdapIdentitySourceArgs args, CustomResourceOptions? opts = null)
public PolicyLdapIdentitySource(String name, PolicyLdapIdentitySourceArgs args)
public PolicyLdapIdentitySource(String name, PolicyLdapIdentitySourceArgs args, CustomResourceOptions options)
type: nsxt:PolicyLdapIdentitySource
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 PolicyLdapIdentitySourceArgs
- 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 PolicyLdapIdentitySourceArgs
- 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 PolicyLdapIdentitySourceArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args PolicyLdapIdentitySourceArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args PolicyLdapIdentitySourceArgs
- 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 policyLdapIdentitySourceResource = new Nsxt.PolicyLdapIdentitySource("policyLdapIdentitySourceResource", new()
{
BaseDn = "string",
DomainName = "string",
LdapServer = new Nsxt.Inputs.PolicyLdapIdentitySourceLdapServerArgs
{
Url = "string",
BindIdentity = "string",
Certificates = new[]
{
"string",
},
Enabled = false,
Password = "string",
UseStarttls = false,
},
NsxId = "string",
Type = "string",
AlternativeDomainNames = new[]
{
"string",
},
Description = "string",
PolicyLdapIdentitySourceId = "string",
Tags = new[]
{
new Nsxt.Inputs.PolicyLdapIdentitySourceTagArgs
{
Scope = "string",
Tag = "string",
},
},
});
example, err := nsxt.NewPolicyLdapIdentitySource(ctx, "policyLdapIdentitySourceResource", &nsxt.PolicyLdapIdentitySourceArgs{
BaseDn: pulumi.String("string"),
DomainName: pulumi.String("string"),
LdapServer: &nsxt.PolicyLdapIdentitySourceLdapServerArgs{
Url: pulumi.String("string"),
BindIdentity: pulumi.String("string"),
Certificates: pulumi.StringArray{
pulumi.String("string"),
},
Enabled: pulumi.Bool(false),
Password: pulumi.String("string"),
UseStarttls: pulumi.Bool(false),
},
NsxId: pulumi.String("string"),
Type: pulumi.String("string"),
AlternativeDomainNames: pulumi.StringArray{
pulumi.String("string"),
},
Description: pulumi.String("string"),
PolicyLdapIdentitySourceId: pulumi.String("string"),
Tags: nsxt.PolicyLdapIdentitySourceTagArray{
&nsxt.PolicyLdapIdentitySourceTagArgs{
Scope: pulumi.String("string"),
Tag: pulumi.String("string"),
},
},
})
var policyLdapIdentitySourceResource = new PolicyLdapIdentitySource("policyLdapIdentitySourceResource", PolicyLdapIdentitySourceArgs.builder()
.baseDn("string")
.domainName("string")
.ldapServer(PolicyLdapIdentitySourceLdapServerArgs.builder()
.url("string")
.bindIdentity("string")
.certificates("string")
.enabled(false)
.password("string")
.useStarttls(false)
.build())
.nsxId("string")
.type("string")
.alternativeDomainNames("string")
.description("string")
.policyLdapIdentitySourceId("string")
.tags(PolicyLdapIdentitySourceTagArgs.builder()
.scope("string")
.tag("string")
.build())
.build());
policy_ldap_identity_source_resource = nsxt.PolicyLdapIdentitySource("policyLdapIdentitySourceResource",
base_dn="string",
domain_name="string",
ldap_server={
"url": "string",
"bind_identity": "string",
"certificates": ["string"],
"enabled": False,
"password": "string",
"use_starttls": False,
},
nsx_id="string",
type="string",
alternative_domain_names=["string"],
description="string",
policy_ldap_identity_source_id="string",
tags=[{
"scope": "string",
"tag": "string",
}])
const policyLdapIdentitySourceResource = new nsxt.PolicyLdapIdentitySource("policyLdapIdentitySourceResource", {
baseDn: "string",
domainName: "string",
ldapServer: {
url: "string",
bindIdentity: "string",
certificates: ["string"],
enabled: false,
password: "string",
useStarttls: false,
},
nsxId: "string",
type: "string",
alternativeDomainNames: ["string"],
description: "string",
policyLdapIdentitySourceId: "string",
tags: [{
scope: "string",
tag: "string",
}],
});
type: nsxt:PolicyLdapIdentitySource
properties:
alternativeDomainNames:
- string
baseDn: string
description: string
domainName: string
ldapServer:
bindIdentity: string
certificates:
- string
enabled: false
password: string
url: string
useStarttls: false
nsxId: string
policyLdapIdentitySourceId: string
tags:
- scope: string
tag: string
type: string
PolicyLdapIdentitySource 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 PolicyLdapIdentitySource resource accepts the following input properties:
- Base
Dn string - DN of subtree for user and group searches.
- Domain
Name string - Authentication domain name. This is the name of the authentication domain. When users log into NSX using an identity of the form "user@domain", NSX uses the domain portion to determine which LDAP identity source to use.
- Ldap
Server PolicyLdap Identity Source Ldap Server - List of LDAP servers that provide LDAP service for this identity source. Currently, only one LDAP server is supported.
- Nsx
Id string - The NSX ID of this resource.
- Type string
- Indicates the type of the LDAP identity source. Valid values are
ActiveDirectory
,OpenLdap
. - Alternative
Domain List<string>Names - Additional domains to be directed to this identity source. After parsing the "user@domain", the domain portion is used to select the LDAP identity source to use. Additional domains listed here will also be directed to this LDAP identity source. In Active Directory these are sometimes referred to as Alternative UPN Suffixes.
- Description string
- Description of the resource.
- Policy
Ldap stringIdentity Source Id - ID of the resource.
- List<Policy
Ldap Identity Source Tag> - A list of scope + tag pairs to associate with this resource.
- Base
Dn string - DN of subtree for user and group searches.
- Domain
Name string - Authentication domain name. This is the name of the authentication domain. When users log into NSX using an identity of the form "user@domain", NSX uses the domain portion to determine which LDAP identity source to use.
- Ldap
Server PolicyLdap Identity Source Ldap Server Args - List of LDAP servers that provide LDAP service for this identity source. Currently, only one LDAP server is supported.
- Nsx
Id string - The NSX ID of this resource.
- Type string
- Indicates the type of the LDAP identity source. Valid values are
ActiveDirectory
,OpenLdap
. - Alternative
Domain []stringNames - Additional domains to be directed to this identity source. After parsing the "user@domain", the domain portion is used to select the LDAP identity source to use. Additional domains listed here will also be directed to this LDAP identity source. In Active Directory these are sometimes referred to as Alternative UPN Suffixes.
- Description string
- Description of the resource.
- Policy
Ldap stringIdentity Source Id - ID of the resource.
- []Policy
Ldap Identity Source Tag Args - A list of scope + tag pairs to associate with this resource.
- base
Dn String - DN of subtree for user and group searches.
- domain
Name String - Authentication domain name. This is the name of the authentication domain. When users log into NSX using an identity of the form "user@domain", NSX uses the domain portion to determine which LDAP identity source to use.
- ldap
Server PolicyLdap Identity Source Ldap Server - List of LDAP servers that provide LDAP service for this identity source. Currently, only one LDAP server is supported.
- nsx
Id String - The NSX ID of this resource.
- type String
- Indicates the type of the LDAP identity source. Valid values are
ActiveDirectory
,OpenLdap
. - alternative
Domain List<String>Names - Additional domains to be directed to this identity source. After parsing the "user@domain", the domain portion is used to select the LDAP identity source to use. Additional domains listed here will also be directed to this LDAP identity source. In Active Directory these are sometimes referred to as Alternative UPN Suffixes.
- description String
- Description of the resource.
- policy
Ldap StringIdentity Source Id - ID of the resource.
- List<Policy
Ldap Identity Source Tag> - A list of scope + tag pairs to associate with this resource.
- base
Dn string - DN of subtree for user and group searches.
- domain
Name string - Authentication domain name. This is the name of the authentication domain. When users log into NSX using an identity of the form "user@domain", NSX uses the domain portion to determine which LDAP identity source to use.
- ldap
Server PolicyLdap Identity Source Ldap Server - List of LDAP servers that provide LDAP service for this identity source. Currently, only one LDAP server is supported.
- nsx
Id string - The NSX ID of this resource.
- type string
- Indicates the type of the LDAP identity source. Valid values are
ActiveDirectory
,OpenLdap
. - alternative
Domain string[]Names - Additional domains to be directed to this identity source. After parsing the "user@domain", the domain portion is used to select the LDAP identity source to use. Additional domains listed here will also be directed to this LDAP identity source. In Active Directory these are sometimes referred to as Alternative UPN Suffixes.
- description string
- Description of the resource.
- policy
Ldap stringIdentity Source Id - ID of the resource.
- Policy
Ldap Identity Source Tag[] - A list of scope + tag pairs to associate with this resource.
- base_
dn str - DN of subtree for user and group searches.
- domain_
name str - Authentication domain name. This is the name of the authentication domain. When users log into NSX using an identity of the form "user@domain", NSX uses the domain portion to determine which LDAP identity source to use.
- ldap_
server PolicyLdap Identity Source Ldap Server Args - List of LDAP servers that provide LDAP service for this identity source. Currently, only one LDAP server is supported.
- nsx_
id str - The NSX ID of this resource.
- type str
- Indicates the type of the LDAP identity source. Valid values are
ActiveDirectory
,OpenLdap
. - alternative_
domain_ Sequence[str]names - Additional domains to be directed to this identity source. After parsing the "user@domain", the domain portion is used to select the LDAP identity source to use. Additional domains listed here will also be directed to this LDAP identity source. In Active Directory these are sometimes referred to as Alternative UPN Suffixes.
- description str
- Description of the resource.
- policy_
ldap_ stridentity_ source_ id - ID of the resource.
- Sequence[Policy
Ldap Identity Source Tag Args] - A list of scope + tag pairs to associate with this resource.
- base
Dn String - DN of subtree for user and group searches.
- domain
Name String - Authentication domain name. This is the name of the authentication domain. When users log into NSX using an identity of the form "user@domain", NSX uses the domain portion to determine which LDAP identity source to use.
- ldap
Server Property Map - List of LDAP servers that provide LDAP service for this identity source. Currently, only one LDAP server is supported.
- nsx
Id String - The NSX ID of this resource.
- type String
- Indicates the type of the LDAP identity source. Valid values are
ActiveDirectory
,OpenLdap
. - alternative
Domain List<String>Names - Additional domains to be directed to this identity source. After parsing the "user@domain", the domain portion is used to select the LDAP identity source to use. Additional domains listed here will also be directed to this LDAP identity source. In Active Directory these are sometimes referred to as Alternative UPN Suffixes.
- description String
- Description of the resource.
- policy
Ldap StringIdentity Source Id - ID of the resource.
- List<Property Map>
- A list of scope + tag pairs to associate with this resource.
Outputs
All input properties are implicitly available as output properties. Additionally, the PolicyLdapIdentitySource resource produces the following output properties:
Look up Existing PolicyLdapIdentitySource Resource
Get an existing PolicyLdapIdentitySource 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?: PolicyLdapIdentitySourceState, opts?: CustomResourceOptions): PolicyLdapIdentitySource
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
alternative_domain_names: Optional[Sequence[str]] = None,
base_dn: Optional[str] = None,
description: Optional[str] = None,
domain_name: Optional[str] = None,
ldap_server: Optional[PolicyLdapIdentitySourceLdapServerArgs] = None,
nsx_id: Optional[str] = None,
policy_ldap_identity_source_id: Optional[str] = None,
revision: Optional[float] = None,
tags: Optional[Sequence[PolicyLdapIdentitySourceTagArgs]] = None,
type: Optional[str] = None) -> PolicyLdapIdentitySource
func GetPolicyLdapIdentitySource(ctx *Context, name string, id IDInput, state *PolicyLdapIdentitySourceState, opts ...ResourceOption) (*PolicyLdapIdentitySource, error)
public static PolicyLdapIdentitySource Get(string name, Input<string> id, PolicyLdapIdentitySourceState? state, CustomResourceOptions? opts = null)
public static PolicyLdapIdentitySource get(String name, Output<String> id, PolicyLdapIdentitySourceState state, CustomResourceOptions options)
resources: _: type: nsxt:PolicyLdapIdentitySource 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.
- Alternative
Domain List<string>Names - Additional domains to be directed to this identity source. After parsing the "user@domain", the domain portion is used to select the LDAP identity source to use. Additional domains listed here will also be directed to this LDAP identity source. In Active Directory these are sometimes referred to as Alternative UPN Suffixes.
- Base
Dn string - DN of subtree for user and group searches.
- Description string
- Description of the resource.
- Domain
Name string - Authentication domain name. This is the name of the authentication domain. When users log into NSX using an identity of the form "user@domain", NSX uses the domain portion to determine which LDAP identity source to use.
- Ldap
Server PolicyLdap Identity Source Ldap Server - List of LDAP servers that provide LDAP service for this identity source. Currently, only one LDAP server is supported.
- Nsx
Id string - The NSX ID of this resource.
- Policy
Ldap stringIdentity Source Id - ID of the resource.
- Revision double
- Indicates current revision number of the object as seen by NSX-T API server. This attribute can be useful for debugging.
- List<Policy
Ldap Identity Source Tag> - A list of scope + tag pairs to associate with this resource.
- Type string
- Indicates the type of the LDAP identity source. Valid values are
ActiveDirectory
,OpenLdap
.
- Alternative
Domain []stringNames - Additional domains to be directed to this identity source. After parsing the "user@domain", the domain portion is used to select the LDAP identity source to use. Additional domains listed here will also be directed to this LDAP identity source. In Active Directory these are sometimes referred to as Alternative UPN Suffixes.
- Base
Dn string - DN of subtree for user and group searches.
- Description string
- Description of the resource.
- Domain
Name string - Authentication domain name. This is the name of the authentication domain. When users log into NSX using an identity of the form "user@domain", NSX uses the domain portion to determine which LDAP identity source to use.
- Ldap
Server PolicyLdap Identity Source Ldap Server Args - List of LDAP servers that provide LDAP service for this identity source. Currently, only one LDAP server is supported.
- Nsx
Id string - The NSX ID of this resource.
- Policy
Ldap stringIdentity Source Id - ID of the resource.
- Revision float64
- Indicates current revision number of the object as seen by NSX-T API server. This attribute can be useful for debugging.
- []Policy
Ldap Identity Source Tag Args - A list of scope + tag pairs to associate with this resource.
- Type string
- Indicates the type of the LDAP identity source. Valid values are
ActiveDirectory
,OpenLdap
.
- alternative
Domain List<String>Names - Additional domains to be directed to this identity source. After parsing the "user@domain", the domain portion is used to select the LDAP identity source to use. Additional domains listed here will also be directed to this LDAP identity source. In Active Directory these are sometimes referred to as Alternative UPN Suffixes.
- base
Dn String - DN of subtree for user and group searches.
- description String
- Description of the resource.
- domain
Name String - Authentication domain name. This is the name of the authentication domain. When users log into NSX using an identity of the form "user@domain", NSX uses the domain portion to determine which LDAP identity source to use.
- ldap
Server PolicyLdap Identity Source Ldap Server - List of LDAP servers that provide LDAP service for this identity source. Currently, only one LDAP server is supported.
- nsx
Id String - The NSX ID of this resource.
- policy
Ldap StringIdentity Source Id - ID of the resource.
- revision Double
- Indicates current revision number of the object as seen by NSX-T API server. This attribute can be useful for debugging.
- List<Policy
Ldap Identity Source Tag> - A list of scope + tag pairs to associate with this resource.
- type String
- Indicates the type of the LDAP identity source. Valid values are
ActiveDirectory
,OpenLdap
.
- alternative
Domain string[]Names - Additional domains to be directed to this identity source. After parsing the "user@domain", the domain portion is used to select the LDAP identity source to use. Additional domains listed here will also be directed to this LDAP identity source. In Active Directory these are sometimes referred to as Alternative UPN Suffixes.
- base
Dn string - DN of subtree for user and group searches.
- description string
- Description of the resource.
- domain
Name string - Authentication domain name. This is the name of the authentication domain. When users log into NSX using an identity of the form "user@domain", NSX uses the domain portion to determine which LDAP identity source to use.
- ldap
Server PolicyLdap Identity Source Ldap Server - List of LDAP servers that provide LDAP service for this identity source. Currently, only one LDAP server is supported.
- nsx
Id string - The NSX ID of this resource.
- policy
Ldap stringIdentity Source Id - ID of the resource.
- revision number
- Indicates current revision number of the object as seen by NSX-T API server. This attribute can be useful for debugging.
- Policy
Ldap Identity Source Tag[] - A list of scope + tag pairs to associate with this resource.
- type string
- Indicates the type of the LDAP identity source. Valid values are
ActiveDirectory
,OpenLdap
.
- alternative_
domain_ Sequence[str]names - Additional domains to be directed to this identity source. After parsing the "user@domain", the domain portion is used to select the LDAP identity source to use. Additional domains listed here will also be directed to this LDAP identity source. In Active Directory these are sometimes referred to as Alternative UPN Suffixes.
- base_
dn str - DN of subtree for user and group searches.
- description str
- Description of the resource.
- domain_
name str - Authentication domain name. This is the name of the authentication domain. When users log into NSX using an identity of the form "user@domain", NSX uses the domain portion to determine which LDAP identity source to use.
- ldap_
server PolicyLdap Identity Source Ldap Server Args - List of LDAP servers that provide LDAP service for this identity source. Currently, only one LDAP server is supported.
- nsx_
id str - The NSX ID of this resource.
- policy_
ldap_ stridentity_ source_ id - ID of the resource.
- revision float
- Indicates current revision number of the object as seen by NSX-T API server. This attribute can be useful for debugging.
- Sequence[Policy
Ldap Identity Source Tag Args] - A list of scope + tag pairs to associate with this resource.
- type str
- Indicates the type of the LDAP identity source. Valid values are
ActiveDirectory
,OpenLdap
.
- alternative
Domain List<String>Names - Additional domains to be directed to this identity source. After parsing the "user@domain", the domain portion is used to select the LDAP identity source to use. Additional domains listed here will also be directed to this LDAP identity source. In Active Directory these are sometimes referred to as Alternative UPN Suffixes.
- base
Dn String - DN of subtree for user and group searches.
- description String
- Description of the resource.
- domain
Name String - Authentication domain name. This is the name of the authentication domain. When users log into NSX using an identity of the form "user@domain", NSX uses the domain portion to determine which LDAP identity source to use.
- ldap
Server Property Map - List of LDAP servers that provide LDAP service for this identity source. Currently, only one LDAP server is supported.
- nsx
Id String - The NSX ID of this resource.
- policy
Ldap StringIdentity Source Id - ID of the resource.
- revision Number
- Indicates current revision number of the object as seen by NSX-T API server. This attribute can be useful for debugging.
- List<Property Map>
- A list of scope + tag pairs to associate with this resource.
- type String
- Indicates the type of the LDAP identity source. Valid values are
ActiveDirectory
,OpenLdap
.
Supporting Types
PolicyLdapIdentitySourceLdapServer, PolicyLdapIdentitySourceLdapServerArgs
- Url string
- The URL for the LDAP server. Supported URL schemes are LDAP and LDAPS. Either a hostname or an IP address may be given, and the port number is optional and defaults to 389 for the LDAP scheme and 636 for the LDAPS scheme.
- Bind
Identity string - Username or DN for LDAP authentication.This user should have privileges to search the LDAP directory for groups and users. This user is also used in some cases (OpenLDAP) to look up an NSX user's distinguished name based on their NSX login name. If omitted, NSX will authenticate to the LDAP server using an LDAP anonymous bind operation. For Active Directory, provide a userPrincipalName (e.g. administrator@airius.com) or the full distinguished nane. For OpenLDAP, provide the distinguished name of the user (e.g. uid=admin, cn=airius, dc=com).
- Certificates List<string>
- TLS certificate(s) for LDAP server(s). If using LDAPS or STARTTLS, provide the X.509 certificate of the LDAP server in PEM format. This property is not required when connecting without TLS encryption and is ignored in that case.
- Enabled bool
- Allows the LDAP server to be enabled or disabled. When disabled, this LDAP server will not be used to authenticate users. Default value is
ture
. - Password string
- A password used when authenticating to the directory.
- Use
Starttls bool - If set to true, Use the StartTLS extended operation to upgrade the connection to TLS before sending any sensitive information. The LDAP server must support the StartTLS extended operation in order for this protocol to operate correctly. This option is ignored if the URL scheme is LDAPS.
- Url string
- The URL for the LDAP server. Supported URL schemes are LDAP and LDAPS. Either a hostname or an IP address may be given, and the port number is optional and defaults to 389 for the LDAP scheme and 636 for the LDAPS scheme.
- Bind
Identity string - Username or DN for LDAP authentication.This user should have privileges to search the LDAP directory for groups and users. This user is also used in some cases (OpenLDAP) to look up an NSX user's distinguished name based on their NSX login name. If omitted, NSX will authenticate to the LDAP server using an LDAP anonymous bind operation. For Active Directory, provide a userPrincipalName (e.g. administrator@airius.com) or the full distinguished nane. For OpenLDAP, provide the distinguished name of the user (e.g. uid=admin, cn=airius, dc=com).
- Certificates []string
- TLS certificate(s) for LDAP server(s). If using LDAPS or STARTTLS, provide the X.509 certificate of the LDAP server in PEM format. This property is not required when connecting without TLS encryption and is ignored in that case.
- Enabled bool
- Allows the LDAP server to be enabled or disabled. When disabled, this LDAP server will not be used to authenticate users. Default value is
ture
. - Password string
- A password used when authenticating to the directory.
- Use
Starttls bool - If set to true, Use the StartTLS extended operation to upgrade the connection to TLS before sending any sensitive information. The LDAP server must support the StartTLS extended operation in order for this protocol to operate correctly. This option is ignored if the URL scheme is LDAPS.
- url String
- The URL for the LDAP server. Supported URL schemes are LDAP and LDAPS. Either a hostname or an IP address may be given, and the port number is optional and defaults to 389 for the LDAP scheme and 636 for the LDAPS scheme.
- bind
Identity String - Username or DN for LDAP authentication.This user should have privileges to search the LDAP directory for groups and users. This user is also used in some cases (OpenLDAP) to look up an NSX user's distinguished name based on their NSX login name. If omitted, NSX will authenticate to the LDAP server using an LDAP anonymous bind operation. For Active Directory, provide a userPrincipalName (e.g. administrator@airius.com) or the full distinguished nane. For OpenLDAP, provide the distinguished name of the user (e.g. uid=admin, cn=airius, dc=com).
- certificates List<String>
- TLS certificate(s) for LDAP server(s). If using LDAPS or STARTTLS, provide the X.509 certificate of the LDAP server in PEM format. This property is not required when connecting without TLS encryption and is ignored in that case.
- enabled Boolean
- Allows the LDAP server to be enabled or disabled. When disabled, this LDAP server will not be used to authenticate users. Default value is
ture
. - password String
- A password used when authenticating to the directory.
- use
Starttls Boolean - If set to true, Use the StartTLS extended operation to upgrade the connection to TLS before sending any sensitive information. The LDAP server must support the StartTLS extended operation in order for this protocol to operate correctly. This option is ignored if the URL scheme is LDAPS.
- url string
- The URL for the LDAP server. Supported URL schemes are LDAP and LDAPS. Either a hostname or an IP address may be given, and the port number is optional and defaults to 389 for the LDAP scheme and 636 for the LDAPS scheme.
- bind
Identity string - Username or DN for LDAP authentication.This user should have privileges to search the LDAP directory for groups and users. This user is also used in some cases (OpenLDAP) to look up an NSX user's distinguished name based on their NSX login name. If omitted, NSX will authenticate to the LDAP server using an LDAP anonymous bind operation. For Active Directory, provide a userPrincipalName (e.g. administrator@airius.com) or the full distinguished nane. For OpenLDAP, provide the distinguished name of the user (e.g. uid=admin, cn=airius, dc=com).
- certificates string[]
- TLS certificate(s) for LDAP server(s). If using LDAPS or STARTTLS, provide the X.509 certificate of the LDAP server in PEM format. This property is not required when connecting without TLS encryption and is ignored in that case.
- enabled boolean
- Allows the LDAP server to be enabled or disabled. When disabled, this LDAP server will not be used to authenticate users. Default value is
ture
. - password string
- A password used when authenticating to the directory.
- use
Starttls boolean - If set to true, Use the StartTLS extended operation to upgrade the connection to TLS before sending any sensitive information. The LDAP server must support the StartTLS extended operation in order for this protocol to operate correctly. This option is ignored if the URL scheme is LDAPS.
- url str
- The URL for the LDAP server. Supported URL schemes are LDAP and LDAPS. Either a hostname or an IP address may be given, and the port number is optional and defaults to 389 for the LDAP scheme and 636 for the LDAPS scheme.
- bind_
identity str - Username or DN for LDAP authentication.This user should have privileges to search the LDAP directory for groups and users. This user is also used in some cases (OpenLDAP) to look up an NSX user's distinguished name based on their NSX login name. If omitted, NSX will authenticate to the LDAP server using an LDAP anonymous bind operation. For Active Directory, provide a userPrincipalName (e.g. administrator@airius.com) or the full distinguished nane. For OpenLDAP, provide the distinguished name of the user (e.g. uid=admin, cn=airius, dc=com).
- certificates Sequence[str]
- TLS certificate(s) for LDAP server(s). If using LDAPS or STARTTLS, provide the X.509 certificate of the LDAP server in PEM format. This property is not required when connecting without TLS encryption and is ignored in that case.
- enabled bool
- Allows the LDAP server to be enabled or disabled. When disabled, this LDAP server will not be used to authenticate users. Default value is
ture
. - password str
- A password used when authenticating to the directory.
- use_
starttls bool - If set to true, Use the StartTLS extended operation to upgrade the connection to TLS before sending any sensitive information. The LDAP server must support the StartTLS extended operation in order for this protocol to operate correctly. This option is ignored if the URL scheme is LDAPS.
- url String
- The URL for the LDAP server. Supported URL schemes are LDAP and LDAPS. Either a hostname or an IP address may be given, and the port number is optional and defaults to 389 for the LDAP scheme and 636 for the LDAPS scheme.
- bind
Identity String - Username or DN for LDAP authentication.This user should have privileges to search the LDAP directory for groups and users. This user is also used in some cases (OpenLDAP) to look up an NSX user's distinguished name based on their NSX login name. If omitted, NSX will authenticate to the LDAP server using an LDAP anonymous bind operation. For Active Directory, provide a userPrincipalName (e.g. administrator@airius.com) or the full distinguished nane. For OpenLDAP, provide the distinguished name of the user (e.g. uid=admin, cn=airius, dc=com).
- certificates List<String>
- TLS certificate(s) for LDAP server(s). If using LDAPS or STARTTLS, provide the X.509 certificate of the LDAP server in PEM format. This property is not required when connecting without TLS encryption and is ignored in that case.
- enabled Boolean
- Allows the LDAP server to be enabled or disabled. When disabled, this LDAP server will not be used to authenticate users. Default value is
ture
. - password String
- A password used when authenticating to the directory.
- use
Starttls Boolean - If set to true, Use the StartTLS extended operation to upgrade the connection to TLS before sending any sensitive information. The LDAP server must support the StartTLS extended operation in order for this protocol to operate correctly. This option is ignored if the URL scheme is LDAPS.
PolicyLdapIdentitySourceTag, PolicyLdapIdentitySourceTagArgs
Package Details
- Repository
- nsxt vmware/terraform-provider-nsxt
- License
- Notes
- This Pulumi package is based on the
nsxt
Terraform Provider.