System Administration > Configuration > Fabric > Nodes > User Management > Authentication Policy

Update node authentication policy and password complexity configuration

Update the currently configured authentication policy and password complexity on the node.
If any of api_max_auth_failures, api_failed_auth_reset_period, or
api_failed_auth_lockout_period are modified, the http service is
automatically restarted.
Whereas change in any password complexity will not be applicable on already configured
user passwords. Administrators need to enforce password change for existing user accounts
in order to match newly configured complexity requirements enforced in system.
All values from AuthenticationPolicyProperties are in sync among the management cluster nodes.

Request:

Method:
PUT
URI Path(s):
/api/v1/transport-nodes/{transport-node-id}/node/aaa/auth-policy
/api/v1/cluster/{cluster-node-id}/node/aaa/auth-policy
/api/v1/node/aaa/auth-policy
Request Headers:
n/a
Query Parameters:
n/a
Request Body:
AuthenticationPolicyProperties+

Example Request:

PUT https://<nsx-mgr>/api/v1/node/aaa/auth-policy { "minimum_password_length": 15 }

Successful Response:

Response Code:
202 Accepted
Response Headers:
Content-type: application/json
Response Body:
AuthenticationPolicyProperties+

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

Example Response:

{ "_schema": "AuthenticationPolicyProperties", "_self": { "href": "/node/aaa/auth-policy", "rel": "self" }, "api_failed_auth_lockout_period": 900, "api_failed_auth_reset_period": 900, "api_max_auth_failures": 5, "cli_failed_auth_lockout_period": 900, "cli_max_auth_failures": 5, "minimum_password_length": 15, "maximum_password_length": 128, "lower_chars": -1, "upper_chars": -1, "digits": -1, "special_chars": -1, "minimum_unique_chars": 0, "max_repeats": 0, "max_sequence": 0, "hash_algorithm": "sha512", "password_remembrance": 0, "_retry_prompt": 3 }

Required Permissions:

crud

Feature:

system_administration

Additional Errors: