Configure password expiration
Configure password expiration to enforce expiration of a user's password after a specified number of days.
Enable password expiration
To enforce an expiration of a user's password after a specified number of days:
-
Use the Cluster Manager UI:
-
Go to Cluster > Security > Preferences, then select Edit.
-
In the Password section, turn on Expiration.
-
Enter the number of days before passwords expire.
-
Select Save.
-
-
Use the
cluster
endpoint of the REST APIPUT https://[host][:port]/v1/cluster {"password_expiration_duration":<number_of_days>}
Deactivate password expiration
To deactivate password expiration:
-
Use the Cluster Manager UI:
-
Go to Cluster > Security > Preferences, then select Edit.
-
In the Password section, turn off Expiration.
-
Select Save.
-
-
Use the
cluster
REST API endpoint to setpassword_expiration_duration
to0
(zero).