# get_all_secrets

Source: https://modulify.ai/docs/mcp/secrets/get-all-secrets

Returns every environment variable a person set on a site in plain text at once, keyed by variable id.

- Title: Reveal every environment variable
- Scope: `credentials:reveal`
- Access: Read only

The ids pair with `list_secrets` for the names. This is the whole credential set of the site in one response, so the tool tells the client never to print it, write it to a file or send it anywhere.

Platform-managed variables are left out, exactly as **Copy secrets** and **Download secrets** in the Secrets tab leave them out, so `DATABASE_URL`, `DATABASE_TOKEN` and the CDN keys do not appear here, and `get_secret` reads them one at a time. Everything else does appear, including credentials Modulify stored for you during an import, such as `SHOPIFY_STOREFRONT_TOKEN`, and the tool points the client at `get_secret` by id when you genuinely need one of those.

A variable whose stored value can no longer be decrypted is listed in `failed` rather than returned, and needs re-entering. See [Secrets](https://modulify.ai/docs/data/secrets#copy-and-export).

## Inputs

| Input | Type | Required | Description |
| --- | --- | --- | --- |
| `projectId` | string | Yes | The site id. |