> For the complete documentation index, see [llms.txt](https://docs.vngcloud.vn/vng-cloud-document/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.vngcloud.vn/vng-cloud-document/identity-and-access-management-iam/pasword-policy-and-session-timeout.md).

# Pasword policy & session timeout

## 🔐 1. Password Policy

### **✅ Purpose**

Allows administrators to define and enforce password rules to enhance security and meet organizational needs.

### **🧩 Configurable Options**

<table><thead><tr><th width="225.07421875">Parameter</th><th>Description</th></tr></thead><tbody><tr><td><strong>Minimum length</strong></td><td>Minimum number of characters (e.g. 8, 12, 16)</td></tr><tr><td><strong>Complexity requirements</strong></td><td>Require uppercase, lowercase, numbers, and special characters</td></tr><tr><td><strong>Password expiry</strong></td><td>Passwords expire after X days (e.g. 90 days)</td></tr><tr><td><strong>Password history</strong></td><td>Prevent reuse of the last X passwords</td></tr><tr><td><strong>Invalid login attempts</strong></td><td>Lock account after Y failed login attempts</td></tr><tr><td><strong>Lockout duration</strong></td><td>Lock the account for a specific time (e.g. 30 minutes)</td></tr></tbody></table>

**🔧 How to Configure**

1. Log in to the admin portal.
2. Navigate to <https://iam.console.vngcloud.vn/account-settings>
3. Adjust the parameters as needed.
4. Click **Save** to apply changes.

***

## ⏱️ 2. Session Timeout Policy

### **✅ Purpose**

Automatically logs users out after a period of inactivity to prevent unauthorized access.

### **🧩 Configurable Options**

* 15 minutes
* 30 minutes
* 1 hour


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## 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, and the optional `goal` query parameter:

```
GET https://docs.vngcloud.vn/vng-cloud-document/identity-and-access-management-iam/pasword-policy-and-session-timeout.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
