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

# Tokens

Provide restricted Configs access to an application.

A Configu Token is useful for:

* Authenticating the Configu CLI from a non-interactive system (e.g., CI/CD, Docker)
* Authenticating in real-time using one of our SDKs

## Creating a Token

To generate a token, head over to the Token page in the Settings tab.
New tokens are assigned [the reader role](/integrations/store/configu/authorization#predefined-roles).

<Frame>
  <img src="https://mintcdn.com/configu/SzCqdOva2zT0ybfH/images-old/tokens/tokens-new-token.png?fit=max&auto=format&n=SzCqdOva2zT0ybfH&q=85&s=f160b07d8b9d89724ac9366f8b249c9c" alt="image" width="1370" height="629" data-path="images-old/tokens/tokens-new-token.png" />
</Frame>

<Info>A token can optionally be given an expiration date.</Info>

<Frame>
  <img src="https://mintcdn.com/configu/SzCqdOva2zT0ybfH/images-old/tokens/tokens-pick-expiration.png?fit=max&auto=format&n=SzCqdOva2zT0ybfH&q=85&s=c380e70316a4574ca27335f0148b437d" alt="image" width="1370" height="719" data-path="images-old/tokens/tokens-pick-expiration.png" />
</Frame>

<Frame>
  <img src="https://mintcdn.com/configu/4A2bpem8hiz6pjlo/images-old/tokens/tokens-token-created.png?fit=max&auto=format&n=4A2bpem8hiz6pjlo&q=85&s=e13b0e9176d0b93cfc87ae8c924e2076" alt="image" width="1370" height="719" data-path="images-old/tokens/tokens-token-created.png" />
</Frame>

<Warning>
  Safely store the token value. You won't be able to see it again!
</Warning>

## Assign roles to a Token

Organization tokens can be given roles that define what resources they can access. Read more about [role assignment](/integrations/store/configu/authorization#assign-roles) on the authorization page.

<Frame>
  <img src="https://mintcdn.com/configu/SzCqdOva2zT0ybfH/images-old/tokens/tokens-edit-roles.png?fit=max&auto=format&n=SzCqdOva2zT0ybfH&q=85&s=3b6e92a9b6f18b167bd2c978b37e99c2" alt="image" width="1370" height="719" data-path="images-old/tokens/tokens-edit-roles.png" />
</Frame>

<Frame>
  <img src="https://mintcdn.com/configu/SzCqdOva2zT0ybfH/images-old/tokens/tokens-edit-roles-alert.png?fit=max&auto=format&n=SzCqdOva2zT0ybfH&q=85&s=cbd924ab8114e4a85410731b2856f785" alt="image" width="1370" height="719" data-path="images-old/tokens/tokens-edit-roles-alert.png" />
</Frame>

<Info>Tokens cannot be assigned the viewer role.</Info>

## Revoking a Token

In case a token is no longer necessary, you may prematurely revoke a token at any time.

<Frame>
  <img src="https://mintcdn.com/configu/SzCqdOva2zT0ybfH/images-old/tokens/tokens-revoke-token.png?fit=max&auto=format&n=SzCqdOva2zT0ybfH&q=85&s=709ae3c05816fd6ba153c27696eae3a1" alt="image" width="1370" height="719" data-path="images-old/tokens/tokens-revoke-token.png" />
</Frame>
