> For the complete documentation index, see [llms.txt](https://docs.gmetri.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.gmetri.com/metaverse/publishing/authentication/password-with-expiry.md).

# Password With Expiry

This option generates a list of passwords which expire after a certain duration of hours. This expiry timer starts only after the first use of each password. Also to be specified is the time frame within which the Experience can be viewed.

**Configuration:**

| Option                     | Setting                                                                                                                                                    |
| -------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------- |
| Number of passwords to add | The number of passwords you want to add to the list of already generated passwords.                                                                        |
| Duration in Hours          | Once a password is used for the first time, it can only be reused until this duration of hours. After this duration is reached, this password will expire. |
| Start Date                 | The date after which the Experience can be viewed. Counted from this date, 00:00IST onwards.                                                               |
| End Date                   | The date after which the Experience cannot be viewed. Counted from this date, 23:59IST onwards.                                                            |

{% hint style="info" %}
You can generate no more than a total of 10,000 passwords for a viewer group.
{% endhint %}

Once you fill all the fields and click on save, a list of generated passwords become available for you to download. You may share this list with your intended viewers with which they can log in to view the Experience.

{% hint style="warning" %}
On resetting the duration for this viewer group, the duration is reset to the new value for all old used and unused passwords as well.
{% endhint %}


---

# 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 by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.gmetri.com/metaverse/publishing/authentication/password-with-expiry.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

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.
