# Setup Password Lifetime

## **Overview** <a href="#overview" id="overview"></a>

***Password Lifetime*** is the duration for which a password is valid. This duration will be extended whenever the password is reset.

* This function allows users (Provider/Tenant) to set the lifetime of password of tenant user and all members in a tenant will have the same password lifetime.
* The lifetime can be Unlimited and Limited:

o **Unlimited**: the password will not expire.

o **Limited**: The password will expire based on the value of the setting.

* Whenever the password is updated, the password lifetime will start over again.
* Emails will be sent to tenant users if their password is:

*<mark style="color:green;">It will expire in the next 30 days ⇒ to remind users to change their password.</mark>*

*<mark style="color:green;">It will expire in the next 7 days ⇒ to remind users to change their password.</mark>*

*<mark style="color:green;">It will expire in the next day ⇒ to remind users to change their password.</mark>*

*<mark style="color:green;">It expired last day ⇒ To inform users that they cannot log in to the system anymore, they need to contact the administrator to reset the password.</mark>*

Besides, there is an email to send to the administrator/owner of the tenant to inform the list of their members that have passwords to expire the next day.

{% hint style="warning" %}
If the password lifetime is updated, the administrator/owner of tenant must reset the password for all members to make sure the system running correctly.
{% endhint %}

## <mark style="color:green;">**Procedure**</mark>  <a href="#procedure-to-change-password-lifetime" id="procedure-to-change-password-lifetime"></a>

{% tabs %}
{% tab title="I. To change Password Lifetime" %}
**Step 1:** Login to the Tenant site by the role that has permission to change password lifetime.

**Step 2:** Access the Tenant setting page: *General* > *Setting* tab.

**Step 3:** Click on the **Edit** button.

**Step 4:** Choose **Limited** or **Unlimited** from the select box.

**Step 5:** If you choose **Limited**, the user must input the duration by days.

**Step 6:** Click the button to **Save**.

<figure><img src="/files/bNB5ve7gXUnWjBn8ygC2" alt=""><figcaption></figcaption></figure>
{% endtab %}

{% tab title="II. Notification emails" %}
**Step 1:** Email to remind users to change their password.

<figure><img src="/files/oEIdI5g9wBLKfHvEA9vm" alt=""><figcaption></figcaption></figure>

**Step 2:** Email to inform users that their password is not valid anymore \
\>> please contact the Administrator or HI GIO support to reset the password.

<figure><img src="/files/IAlN5MdffyUKeHcvqdxx" alt=""><figcaption></figcaption></figure>

**Step 3:** Email to inform administrators/owners of the list of members.

<figure><img src="/files/Jj4pYBRv5xwFHcgiC5wi" alt=""><figcaption></figcaption></figure>
{% endtab %}
{% endtabs %}


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.higiocloud.vn/management/1.-iam-portal/setup-password-lifetime.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
