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

# View Hook Secrets

> Learn how to view Hook Secrets using the Dashboard and Management API.

> [!WARNING]
>
> **Hooks will reach end of life (EOL) on April 30, 2027.**
>
> * As of October 16, 2023, Hooks are no longer available in newly created tenants.
> * As of November 18, 2024, Hooks are read-only. Active Hooks still run, and you can enable or disable them and change their configuration values and secrets. You can't edit their code in the Dashboard, the Management API, or tools that use it, such as the Auth0 CLI, Deploy CLI, Terraform, and Agent Skills.
> * **After April 30, 2027, Hooks stop running and are removed.**

**Use Actions to extend Auth0:**

* To learn more about Actions, read [Understand How Auth0 Actions Work](/docs/docs/customize/actions/actions-overview).
* To migrate, read [Migrate from Hooks to Actions](/docs/docs/customize/actions/migrate/migrate-from-hooks-to-actions).

You can see configured Hook Secrets for a Hook using the Dashboard or retrieve a list of Hook Secrets using the Management API (Management API: A product to allow customers to perform administrative tasks.).

## View Hook Secrets using the Dashboard

1. Go to [Auth0 Dashboard > Auth Pipeline > Hooks](https://manage.auth0.com/#/) and click the pencil icon next to the Hook for which you want to view Secrets.
2. In the Hook Editor, click the wrench icon, and click **Secrets**.

All configured secrets for the selected Hook are listed.

## Get Hook Secrets using the Management API

Make a `GET` call to the [Get Hook Secrets endpoint](/docs/docs/api/management/v2/#!/Hooks/get_secrets). Be sure to replace `HOOK_ID` and `MGMT_API_ACCESS_TOKEN` placeholder values with your Hook's ID and the Management API Access Token (Access Token: Authorization credential, in the form of an opaque string or JWT, used to access an API.), respectively.

Using the Auth0 CLI? If you haven't already, [set up and authenticate your CLI session](/docs/docs/deploy-monitor/auth0-cli) before running this command.

| Value | Description |
| - | - |
| `HOOK_ID` | ID of the Hook for which you want to retrieve secrets. |
| `MGMT_API_ACCESS_TOKEN` | Access Tokens for the Management API with the [scope](/docs/docs/glossary?term=scope) `update:hooks`. To learn more, read [Management API Access Tokens](/docs/docs/secure/tokens/access-tokens/management-api-access-tokens). |

> [!WARNING]
>
> Hook Secrets are write-only. When retrieving secrets configured for a specified Hook, values will contain the placeholder text: `_VALUE_NOT_SHOWN`.
