> ## Documentation Index
> Fetch the complete documentation index at: https://docs-staging-docs-event-stream-action-templates.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-staging-docs-event-stream-action-templates/g2miWUCS1XKrLBSG/docs/images/fr-ca/cdy7uua7fh8z/1sPNPKO6nuEDCuiYGRWSur/d85dc616170eaf2d7d5f321750863ccf/vault-connections-example.png?fit=max&auto=format&n=g2miWUCS1XKrLBSG&q=85&s=0fccc94dae3fd494fef8af602f34a71e" 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-staging-docs-event-stream-action-templates/g2miWUCS1XKrLBSG/docs/images/fr-ca/cdy7uua7fh8z/1sPNPKO6nuEDCuiYGRWSur/d85dc616170eaf2d7d5f321750863ccf/vault-connections-example.png?w=280&fit=max&auto=format&n=g2miWUCS1XKrLBSG&q=85&s=f7555797319c54ff7d6ca5b2dacf02ae 280w, https://mintcdn.com/docs-staging-docs-event-stream-action-templates/g2miWUCS1XKrLBSG/docs/images/fr-ca/cdy7uua7fh8z/1sPNPKO6nuEDCuiYGRWSur/d85dc616170eaf2d7d5f321750863ccf/vault-connections-example.png?w=560&fit=max&auto=format&n=g2miWUCS1XKrLBSG&q=85&s=c565ab711dd32256b74d7957587e1924 560w, https://mintcdn.com/docs-staging-docs-event-stream-action-templates/g2miWUCS1XKrLBSG/docs/images/fr-ca/cdy7uua7fh8z/1sPNPKO6nuEDCuiYGRWSur/d85dc616170eaf2d7d5f321750863ccf/vault-connections-example.png?w=840&fit=max&auto=format&n=g2miWUCS1XKrLBSG&q=85&s=5cc18a99bdae879b5e53b3543346f7b0 840w, https://mintcdn.com/docs-staging-docs-event-stream-action-templates/g2miWUCS1XKrLBSG/docs/images/fr-ca/cdy7uua7fh8z/1sPNPKO6nuEDCuiYGRWSur/d85dc616170eaf2d7d5f321750863ccf/vault-connections-example.png?w=1100&fit=max&auto=format&n=g2miWUCS1XKrLBSG&q=85&s=7dc87f59b9303d8c03936fee863cba16 1100w, https://mintcdn.com/docs-staging-docs-event-stream-action-templates/g2miWUCS1XKrLBSG/docs/images/fr-ca/cdy7uua7fh8z/1sPNPKO6nuEDCuiYGRWSur/d85dc616170eaf2d7d5f321750863ccf/vault-connections-example.png?w=1650&fit=max&auto=format&n=g2miWUCS1XKrLBSG&q=85&s=cef70c5352d9841831f09c73ae5a84de 1650w, https://mintcdn.com/docs-staging-docs-event-stream-action-templates/g2miWUCS1XKrLBSG/docs/images/fr-ca/cdy7uua7fh8z/1sPNPKO6nuEDCuiYGRWSur/d85dc616170eaf2d7d5f321750863ccf/vault-connections-example.png?w=2500&fit=max&auto=format&n=g2miWUCS1XKrLBSG&q=85&s=a12ce7405fe9a383c47493b095e8b621 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-staging-docs-event-stream-action-templates/dXzfzKhc8v6GUPhU/docs/images/fr-ca/cdy7uua7fh8z/1AsaznhRKxm5LZxPlcbfUw/10e5a8af700aab909f5b03fcd266da7e/twilio-vault-connection.png?fit=max&auto=format&n=dXzfzKhc8v6GUPhU&q=85&s=ea7e423fa5d89b5fda0de8c290b92a93" 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-staging-docs-event-stream-action-templates/dXzfzKhc8v6GUPhU/docs/images/fr-ca/cdy7uua7fh8z/1AsaznhRKxm5LZxPlcbfUw/10e5a8af700aab909f5b03fcd266da7e/twilio-vault-connection.png?w=280&fit=max&auto=format&n=dXzfzKhc8v6GUPhU&q=85&s=8aad3447053acbe8dafcec99d2defeab 280w, https://mintcdn.com/docs-staging-docs-event-stream-action-templates/dXzfzKhc8v6GUPhU/docs/images/fr-ca/cdy7uua7fh8z/1AsaznhRKxm5LZxPlcbfUw/10e5a8af700aab909f5b03fcd266da7e/twilio-vault-connection.png?w=560&fit=max&auto=format&n=dXzfzKhc8v6GUPhU&q=85&s=7eb27724db7909591f56263c1c4f35df 560w, https://mintcdn.com/docs-staging-docs-event-stream-action-templates/dXzfzKhc8v6GUPhU/docs/images/fr-ca/cdy7uua7fh8z/1AsaznhRKxm5LZxPlcbfUw/10e5a8af700aab909f5b03fcd266da7e/twilio-vault-connection.png?w=840&fit=max&auto=format&n=dXzfzKhc8v6GUPhU&q=85&s=0d40fc4d75e66dbbad30218412d6df5f 840w, https://mintcdn.com/docs-staging-docs-event-stream-action-templates/dXzfzKhc8v6GUPhU/docs/images/fr-ca/cdy7uua7fh8z/1AsaznhRKxm5LZxPlcbfUw/10e5a8af700aab909f5b03fcd266da7e/twilio-vault-connection.png?w=1100&fit=max&auto=format&n=dXzfzKhc8v6GUPhU&q=85&s=92567761907494ce7267240086b1fa5a 1100w, https://mintcdn.com/docs-staging-docs-event-stream-action-templates/dXzfzKhc8v6GUPhU/docs/images/fr-ca/cdy7uua7fh8z/1AsaznhRKxm5LZxPlcbfUw/10e5a8af700aab909f5b03fcd266da7e/twilio-vault-connection.png?w=1650&fit=max&auto=format&n=dXzfzKhc8v6GUPhU&q=85&s=0d409ac2479c05e498df205b59fb3c28 1650w, https://mintcdn.com/docs-staging-docs-event-stream-action-templates/dXzfzKhc8v6GUPhU/docs/images/fr-ca/cdy7uua7fh8z/1AsaznhRKxm5LZxPlcbfUw/10e5a8af700aab909f5b03fcd266da7e/twilio-vault-connection.png?w=2500&fit=max&auto=format&n=dXzfzKhc8v6GUPhU&q=85&s=92f4d737700cae5501f8fc7811341f7e 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-staging-docs-event-stream-action-templates/yNICntbq2ER-NUmh/docs/images/fr-ca/cdy7uua7fh8z/yobXanutPRCO3FWek8cOk/bc29e39fb8593cff35e2738234bfe6fe/twilio-vault-settings.png?fit=max&auto=format&n=yNICntbq2ER-NUmh&q=85&s=a69ca29fff571dbacd47628ce0e8a607" 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-staging-docs-event-stream-action-templates/yNICntbq2ER-NUmh/docs/images/fr-ca/cdy7uua7fh8z/yobXanutPRCO3FWek8cOk/bc29e39fb8593cff35e2738234bfe6fe/twilio-vault-settings.png?w=280&fit=max&auto=format&n=yNICntbq2ER-NUmh&q=85&s=803ea7bcf571ea00acdeee84a918f1b6 280w, https://mintcdn.com/docs-staging-docs-event-stream-action-templates/yNICntbq2ER-NUmh/docs/images/fr-ca/cdy7uua7fh8z/yobXanutPRCO3FWek8cOk/bc29e39fb8593cff35e2738234bfe6fe/twilio-vault-settings.png?w=560&fit=max&auto=format&n=yNICntbq2ER-NUmh&q=85&s=a782bbdaa81d91532344be9e68b07657 560w, https://mintcdn.com/docs-staging-docs-event-stream-action-templates/yNICntbq2ER-NUmh/docs/images/fr-ca/cdy7uua7fh8z/yobXanutPRCO3FWek8cOk/bc29e39fb8593cff35e2738234bfe6fe/twilio-vault-settings.png?w=840&fit=max&auto=format&n=yNICntbq2ER-NUmh&q=85&s=51920abc7ce8b3012ec0847b4bae1c14 840w, https://mintcdn.com/docs-staging-docs-event-stream-action-templates/yNICntbq2ER-NUmh/docs/images/fr-ca/cdy7uua7fh8z/yobXanutPRCO3FWek8cOk/bc29e39fb8593cff35e2738234bfe6fe/twilio-vault-settings.png?w=1100&fit=max&auto=format&n=yNICntbq2ER-NUmh&q=85&s=cb055b51821becf78f2a5ea0df394bb5 1100w, https://mintcdn.com/docs-staging-docs-event-stream-action-templates/yNICntbq2ER-NUmh/docs/images/fr-ca/cdy7uua7fh8z/yobXanutPRCO3FWek8cOk/bc29e39fb8593cff35e2738234bfe6fe/twilio-vault-settings.png?w=1650&fit=max&auto=format&n=yNICntbq2ER-NUmh&q=85&s=7d00a4c87b23b1d57f054f1ef99bbe7c 1650w, https://mintcdn.com/docs-staging-docs-event-stream-action-templates/yNICntbq2ER-NUmh/docs/images/fr-ca/cdy7uua7fh8z/yobXanutPRCO3FWek8cOk/bc29e39fb8593cff35e2738234bfe6fe/twilio-vault-settings.png?w=2500&fit=max&auto=format&n=yNICntbq2ER-NUmh&q=85&s=35313f6e04b506d4817a177f92dc80e1 2500w" />
   </Frame>

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