# Token Decryption

In the **Decode Token** action, you can configure the following settings to decrypt a token:

#### Token :

Choose the token source using the **Dynamic Data Source Selector** popup. You can pass the token through the input payload or from the results of a previous action.

#### Token Secret Key :

Set up the secret key used to generate the token. You can select this from the **Secrets Manager**, where you store sensitive information like API keys or tokens.

#### Error message :

Define the error message to display if the token is invalid or expired.

<figure><img src="https://3583334649-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FdrfsCZXcXll5UVMF1xCv%2Fuploads%2FTRfENyj2F6S5iibcvlq3%2Fdecode_token_action_config.png?alt=media&#x26;token=699afa9d-bb14-4056-b847-dcb895c5c4b5" alt=""><figcaption><p>Decode token Action Configuration</p></figcaption></figure>

<figure><img src="https://3583334649-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FdrfsCZXcXll5UVMF1xCv%2Fuploads%2FNnBYNpjIxmJfwF8TxZV0%2Fdecode_token_result.png?alt=media&#x26;token=0222e6a8-e886-4189-8c89-a121c28a22b6" alt=""><figcaption><p>Decode Token Action Result</p></figcaption></figure>
