nsx_ldap¶
NSX Management API — LDAP identity sources (/api/v1/aaa/ldap/identity-sources).
Configures an external LDAP/Active-Directory identity source NSX Manager
authenticates users against — distinct from nsx_role_binding (which
assigns a role to a principal already known to NSX, not a directory source).
Field names below (ldap_servers, base_dn) follow the standard NSX-T
shape but haven’t been exercised against a live NSX Manager — verify
against your version before real use.
- saltext.vcf.clients.nsx_ldap.create(opts, name, ldap_servers, base_dn, profile=None, **spec)[source]¶
Create an LDAP identity source named name.
ldap_servers is a list of dicts like
[{"url": "ldaps://ldap.corp.example.test:636", "bind_identity": "...", "password": "...", "use_starttls": False}]. base_dn scopes the directory search. Extra fields (identity_source_type,domain_name, …) pass through via spec. The id is server-generated; there’s no named-resource PUT for this endpoint.