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

# Coffre-fort

> Décrit comment utiliser le coffre-fort de formulaires pour les actions.

Le coffre-fort vous permet de stocker de manière sécurisée des secrets ou des paramètres courants (par exemple : clés API, jetons d’accès, jetons d’actualisation) pour authentifier les demandes auprès de services externes ou des intégrations en tant que connexions de coffre-fort.

<Callout icon="file-lines" color="#0EA5E9" iconType="regular">
  * Certaines connexions exigent que l’utilisateur fournisse des informations d’identification (par exemple, dans le cas d’une connexion Auth0 avec une application machine-machine (M-M), un jeton d’accès est généré avec un délai d’expiration et un jeton d’actualisation). La connexion stocke les deux jetons et génère un nouveau jeton d’accès avant son expiration.
  * Certains services externes requièrent des permissions pour générer des identifiants d’API. Si vous modifiez les permissions, mettez à jour la connexion à ces services pour éviter les problèmes de connexion.
  * Une fois la connexion ajoutée, vous pouvez l’utiliser dans vos flux. Toute mise à jour d’une connexion existante se propage automatiquement.
</Callout>

## Créer et modifier des connexions au coffre-fort

Créez et modifiez des connexions au coffre-fort depuis la page correspondante ou l’éditeur de flux lorsqu’une action nécessite des identifiants.

### Créer des connexions au coffre-fort depuis la page correspondante

Ajoutez une connexion au coffre-fort depuis la page Coffre-fort en procédant comme suit :

1. Ouvrez l’éditeur de formulaires en sélectionnant **Auth0 Dashboard > Actions > Forms (Formulaires).**

2. En haut à gauche de l’écran, sélectionnez **{"{tenantName}"} > Vault (Coffre-fort)** pour ouvrir la page Vault.

   <Frame>
     <img src="https://mintcdn.com/docs-dev-feat-docs-5612-expanded-grant-support-ea/gWuCwJm1YNz8jw4P/docs/images/fr-ca/cdy7uua7fh8z/1sPNPKO6nuEDCuiYGRWSur/d85dc616170eaf2d7d5f321750863ccf/vault-connections-example.png?fit=max&auto=format&n=gWuCwJm1YNz8jw4P&q=85&s=e3f845946bdc89ce3f1a637de47ef8c9" alt="Dashboard > Forms > Vault" data-og-width="1332" width="1332" data-og-height="515" height="515" data-path="docs/images/fr-ca/cdy7uua7fh8z/1sPNPKO6nuEDCuiYGRWSur/d85dc616170eaf2d7d5f321750863ccf/vault-connections-example.png" data-optimize="true" data-opv="3" srcset="https://mintcdn.com/docs-dev-feat-docs-5612-expanded-grant-support-ea/gWuCwJm1YNz8jw4P/docs/images/fr-ca/cdy7uua7fh8z/1sPNPKO6nuEDCuiYGRWSur/d85dc616170eaf2d7d5f321750863ccf/vault-connections-example.png?w=280&fit=max&auto=format&n=gWuCwJm1YNz8jw4P&q=85&s=9f04602089b21f154a1a9cd162561e9d 280w, https://mintcdn.com/docs-dev-feat-docs-5612-expanded-grant-support-ea/gWuCwJm1YNz8jw4P/docs/images/fr-ca/cdy7uua7fh8z/1sPNPKO6nuEDCuiYGRWSur/d85dc616170eaf2d7d5f321750863ccf/vault-connections-example.png?w=560&fit=max&auto=format&n=gWuCwJm1YNz8jw4P&q=85&s=e036154b867e8a2d841a1ce1785be434 560w, https://mintcdn.com/docs-dev-feat-docs-5612-expanded-grant-support-ea/gWuCwJm1YNz8jw4P/docs/images/fr-ca/cdy7uua7fh8z/1sPNPKO6nuEDCuiYGRWSur/d85dc616170eaf2d7d5f321750863ccf/vault-connections-example.png?w=840&fit=max&auto=format&n=gWuCwJm1YNz8jw4P&q=85&s=b6b4a53c27b1f9599919313d074f26cd 840w, https://mintcdn.com/docs-dev-feat-docs-5612-expanded-grant-support-ea/gWuCwJm1YNz8jw4P/docs/images/fr-ca/cdy7uua7fh8z/1sPNPKO6nuEDCuiYGRWSur/d85dc616170eaf2d7d5f321750863ccf/vault-connections-example.png?w=1100&fit=max&auto=format&n=gWuCwJm1YNz8jw4P&q=85&s=1721a7f4db71b89e9c7f5b2246bc9f45 1100w, https://mintcdn.com/docs-dev-feat-docs-5612-expanded-grant-support-ea/gWuCwJm1YNz8jw4P/docs/images/fr-ca/cdy7uua7fh8z/1sPNPKO6nuEDCuiYGRWSur/d85dc616170eaf2d7d5f321750863ccf/vault-connections-example.png?w=1650&fit=max&auto=format&n=gWuCwJm1YNz8jw4P&q=85&s=be451d381dd51ed709c1932982927865 1650w, https://mintcdn.com/docs-dev-feat-docs-5612-expanded-grant-support-ea/gWuCwJm1YNz8jw4P/docs/images/fr-ca/cdy7uua7fh8z/1sPNPKO6nuEDCuiYGRWSur/d85dc616170eaf2d7d5f321750863ccf/vault-connections-example.png?w=2500&fit=max&auto=format&n=gWuCwJm1YNz8jw4P&q=85&s=46aa925f68d2122e37db5194b422670b 2500w" />
   </Frame>

3. Sélectionnez **Add Vault Connection (Ajouter une connexion au coffre-fort)**.

4. Sélectionnez l’action désirée, puis **Continue (Continuer)**.

5. Ajoutez un **Connection name (Nom de connexion)** au coffre-fort et sélectionnez **Continue (Continuer)**.

6. Saisissez les identifiants.
   Si vous n’avez pas d’identifiants précis, vous pouvez sélectionner **Create an empty connection (Créer une connexion vide)** et ajouter les identifiants plus tard. Les connexions vides affichent une icône orange qui indiquent l’absence d’identifiants.

7. Sélectionnez **Add Vault Connection (Ajouter une connexion au coffre-fort)**.

### Créer des connexions au coffre-fort depuis l’éditeur de flux

Ajoutez une connexion au coffre-fort à partir d’une action de flux, par exemple, Twilio, en procédant comme suit :

1. Ouvrez l’éditeur de flux en sélectionnant **Auth0 Dashboard > Actions > Forms (Formulaires) > Flows (Flux)**

2. Sélectionnez un flux et ajoutez une action **Send SMS with Twilio (Envoyer un SMS avec Twilio)**.

3. Dans le paramètre **Vault connection (Connexion au coffre-fort)** de l’action, sélectionnez l’icône **+**.

   <Frame>
     <img src="https://mintcdn.com/docs-dev-feat-docs-5612-expanded-grant-support-ea/fO9QR70_Gdrw6w5B/docs/images/fr-ca/cdy7uua7fh8z/1AsaznhRKxm5LZxPlcbfUw/10e5a8af700aab909f5b03fcd266da7e/twilio-vault-connection.png?fit=max&auto=format&n=fO9QR70_Gdrw6w5B&q=85&s=81eedcc45bc16bdc3d769ec047f6e056" alt="Dashboard > Forms > Vault " data-og-width="1104" width="1104" data-og-height="191" height="191" data-path="docs/images/fr-ca/cdy7uua7fh8z/1AsaznhRKxm5LZxPlcbfUw/10e5a8af700aab909f5b03fcd266da7e/twilio-vault-connection.png" data-optimize="true" data-opv="3" srcset="https://mintcdn.com/docs-dev-feat-docs-5612-expanded-grant-support-ea/fO9QR70_Gdrw6w5B/docs/images/fr-ca/cdy7uua7fh8z/1AsaznhRKxm5LZxPlcbfUw/10e5a8af700aab909f5b03fcd266da7e/twilio-vault-connection.png?w=280&fit=max&auto=format&n=fO9QR70_Gdrw6w5B&q=85&s=867a9c2f79d08461f34445c626d11e10 280w, https://mintcdn.com/docs-dev-feat-docs-5612-expanded-grant-support-ea/fO9QR70_Gdrw6w5B/docs/images/fr-ca/cdy7uua7fh8z/1AsaznhRKxm5LZxPlcbfUw/10e5a8af700aab909f5b03fcd266da7e/twilio-vault-connection.png?w=560&fit=max&auto=format&n=fO9QR70_Gdrw6w5B&q=85&s=74df15869bc5fcc37797dedebe1fdd2a 560w, https://mintcdn.com/docs-dev-feat-docs-5612-expanded-grant-support-ea/fO9QR70_Gdrw6w5B/docs/images/fr-ca/cdy7uua7fh8z/1AsaznhRKxm5LZxPlcbfUw/10e5a8af700aab909f5b03fcd266da7e/twilio-vault-connection.png?w=840&fit=max&auto=format&n=fO9QR70_Gdrw6w5B&q=85&s=4a3086e96bfc70f44145de9d8e52cc7f 840w, https://mintcdn.com/docs-dev-feat-docs-5612-expanded-grant-support-ea/fO9QR70_Gdrw6w5B/docs/images/fr-ca/cdy7uua7fh8z/1AsaznhRKxm5LZxPlcbfUw/10e5a8af700aab909f5b03fcd266da7e/twilio-vault-connection.png?w=1100&fit=max&auto=format&n=fO9QR70_Gdrw6w5B&q=85&s=6f1b0989554f3d8631a09671d9e0b7f6 1100w, https://mintcdn.com/docs-dev-feat-docs-5612-expanded-grant-support-ea/fO9QR70_Gdrw6w5B/docs/images/fr-ca/cdy7uua7fh8z/1AsaznhRKxm5LZxPlcbfUw/10e5a8af700aab909f5b03fcd266da7e/twilio-vault-connection.png?w=1650&fit=max&auto=format&n=fO9QR70_Gdrw6w5B&q=85&s=2da98edaa7fe41e787e3a142317a0c84 1650w, https://mintcdn.com/docs-dev-feat-docs-5612-expanded-grant-support-ea/fO9QR70_Gdrw6w5B/docs/images/fr-ca/cdy7uua7fh8z/1AsaznhRKxm5LZxPlcbfUw/10e5a8af700aab909f5b03fcd266da7e/twilio-vault-connection.png?w=2500&fit=max&auto=format&n=fO9QR70_Gdrw6w5B&q=85&s=49a0317c6e60ebbf7b1209bb569fdd5b 2500w" />
   </Frame>

4. Ajoutez un **Connection name (Nom de connexion)** au coffre-fort et sélectionnez **Continue (Continuer)**.

5. Saisissez les identifiants.
   Si vous n’avez pas d’identifiants précis, vous pouvez sélectionner **Create an empty connection (Créer une connexion vide)** et ajouter les identifiants plus tard. Les connexions vides affichent une icône orange qui indiquent l’absence d’identifiants.

   <Frame>
     <img src="https://mintcdn.com/docs-dev-feat-docs-5612-expanded-grant-support-ea/qfiTB_uxeYNNOUhO/docs/images/fr-ca/cdy7uua7fh8z/yobXanutPRCO3FWek8cOk/bc29e39fb8593cff35e2738234bfe6fe/twilio-vault-settings.png?fit=max&auto=format&n=qfiTB_uxeYNNOUhO&q=85&s=542c6c1f2c84506a4daa5d362a6ab278" alt="Dashboard > Forms > Vault > Twilio connection settings" data-og-width="1369" width="1369" data-og-height="491" height="491" data-path="docs/images/fr-ca/cdy7uua7fh8z/yobXanutPRCO3FWek8cOk/bc29e39fb8593cff35e2738234bfe6fe/twilio-vault-settings.png" data-optimize="true" data-opv="3" srcset="https://mintcdn.com/docs-dev-feat-docs-5612-expanded-grant-support-ea/qfiTB_uxeYNNOUhO/docs/images/fr-ca/cdy7uua7fh8z/yobXanutPRCO3FWek8cOk/bc29e39fb8593cff35e2738234bfe6fe/twilio-vault-settings.png?w=280&fit=max&auto=format&n=qfiTB_uxeYNNOUhO&q=85&s=c6c2fbd72ee52a7694add92c6f9d23d9 280w, https://mintcdn.com/docs-dev-feat-docs-5612-expanded-grant-support-ea/qfiTB_uxeYNNOUhO/docs/images/fr-ca/cdy7uua7fh8z/yobXanutPRCO3FWek8cOk/bc29e39fb8593cff35e2738234bfe6fe/twilio-vault-settings.png?w=560&fit=max&auto=format&n=qfiTB_uxeYNNOUhO&q=85&s=111e85c32e3f8cf45f6332ee7c413403 560w, https://mintcdn.com/docs-dev-feat-docs-5612-expanded-grant-support-ea/qfiTB_uxeYNNOUhO/docs/images/fr-ca/cdy7uua7fh8z/yobXanutPRCO3FWek8cOk/bc29e39fb8593cff35e2738234bfe6fe/twilio-vault-settings.png?w=840&fit=max&auto=format&n=qfiTB_uxeYNNOUhO&q=85&s=54dc2d19c2d02c9bd4503b93bf6edcd7 840w, https://mintcdn.com/docs-dev-feat-docs-5612-expanded-grant-support-ea/qfiTB_uxeYNNOUhO/docs/images/fr-ca/cdy7uua7fh8z/yobXanutPRCO3FWek8cOk/bc29e39fb8593cff35e2738234bfe6fe/twilio-vault-settings.png?w=1100&fit=max&auto=format&n=qfiTB_uxeYNNOUhO&q=85&s=af34624583c65369a6f144336b9130bc 1100w, https://mintcdn.com/docs-dev-feat-docs-5612-expanded-grant-support-ea/qfiTB_uxeYNNOUhO/docs/images/fr-ca/cdy7uua7fh8z/yobXanutPRCO3FWek8cOk/bc29e39fb8593cff35e2738234bfe6fe/twilio-vault-settings.png?w=1650&fit=max&auto=format&n=qfiTB_uxeYNNOUhO&q=85&s=7bf0eaf6885557403c70d7807ac66998 1650w, https://mintcdn.com/docs-dev-feat-docs-5612-expanded-grant-support-ea/qfiTB_uxeYNNOUhO/docs/images/fr-ca/cdy7uua7fh8z/yobXanutPRCO3FWek8cOk/bc29e39fb8593cff35e2738234bfe6fe/twilio-vault-settings.png?w=2500&fit=max&auto=format&n=qfiTB_uxeYNNOUhO&q=85&s=bcbc562f589934de7dad6e66d74d4162 2500w" />
   </Frame>

6. Sélectionnez **Add Vault Connection (Ajouter une connexion au coffre-fort)**.
