Policy > Security > East West Security > Distributed Firewall > Settings > Firewall Identity Store

Create or update a firewall identity store

If a firewall identity store with the firewall-identity-store-id
is not already present, create a new firewall identity store. If it
already exists, replace the firewall identity store instance with
the new object.
This API is available when using VMware Cloud (AWS, Dell-EMC, Outpost, Hyperscalers) or VMware NSX-T.

Request:

Method:
PUT
URI Path(s):
/policy/api/v1/infra/firewall-identity-stores/<firewall-identity-store-id>
Request Headers:
n/a
Query Parameters:
PolicyIdfwEnforcementPointRequestParameters+
Request Body:
DirectoryAdDomain+

Example Request:

PUT https://<nsx-mgr>/policy/api/v1/infra/firewall-identity-stores/idstore-1 { "name": "nimbustest1.com", "base_distinguished_name": "DC=nimbustest1,DC=com", "netbios_name": "NIMBUSTEST1", "description": "Active directory domain nimbustest.com", "display_name": "NIMBUS TEST", "ldap_servers": [ { "username": "dummy", "password": "xxxxxx", "display_name": "nimbus ldap", "host": "10.198.41.44", "thumbprint": "3b1f4f3b636569d648a3092fc5b5b00fe4f6ec6abd34de86ae657f4bba22913e", "port": 389, "protocol": "LDAP" } ], "selective_sync_settings": { "enabled": true, "selected_org_units": [ "OU=SELECTIVE21,OU=SELECTIVE1,DC=nimbustest1,DC=com", "OU=SELECTIVE22,OU=SELECTIVE1,DC=nimbustest1,DC=com" ] }, "sync_settings": { "delta_sync_interval": 100 } }

Successful Response:

Response Code:
200 OK
Response Headers:
Content-type: application/json
Response Body:
DirectoryAdDomain+

Example Response:

{ "name": "nimbustest1.com", "base_distinguished_name": "DC=nimbustest1,DC=com", "netbios_name": "NIMBUSTEST1", "sync_settings": { "delta_sync_interval": 100, "sync_delay_in_sec": 30 }, "selective_sync_settings": { "enabled": true, "selected_org_units": [ "OU=SELECTIVE22,OU=SELECTIVE1,DC=nimbustest1,DC=com", "OU=SELECTIVE21,OU=SELECTIVE1,DC=nimbustest1,DC=com" ] }, "ldap_servers": [ { "domain_name": "nimbustest1.com", "host": "10.198.41.44", "port": 389, "protocol": "LDAP", "thumbprint": "3b1f4f3b636569d648a3092fc5b5b00fe4f6ec6abd34de86ae657f4bba22913e", "username": "dummy", "marked_for_delete": false, "_protection": "NOT_PROTECTED" } ], "resource_type": "DirectoryAdDomain", "id": "idstore-1", "display_name": "NIMBUS TEST", "description": "Active directory domain nimbustest.com", "path": "/infra/firewall-identity-stores/idstore-1", "relative_path": "idstore-1", "parent_path": "/infra/firewall-identity-stores/idstore-1", "unique_id": "72acb626-d7a4-4fa0-b01e-c6beb3495a89", "marked_for_delete": false, "_create_user": "admin", "_create_time": 1572444068082, "_last_modified_user": "admin", "_last_modified_time": 1572444068082, "_system_owned": false, "_protection": "NOT_PROTECTED", "_revision": 0 }

Required Permissions:

crud

Feature:

policy_identity

Additional Errors: