> ## Documentation Index
> Fetch the complete documentation index at: https://docs.cloud.red/llms.txt
> Use this file to discover all available pages before exploring further.

# Access Token Lifespan

> Set how long issued access tokens stay valid across your Cloud.Red account.

The **Access Token Lifespan** is a global setting that controls how long an issued access token stays valid before a user or service must re-authenticate. By default, access tokens expire after **90 minutes**.

<Note>
  You must be an **Account Admin** to view or change global settings.
</Note>

## Change the Access Token Lifespan

1. Click your profile in the top-right corner, then select **Admin Configuration**.

<img className="block h-64 dark:hidden" src="https://mintcdn.com/cloudred/pryzgeymTp-cR70g/getting-started/access-token-lifespan-images/admin-configuration-menu.png?fit=max&auto=format&n=pryzgeymTp-cR70g&q=85&s=7abc26df6d6cf13faa313960a265c269" width="658" height="490" data-path="getting-started/access-token-lifespan-images/admin-configuration-menu.png" />

<img className="hidden h-64 dark:block" src="https://mintcdn.com/cloudred/pryzgeymTp-cR70g/getting-started/access-token-lifespan-images/admin-configuration-menu.png?fit=max&auto=format&n=pryzgeymTp-cR70g&q=85&s=7abc26df6d6cf13faa313960a265c269" width="658" height="490" data-path="getting-started/access-token-lifespan-images/admin-configuration-menu.png" />

2. In Admin Configuration, select the **Global Settings** tab.
3. Scroll to the bottom of Global Settings to find the **Access Token Lifespan** field. Enter a value and choose a **Unit** from the dropdown. Available units are **Seconds**, **Minutes**, and **Hours**.

<img className="block h-64 dark:hidden" src="https://mintcdn.com/cloudred/pryzgeymTp-cR70g/getting-started/access-token-lifespan-images/global-settings-access-token-lifespan.png?fit=max&auto=format&n=pryzgeymTp-cR70g&q=85&s=7f6b41b8e69288bd7d004a67ea92377b" width="2470" height="1512" data-path="getting-started/access-token-lifespan-images/global-settings-access-token-lifespan.png" />

<img className="hidden h-64 dark:block" src="https://mintcdn.com/cloudred/pryzgeymTp-cR70g/getting-started/access-token-lifespan-images/global-settings-access-token-lifespan.png?fit=max&auto=format&n=pryzgeymTp-cR70g&q=85&s=7f6b41b8e69288bd7d004a67ea92377b" width="2470" height="1512" data-path="getting-started/access-token-lifespan-images/global-settings-access-token-lifespan.png" />

4. Click **Save** in the bottom-right of the page.

<Info>
  The lifespan must fall within a valid range: **1 minute to 24 hours**. The field help text reads: "How long issued access tokens stay valid: 1 minute to 24 hours".
</Info>

<Warning>
  Choosing a lifespan is a security tradeoff. Shorter lifespans are more secure but require users and service accounts to re-authenticate more often. Longer lifespans are more convenient but increase exposure if a token is compromised.
</Warning>

## Related

* [Service Accounts](/getting-started/service-accounts) — machine identities that use access tokens
* [Access Control](/cloud-red-essentials/access-control) — roles and permissions
