> ## Documentation Index
> Fetch the complete documentation index at: https://docs-dev-fix-docs-5525.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-fix-docs-5525/s3QHS14Bmv21ITE6/docs/images/fr-ca/cdy7uua7fh8z/1sPNPKO6nuEDCuiYGRWSur/d85dc616170eaf2d7d5f321750863ccf/vault-connections-example.png?fit=max&auto=format&n=s3QHS14Bmv21ITE6&q=85&s=6189b42f8e5bb6e08db1b3189f8f4562" 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-fix-docs-5525/s3QHS14Bmv21ITE6/docs/images/fr-ca/cdy7uua7fh8z/1sPNPKO6nuEDCuiYGRWSur/d85dc616170eaf2d7d5f321750863ccf/vault-connections-example.png?w=280&fit=max&auto=format&n=s3QHS14Bmv21ITE6&q=85&s=e87d25ceace770995bc511c8453a051e 280w, https://mintcdn.com/docs-dev-fix-docs-5525/s3QHS14Bmv21ITE6/docs/images/fr-ca/cdy7uua7fh8z/1sPNPKO6nuEDCuiYGRWSur/d85dc616170eaf2d7d5f321750863ccf/vault-connections-example.png?w=560&fit=max&auto=format&n=s3QHS14Bmv21ITE6&q=85&s=14e0dbebdce508e0f4b021e92b992992 560w, https://mintcdn.com/docs-dev-fix-docs-5525/s3QHS14Bmv21ITE6/docs/images/fr-ca/cdy7uua7fh8z/1sPNPKO6nuEDCuiYGRWSur/d85dc616170eaf2d7d5f321750863ccf/vault-connections-example.png?w=840&fit=max&auto=format&n=s3QHS14Bmv21ITE6&q=85&s=5e57159bc901a3dd7d534419f8ed0bf5 840w, https://mintcdn.com/docs-dev-fix-docs-5525/s3QHS14Bmv21ITE6/docs/images/fr-ca/cdy7uua7fh8z/1sPNPKO6nuEDCuiYGRWSur/d85dc616170eaf2d7d5f321750863ccf/vault-connections-example.png?w=1100&fit=max&auto=format&n=s3QHS14Bmv21ITE6&q=85&s=9aba2d9f18a955d16e327a6bf1254a6f 1100w, https://mintcdn.com/docs-dev-fix-docs-5525/s3QHS14Bmv21ITE6/docs/images/fr-ca/cdy7uua7fh8z/1sPNPKO6nuEDCuiYGRWSur/d85dc616170eaf2d7d5f321750863ccf/vault-connections-example.png?w=1650&fit=max&auto=format&n=s3QHS14Bmv21ITE6&q=85&s=73dac64da5a62b2298465cd89234d345 1650w, https://mintcdn.com/docs-dev-fix-docs-5525/s3QHS14Bmv21ITE6/docs/images/fr-ca/cdy7uua7fh8z/1sPNPKO6nuEDCuiYGRWSur/d85dc616170eaf2d7d5f321750863ccf/vault-connections-example.png?w=2500&fit=max&auto=format&n=s3QHS14Bmv21ITE6&q=85&s=54de60ed640c90ddaa706f8d892b0939 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-fix-docs-5525/a19ZpXu4oJEVkYJh/docs/images/fr-ca/cdy7uua7fh8z/1AsaznhRKxm5LZxPlcbfUw/10e5a8af700aab909f5b03fcd266da7e/twilio-vault-connection.png?fit=max&auto=format&n=a19ZpXu4oJEVkYJh&q=85&s=bba97e85d5f9bc55cd8d9d95e67d007f" 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-fix-docs-5525/a19ZpXu4oJEVkYJh/docs/images/fr-ca/cdy7uua7fh8z/1AsaznhRKxm5LZxPlcbfUw/10e5a8af700aab909f5b03fcd266da7e/twilio-vault-connection.png?w=280&fit=max&auto=format&n=a19ZpXu4oJEVkYJh&q=85&s=5e00432a0d03e63a60af5e0738b9ee2c 280w, https://mintcdn.com/docs-dev-fix-docs-5525/a19ZpXu4oJEVkYJh/docs/images/fr-ca/cdy7uua7fh8z/1AsaznhRKxm5LZxPlcbfUw/10e5a8af700aab909f5b03fcd266da7e/twilio-vault-connection.png?w=560&fit=max&auto=format&n=a19ZpXu4oJEVkYJh&q=85&s=5a4dacaa46ab54480be0308a683e1dd1 560w, https://mintcdn.com/docs-dev-fix-docs-5525/a19ZpXu4oJEVkYJh/docs/images/fr-ca/cdy7uua7fh8z/1AsaznhRKxm5LZxPlcbfUw/10e5a8af700aab909f5b03fcd266da7e/twilio-vault-connection.png?w=840&fit=max&auto=format&n=a19ZpXu4oJEVkYJh&q=85&s=9ee7d751668a2f4559fc66755e1d40b9 840w, https://mintcdn.com/docs-dev-fix-docs-5525/a19ZpXu4oJEVkYJh/docs/images/fr-ca/cdy7uua7fh8z/1AsaznhRKxm5LZxPlcbfUw/10e5a8af700aab909f5b03fcd266da7e/twilio-vault-connection.png?w=1100&fit=max&auto=format&n=a19ZpXu4oJEVkYJh&q=85&s=35e732d6c35befceb227d3f6f40ca16d 1100w, https://mintcdn.com/docs-dev-fix-docs-5525/a19ZpXu4oJEVkYJh/docs/images/fr-ca/cdy7uua7fh8z/1AsaznhRKxm5LZxPlcbfUw/10e5a8af700aab909f5b03fcd266da7e/twilio-vault-connection.png?w=1650&fit=max&auto=format&n=a19ZpXu4oJEVkYJh&q=85&s=c1c6d42ce8822b3b08d87b1741c8bca1 1650w, https://mintcdn.com/docs-dev-fix-docs-5525/a19ZpXu4oJEVkYJh/docs/images/fr-ca/cdy7uua7fh8z/1AsaznhRKxm5LZxPlcbfUw/10e5a8af700aab909f5b03fcd266da7e/twilio-vault-connection.png?w=2500&fit=max&auto=format&n=a19ZpXu4oJEVkYJh&q=85&s=bd15d189b3122220a99e3159e40b649b 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-fix-docs-5525/jLRWNXaw-N8f_8Vz/docs/images/fr-ca/cdy7uua7fh8z/yobXanutPRCO3FWek8cOk/bc29e39fb8593cff35e2738234bfe6fe/twilio-vault-settings.png?fit=max&auto=format&n=jLRWNXaw-N8f_8Vz&q=85&s=fbc95b0951ca624e39c06f121a226d21" 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-fix-docs-5525/jLRWNXaw-N8f_8Vz/docs/images/fr-ca/cdy7uua7fh8z/yobXanutPRCO3FWek8cOk/bc29e39fb8593cff35e2738234bfe6fe/twilio-vault-settings.png?w=280&fit=max&auto=format&n=jLRWNXaw-N8f_8Vz&q=85&s=02f29463cf9cf9349185996ddee05c74 280w, https://mintcdn.com/docs-dev-fix-docs-5525/jLRWNXaw-N8f_8Vz/docs/images/fr-ca/cdy7uua7fh8z/yobXanutPRCO3FWek8cOk/bc29e39fb8593cff35e2738234bfe6fe/twilio-vault-settings.png?w=560&fit=max&auto=format&n=jLRWNXaw-N8f_8Vz&q=85&s=d6e21301328129957700641d108b2e3c 560w, https://mintcdn.com/docs-dev-fix-docs-5525/jLRWNXaw-N8f_8Vz/docs/images/fr-ca/cdy7uua7fh8z/yobXanutPRCO3FWek8cOk/bc29e39fb8593cff35e2738234bfe6fe/twilio-vault-settings.png?w=840&fit=max&auto=format&n=jLRWNXaw-N8f_8Vz&q=85&s=e22ea3e6aeed4472580e231b5ad075b9 840w, https://mintcdn.com/docs-dev-fix-docs-5525/jLRWNXaw-N8f_8Vz/docs/images/fr-ca/cdy7uua7fh8z/yobXanutPRCO3FWek8cOk/bc29e39fb8593cff35e2738234bfe6fe/twilio-vault-settings.png?w=1100&fit=max&auto=format&n=jLRWNXaw-N8f_8Vz&q=85&s=daa7f1427d480898be81b90a6968c1a6 1100w, https://mintcdn.com/docs-dev-fix-docs-5525/jLRWNXaw-N8f_8Vz/docs/images/fr-ca/cdy7uua7fh8z/yobXanutPRCO3FWek8cOk/bc29e39fb8593cff35e2738234bfe6fe/twilio-vault-settings.png?w=1650&fit=max&auto=format&n=jLRWNXaw-N8f_8Vz&q=85&s=f8d58648a8b0358860bc4b37b996d6ed 1650w, https://mintcdn.com/docs-dev-fix-docs-5525/jLRWNXaw-N8f_8Vz/docs/images/fr-ca/cdy7uua7fh8z/yobXanutPRCO3FWek8cOk/bc29e39fb8593cff35e2738234bfe6fe/twilio-vault-settings.png?w=2500&fit=max&auto=format&n=jLRWNXaw-N8f_8Vz&q=85&s=f1503d2b43799fc445ee4ac4da68ba6c 2500w" />
   </Frame>

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