> ## Documentation Index
> Fetch the complete documentation index at: https://docs-staging-feat-docs-5612-expanded-grant-support-ea.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

> Auth0 Vault 接続を設定して、Management API へのリクエストを認可する方法を学びます。

# Auth0 Vault 接続

<h2 id="get-access-to-auth0-management-api">
  Auth0 Management API にアクセスする
</h2>

[Auth0 Management API 用に認可された Machine-to-Machine (M2M) アプリケーションを作成](/docs/ja-jp/get-started/auth0-overview/create-applications/machine-to-machine-apps)。

<Warning>
  M2M アプリケーションが Auth0 Management API にアクセスできるよう認可し、最小権限の原則に従って適切なスコープを選択してください。

  * Get User の場合: `read:users`
  * Create User の場合: `create:users`
  * Update User の場合: `update:users`
</Warning>

<Callout icon="file-lines" color="#0EA5E9" iconType="regular">
  Auth0 テナントで構成済みの Provider を通じて通知を送信する場合、Auth0 Management API の認可は不要です。
</Callout>

<h2 id="configure-your-vault-connection">
  Vault 接続を設定する
</h2>

Auth0 フローの Actions 用に Auth0 Vault 接続を設定するには、前の手順で作成した M2M アプリケーションに基づいて、必要なパラメーターを設定します。

<Frame>
  <img src="https://mintcdn.com/docs-staging-feat-docs-5612-expanded-grant-support-ea/96dAG6L4N0cU8PsO/docs/images/customize/forms/vaults/auth0-vault-connection.png?fit=max&auto=format&n=96dAG6L4N0cU8PsO&q=85&s=5dadbfec45160c9fca963bb1f1c2f65b" alt="Auth0 Dashboard > Actions > フォーム > 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-staging-feat-docs-5612-expanded-grant-support-ea/96dAG6L4N0cU8PsO/docs/images/customize/forms/vaults/auth0-vault-connection.png?w=280&fit=max&auto=format&n=96dAG6L4N0cU8PsO&q=85&s=0a7e29fd827cfe2690a18868ed902f1e 280w, https://mintcdn.com/docs-staging-feat-docs-5612-expanded-grant-support-ea/96dAG6L4N0cU8PsO/docs/images/customize/forms/vaults/auth0-vault-connection.png?w=560&fit=max&auto=format&n=96dAG6L4N0cU8PsO&q=85&s=e4c3b7ecf2dded92e9e5a21f08b6ff24 560w, https://mintcdn.com/docs-staging-feat-docs-5612-expanded-grant-support-ea/96dAG6L4N0cU8PsO/docs/images/customize/forms/vaults/auth0-vault-connection.png?w=840&fit=max&auto=format&n=96dAG6L4N0cU8PsO&q=85&s=1f809239cd7009e206aa4c1d9dfb4eee 840w, https://mintcdn.com/docs-staging-feat-docs-5612-expanded-grant-support-ea/96dAG6L4N0cU8PsO/docs/images/customize/forms/vaults/auth0-vault-connection.png?w=1100&fit=max&auto=format&n=96dAG6L4N0cU8PsO&q=85&s=38f0fb778a816801ec065d0a3a4dc713 1100w, https://mintcdn.com/docs-staging-feat-docs-5612-expanded-grant-support-ea/96dAG6L4N0cU8PsO/docs/images/customize/forms/vaults/auth0-vault-connection.png?w=1650&fit=max&auto=format&n=96dAG6L4N0cU8PsO&q=85&s=e0ea08827c000eb8686ec9f8be22b0d5 1650w, https://mintcdn.com/docs-staging-feat-docs-5612-expanded-grant-support-ea/96dAG6L4N0cU8PsO/docs/images/customize/forms/vaults/auth0-vault-connection.png?w=2500&fit=max&auto=format&n=96dAG6L4N0cU8PsO&q=85&s=866dc489ee1986bc2badfc77fc94b607 2500w" />
</Frame>

<h4 id="input-settings">
  入力設定
</h4>

| Parameter | Description |
| - | - |
| Tenant Domain | M2M アプリケーションのTenant Domain。 |
| Client ID | Auth0 Management API へのアクセスが許可された M2M アプリケーションの Client ID。 |
| Client Secret | Auth0 Management API へのアクセスが許可された M2M アプリケーションの Client Secret。 |
| Audience (Optional) | Auth0 Management API の audience。 |

<Callout icon="file-lines" color="#0EA5E9" iconType="regular">
  デフォルトでは、audience は Tenant Domain に基づいて設定されます。
</Callout>
