> ## Documentation Index
> Fetch the complete documentation index at: https://docs-staging-feat-universal-portals.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-feat-universal-portals/AaML4mi9lSbyLX_o/docs/images/fr-ca/cdy7uua7fh8z/1sPNPKO6nuEDCuiYGRWSur/d85dc616170eaf2d7d5f321750863ccf/vault-connections-example.png?fit=max&auto=format&n=AaML4mi9lSbyLX_o&q=85&s=216bdff67d903c1e8460069a266e6807" 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-feat-universal-portals/AaML4mi9lSbyLX_o/docs/images/fr-ca/cdy7uua7fh8z/1sPNPKO6nuEDCuiYGRWSur/d85dc616170eaf2d7d5f321750863ccf/vault-connections-example.png?w=280&fit=max&auto=format&n=AaML4mi9lSbyLX_o&q=85&s=2d16ffbf7b10236d2d6776eb30215d60 280w, https://mintcdn.com/docs-staging-feat-universal-portals/AaML4mi9lSbyLX_o/docs/images/fr-ca/cdy7uua7fh8z/1sPNPKO6nuEDCuiYGRWSur/d85dc616170eaf2d7d5f321750863ccf/vault-connections-example.png?w=560&fit=max&auto=format&n=AaML4mi9lSbyLX_o&q=85&s=d0f105f8f6c6bebd4112b1f043f708d5 560w, https://mintcdn.com/docs-staging-feat-universal-portals/AaML4mi9lSbyLX_o/docs/images/fr-ca/cdy7uua7fh8z/1sPNPKO6nuEDCuiYGRWSur/d85dc616170eaf2d7d5f321750863ccf/vault-connections-example.png?w=840&fit=max&auto=format&n=AaML4mi9lSbyLX_o&q=85&s=4b84b04f1952b62ea2dd6612a75e4165 840w, https://mintcdn.com/docs-staging-feat-universal-portals/AaML4mi9lSbyLX_o/docs/images/fr-ca/cdy7uua7fh8z/1sPNPKO6nuEDCuiYGRWSur/d85dc616170eaf2d7d5f321750863ccf/vault-connections-example.png?w=1100&fit=max&auto=format&n=AaML4mi9lSbyLX_o&q=85&s=48868297fd6de360d604cd8892804396 1100w, https://mintcdn.com/docs-staging-feat-universal-portals/AaML4mi9lSbyLX_o/docs/images/fr-ca/cdy7uua7fh8z/1sPNPKO6nuEDCuiYGRWSur/d85dc616170eaf2d7d5f321750863ccf/vault-connections-example.png?w=1650&fit=max&auto=format&n=AaML4mi9lSbyLX_o&q=85&s=d9152cda1ab0a25f0b5693c80a4663c7 1650w, https://mintcdn.com/docs-staging-feat-universal-portals/AaML4mi9lSbyLX_o/docs/images/fr-ca/cdy7uua7fh8z/1sPNPKO6nuEDCuiYGRWSur/d85dc616170eaf2d7d5f321750863ccf/vault-connections-example.png?w=2500&fit=max&auto=format&n=AaML4mi9lSbyLX_o&q=85&s=481b6e0c34c35f0cc0a04e585d687ead 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-feat-universal-portals/3YuKIPj8Ht8PswwT/docs/images/fr-ca/cdy7uua7fh8z/1AsaznhRKxm5LZxPlcbfUw/10e5a8af700aab909f5b03fcd266da7e/twilio-vault-connection.png?fit=max&auto=format&n=3YuKIPj8Ht8PswwT&q=85&s=75dac4f33a8a9749a17569770e24745b" 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-feat-universal-portals/3YuKIPj8Ht8PswwT/docs/images/fr-ca/cdy7uua7fh8z/1AsaznhRKxm5LZxPlcbfUw/10e5a8af700aab909f5b03fcd266da7e/twilio-vault-connection.png?w=280&fit=max&auto=format&n=3YuKIPj8Ht8PswwT&q=85&s=86bb9b2ac869c74b9b92fa6521ea2c07 280w, https://mintcdn.com/docs-staging-feat-universal-portals/3YuKIPj8Ht8PswwT/docs/images/fr-ca/cdy7uua7fh8z/1AsaznhRKxm5LZxPlcbfUw/10e5a8af700aab909f5b03fcd266da7e/twilio-vault-connection.png?w=560&fit=max&auto=format&n=3YuKIPj8Ht8PswwT&q=85&s=c82e83d4a460a4079081272acc7236e0 560w, https://mintcdn.com/docs-staging-feat-universal-portals/3YuKIPj8Ht8PswwT/docs/images/fr-ca/cdy7uua7fh8z/1AsaznhRKxm5LZxPlcbfUw/10e5a8af700aab909f5b03fcd266da7e/twilio-vault-connection.png?w=840&fit=max&auto=format&n=3YuKIPj8Ht8PswwT&q=85&s=c390cfd7377b62d6f73656b2015b6925 840w, https://mintcdn.com/docs-staging-feat-universal-portals/3YuKIPj8Ht8PswwT/docs/images/fr-ca/cdy7uua7fh8z/1AsaznhRKxm5LZxPlcbfUw/10e5a8af700aab909f5b03fcd266da7e/twilio-vault-connection.png?w=1100&fit=max&auto=format&n=3YuKIPj8Ht8PswwT&q=85&s=20c7c38bf43cee484a6213c9ddc90ee7 1100w, https://mintcdn.com/docs-staging-feat-universal-portals/3YuKIPj8Ht8PswwT/docs/images/fr-ca/cdy7uua7fh8z/1AsaznhRKxm5LZxPlcbfUw/10e5a8af700aab909f5b03fcd266da7e/twilio-vault-connection.png?w=1650&fit=max&auto=format&n=3YuKIPj8Ht8PswwT&q=85&s=70130ab986c418a2cbe56076f7c7af86 1650w, https://mintcdn.com/docs-staging-feat-universal-portals/3YuKIPj8Ht8PswwT/docs/images/fr-ca/cdy7uua7fh8z/1AsaznhRKxm5LZxPlcbfUw/10e5a8af700aab909f5b03fcd266da7e/twilio-vault-connection.png?w=2500&fit=max&auto=format&n=3YuKIPj8Ht8PswwT&q=85&s=cb50ddf6eb91e28bb5ce75125982f252 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-feat-universal-portals/llXtzAn41rYAEInj/docs/images/fr-ca/cdy7uua7fh8z/yobXanutPRCO3FWek8cOk/bc29e39fb8593cff35e2738234bfe6fe/twilio-vault-settings.png?fit=max&auto=format&n=llXtzAn41rYAEInj&q=85&s=670d7049c0fa5be18171589443bb0cf9" 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-feat-universal-portals/llXtzAn41rYAEInj/docs/images/fr-ca/cdy7uua7fh8z/yobXanutPRCO3FWek8cOk/bc29e39fb8593cff35e2738234bfe6fe/twilio-vault-settings.png?w=280&fit=max&auto=format&n=llXtzAn41rYAEInj&q=85&s=d6966e73010687bccf91d3058de13fd3 280w, https://mintcdn.com/docs-staging-feat-universal-portals/llXtzAn41rYAEInj/docs/images/fr-ca/cdy7uua7fh8z/yobXanutPRCO3FWek8cOk/bc29e39fb8593cff35e2738234bfe6fe/twilio-vault-settings.png?w=560&fit=max&auto=format&n=llXtzAn41rYAEInj&q=85&s=68d3c6e6e29d10d3b92445a4053c9f05 560w, https://mintcdn.com/docs-staging-feat-universal-portals/llXtzAn41rYAEInj/docs/images/fr-ca/cdy7uua7fh8z/yobXanutPRCO3FWek8cOk/bc29e39fb8593cff35e2738234bfe6fe/twilio-vault-settings.png?w=840&fit=max&auto=format&n=llXtzAn41rYAEInj&q=85&s=60a46694d6b8070800e5795409a7a12c 840w, https://mintcdn.com/docs-staging-feat-universal-portals/llXtzAn41rYAEInj/docs/images/fr-ca/cdy7uua7fh8z/yobXanutPRCO3FWek8cOk/bc29e39fb8593cff35e2738234bfe6fe/twilio-vault-settings.png?w=1100&fit=max&auto=format&n=llXtzAn41rYAEInj&q=85&s=ef3f7da6636270dfbe634c1078fec51e 1100w, https://mintcdn.com/docs-staging-feat-universal-portals/llXtzAn41rYAEInj/docs/images/fr-ca/cdy7uua7fh8z/yobXanutPRCO3FWek8cOk/bc29e39fb8593cff35e2738234bfe6fe/twilio-vault-settings.png?w=1650&fit=max&auto=format&n=llXtzAn41rYAEInj&q=85&s=e441b01d563c84448a4e691068a64c3f 1650w, https://mintcdn.com/docs-staging-feat-universal-portals/llXtzAn41rYAEInj/docs/images/fr-ca/cdy7uua7fh8z/yobXanutPRCO3FWek8cOk/bc29e39fb8593cff35e2738234bfe6fe/twilio-vault-settings.png?w=2500&fit=max&auto=format&n=llXtzAn41rYAEInj&q=85&s=5c917ac4bf9c68b6548799126ad66c24 2500w" />
   </Frame>

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