---
title: "Regenerate a token in Container Registry"
sidebar_label: "Regenerate token"
sidebar_position: 3
description: "How to regenerate a token"
---

import MoreVerticalIcon from '@selectel/docux/icons/more-vertical'
import Formbricks from '@theme/MDXComponents/Formbricks'

# Regenerate a token in Container Registry

When regenerating, the token is first revoked and then re-generated with the same settings. You can only update the token's validity period.

1. In the [Control panel](https://my.selectel.ru/vpc/default/craas/), on the top menu click **Products** and select **Container Registry**.

2. Open the **Tokens** tab.

3. In the <MoreVerticalIcon /> menu of the token, select **Regenerate**.

4. Select the token validity period:

   * 30 days;
   * 60 days;
   * 90 days;
   * 1 year;
   * indefinite.

5. Click **Regenerate**.

6. Once the login and password have been created, click **Download JSON token**.

7. Update the token in related scripts and applications.

<Formbricks />
