> ## Documentation Index
> Fetch the complete documentation index at: https://docs-dev-feat-anonymous-sessions.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

> Learn how to configure your Auth0 Vault Connections to authorize requests against the Management API.

# Auth0 Vault Connection

## Get access to Auth0 Management API

[Create a Machine-to-Machine (M2M) Application](/docs/get-started/auth0-overview/create-applications/machine-to-machine-apps) authorized for Auth0 Management API.

<Warning>
  Remember to authorize your M2M Application to access the Management API and select the right scopes following the Least Privilege Principle:

  * For Get User: `read:users`
  * For Create User: `create:users`
  * For Update User: `update:users`
</Warning>

<Callout icon="file-lines" color="#0EA5E9" iconType="regular">
  No need for Auth0 Management API authorization to send notifications through the configured providers at your Auth0 Tenant.
</Callout>

## Configure your Vault Connection

To configure an Auth0 Vault Connection for your Auth0 Flow Actions, set the required parameters based on the previous created M2M Application.

<Frame>
  <img src="https://mintcdn.com/docs-dev-feat-anonymous-sessions/O5G8MZNPH0_bzNWL/docs/images/customize/forms/vaults/auth0-vault-connection.png?fit=max&auto=format&n=O5G8MZNPH0_bzNWL&q=85&s=4ece234beedb359e32001f82fd6948f3" alt="Dashboard > Actions > Forms > Vault > Auth0" data-og-width="798" width="798" data-og-height="707" height="707" data-path="docs/images/customize/forms/vaults/auth0-vault-connection.png" data-optimize="true" data-opv="3" srcset="https://mintcdn.com/docs-dev-feat-anonymous-sessions/O5G8MZNPH0_bzNWL/docs/images/customize/forms/vaults/auth0-vault-connection.png?w=280&fit=max&auto=format&n=O5G8MZNPH0_bzNWL&q=85&s=04788a4859495c035da4cd85a1cc8117 280w, https://mintcdn.com/docs-dev-feat-anonymous-sessions/O5G8MZNPH0_bzNWL/docs/images/customize/forms/vaults/auth0-vault-connection.png?w=560&fit=max&auto=format&n=O5G8MZNPH0_bzNWL&q=85&s=faa51b14c99bba22fca3088177a74059 560w, https://mintcdn.com/docs-dev-feat-anonymous-sessions/O5G8MZNPH0_bzNWL/docs/images/customize/forms/vaults/auth0-vault-connection.png?w=840&fit=max&auto=format&n=O5G8MZNPH0_bzNWL&q=85&s=b6664035aa9d60df58f3373682943bb7 840w, https://mintcdn.com/docs-dev-feat-anonymous-sessions/O5G8MZNPH0_bzNWL/docs/images/customize/forms/vaults/auth0-vault-connection.png?w=1100&fit=max&auto=format&n=O5G8MZNPH0_bzNWL&q=85&s=1705a0214ca88fa5d032ae17229384d0 1100w, https://mintcdn.com/docs-dev-feat-anonymous-sessions/O5G8MZNPH0_bzNWL/docs/images/customize/forms/vaults/auth0-vault-connection.png?w=1650&fit=max&auto=format&n=O5G8MZNPH0_bzNWL&q=85&s=e6ad9de8e53e899cad8cc8f0ff908833 1650w, https://mintcdn.com/docs-dev-feat-anonymous-sessions/O5G8MZNPH0_bzNWL/docs/images/customize/forms/vaults/auth0-vault-connection.png?w=2500&fit=max&auto=format&n=O5G8MZNPH0_bzNWL&q=85&s=cde46fd1b71c7ad5e74ffdf7c54a8b42 2500w" />
</Frame>

#### Input settings

| Parameter           | Description                                                                |
| ------------------- | -------------------------------------------------------------------------- |
| Tenant Domain       | Tenant domain of your M2M Application.                                     |
| Client ID           | Client ID of your M2M Application authorized for Auth0 Management API.     |
| Client Secret       | Client Secret of your M2M Application authorized for Auth0 Management API. |
| Audience (Optional) | Auth0 Management API Audience.                                             |

<Callout icon="file-lines" color="#0EA5E9" iconType="regular">
  By default, the Audience will be based on the Tenant Domain.
</Callout>
