> ## Documentation Index
> Fetch the complete documentation index at: https://docs-staging-fix-details-to-accordion-universal-components.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

> Learn how to store Flows integration credentials in the Vault to reference them during Forms runtime.

# Vaults

The vault lets you securely store secrets or common settings (for example: API keys, <Tooltip tip="Access Token: Authorization credential, in the form of an opaque string or JWT, used to access an API." cta="View Glossary" href="/docs/glossary?term=access+tokens">access tokens</Tooltip>, <Tooltip tip="Access Token: Authorization credential, in the form of an opaque string or JWT, used to access an API." cta="View Glossary" href="/docs/glossary?term=refresh+tokens">refresh tokens</Tooltip>) to authenticate requests with external services or integrations as vault connections.

<Callout icon="file-lines" color="#0EA5E9" iconType="regular">
  * There are connections that require the user to provide credentials (for example, with an Auth0 with a machine-to-machine (M2M) application, you generate an access token with an expiration time and a refresh token). The connection stores both tokens and generates a new access token before it expires.
  * There are external services that require authorizing scopes to generate API credentials. If you change the scopes, update the connection to those services to avoid connection issues.
  * When a connection is added, it is ready to use in your flows. Any updates to an existing connection will propagate automatically.
</Callout>

## Create and modify vault connections

Create and modify vault connections from the vault page or from the flow editor when an action requires credentials.

### Create vault connections from the vault page

Add a vault connection from the vault page by following these steps:

1. Open the Form editor by selecting **Auth0 Dashboard > Actions > Forms.**
2. From the top left corner, select the tenant menu, and then **Vault** to open the vault page.

   <Frame>
     <img src="https://mintcdn.com/docs-staging-fix-details-to-accordion-universal-components/d6AiQOi9XnEZ--1T/docs/images/cdy7uua7fh8z/1sPNPKO6nuEDCuiYGRWSur/d85dc616170eaf2d7d5f321750863ccf/vault-connection.png?fit=max&auto=format&n=d6AiQOi9XnEZ--1T&q=85&s=148536350528096b97aac6930b94b4cf" alt="Dashboard > Forms > Vault" data-og-width="700" width="700" data-og-height="324" height="324" data-path="docs/images/cdy7uua7fh8z/1sPNPKO6nuEDCuiYGRWSur/d85dc616170eaf2d7d5f321750863ccf/vault-connection.png" data-optimize="true" data-opv="3" srcset="https://mintcdn.com/docs-staging-fix-details-to-accordion-universal-components/d6AiQOi9XnEZ--1T/docs/images/cdy7uua7fh8z/1sPNPKO6nuEDCuiYGRWSur/d85dc616170eaf2d7d5f321750863ccf/vault-connection.png?w=280&fit=max&auto=format&n=d6AiQOi9XnEZ--1T&q=85&s=c4a64df6dfa042e5ffbefe7f1da6a965 280w, https://mintcdn.com/docs-staging-fix-details-to-accordion-universal-components/d6AiQOi9XnEZ--1T/docs/images/cdy7uua7fh8z/1sPNPKO6nuEDCuiYGRWSur/d85dc616170eaf2d7d5f321750863ccf/vault-connection.png?w=560&fit=max&auto=format&n=d6AiQOi9XnEZ--1T&q=85&s=5fe86f856b08c280986710850b256b1c 560w, https://mintcdn.com/docs-staging-fix-details-to-accordion-universal-components/d6AiQOi9XnEZ--1T/docs/images/cdy7uua7fh8z/1sPNPKO6nuEDCuiYGRWSur/d85dc616170eaf2d7d5f321750863ccf/vault-connection.png?w=840&fit=max&auto=format&n=d6AiQOi9XnEZ--1T&q=85&s=f943b9f0eaa7c4b12172cffb6966b65d 840w, https://mintcdn.com/docs-staging-fix-details-to-accordion-universal-components/d6AiQOi9XnEZ--1T/docs/images/cdy7uua7fh8z/1sPNPKO6nuEDCuiYGRWSur/d85dc616170eaf2d7d5f321750863ccf/vault-connection.png?w=1100&fit=max&auto=format&n=d6AiQOi9XnEZ--1T&q=85&s=7e1e10d1e1422471aac510eb4b7ac0f8 1100w, https://mintcdn.com/docs-staging-fix-details-to-accordion-universal-components/d6AiQOi9XnEZ--1T/docs/images/cdy7uua7fh8z/1sPNPKO6nuEDCuiYGRWSur/d85dc616170eaf2d7d5f321750863ccf/vault-connection.png?w=1650&fit=max&auto=format&n=d6AiQOi9XnEZ--1T&q=85&s=68ce587f0cd44865c9ef58b4e613d904 1650w, https://mintcdn.com/docs-staging-fix-details-to-accordion-universal-components/d6AiQOi9XnEZ--1T/docs/images/cdy7uua7fh8z/1sPNPKO6nuEDCuiYGRWSur/d85dc616170eaf2d7d5f321750863ccf/vault-connection.png?w=2500&fit=max&auto=format&n=d6AiQOi9XnEZ--1T&q=85&s=688c5ad67cc92ff2bcbaef26ba8f46be 2500w" />
   </Frame>
3. Select **Add Vault Connection**.
4. Select the desired action and **Continue**.
5. Add a vault **Connection name** and select **Continue**.
6. Enter the credentials.
   If you don't have the specific credentials, you can select **Create an empty connection** and add the credentials later. Empty connections have an orange icon indicating missing credentials.
7. select **Add Vault Connection**.

### Create vault connections from the flow editor

Add a vault connection from a flow action, for example: Twilio by following these steps:

1. Open the Flow editor by selecting **Auth0 Dashboard > Actions > Forms > Flows**
2. Select a flow and add a **Send SMS with Twilio** action.
3. From the **Vault connection** setting of the action, select the **+** Icon.

   <Frame>
     <img src="https://mintcdn.com/docs-staging-fix-details-to-accordion-universal-components/Pp6KxkNv73XpUf57/docs/images/cdy7uua7fh8z/1AsaznhRKxm5LZxPlcbfUw/10e5a8af700aab909f5b03fcd266da7e/twilio-vault-connection.png?fit=max&auto=format&n=Pp6KxkNv73XpUf57&q=85&s=092ae8d244297e2803bcf9fc6e483a43" alt="Dashboard > Forms > Vault " data-og-width="1104" width="1104" data-og-height="191" height="191" data-path="docs/images/cdy7uua7fh8z/1AsaznhRKxm5LZxPlcbfUw/10e5a8af700aab909f5b03fcd266da7e/twilio-vault-connection.png" data-optimize="true" data-opv="3" srcset="https://mintcdn.com/docs-staging-fix-details-to-accordion-universal-components/Pp6KxkNv73XpUf57/docs/images/cdy7uua7fh8z/1AsaznhRKxm5LZxPlcbfUw/10e5a8af700aab909f5b03fcd266da7e/twilio-vault-connection.png?w=280&fit=max&auto=format&n=Pp6KxkNv73XpUf57&q=85&s=c725d64f862267e20014ba364b6832a9 280w, https://mintcdn.com/docs-staging-fix-details-to-accordion-universal-components/Pp6KxkNv73XpUf57/docs/images/cdy7uua7fh8z/1AsaznhRKxm5LZxPlcbfUw/10e5a8af700aab909f5b03fcd266da7e/twilio-vault-connection.png?w=560&fit=max&auto=format&n=Pp6KxkNv73XpUf57&q=85&s=b4fa939e46c014b6faf52f1bca839c73 560w, https://mintcdn.com/docs-staging-fix-details-to-accordion-universal-components/Pp6KxkNv73XpUf57/docs/images/cdy7uua7fh8z/1AsaznhRKxm5LZxPlcbfUw/10e5a8af700aab909f5b03fcd266da7e/twilio-vault-connection.png?w=840&fit=max&auto=format&n=Pp6KxkNv73XpUf57&q=85&s=3e76b31d21ecad16650d69c69d4340ce 840w, https://mintcdn.com/docs-staging-fix-details-to-accordion-universal-components/Pp6KxkNv73XpUf57/docs/images/cdy7uua7fh8z/1AsaznhRKxm5LZxPlcbfUw/10e5a8af700aab909f5b03fcd266da7e/twilio-vault-connection.png?w=1100&fit=max&auto=format&n=Pp6KxkNv73XpUf57&q=85&s=f5d87257bfdaf60cdd762ed5aabaa11e 1100w, https://mintcdn.com/docs-staging-fix-details-to-accordion-universal-components/Pp6KxkNv73XpUf57/docs/images/cdy7uua7fh8z/1AsaznhRKxm5LZxPlcbfUw/10e5a8af700aab909f5b03fcd266da7e/twilio-vault-connection.png?w=1650&fit=max&auto=format&n=Pp6KxkNv73XpUf57&q=85&s=aed9c28910820ff7971bf702d1a33f21 1650w, https://mintcdn.com/docs-staging-fix-details-to-accordion-universal-components/Pp6KxkNv73XpUf57/docs/images/cdy7uua7fh8z/1AsaznhRKxm5LZxPlcbfUw/10e5a8af700aab909f5b03fcd266da7e/twilio-vault-connection.png?w=2500&fit=max&auto=format&n=Pp6KxkNv73XpUf57&q=85&s=2db1c296fd2ee1cd79a96b21a785b8fe 2500w" />
   </Frame>
4. Add a vault **Connection name** and select **Continue**.
5. Enter the credentials.
   If you don't have the specific credentials, you can select **Create an empty connection** and add the credentials later. Empty connections have an orange icon indicating missing credentials.

   <Frame>
     <img src="https://mintcdn.com/docs-staging-fix-details-to-accordion-universal-components/8S_oOIFNz4helbdR/docs/images/cdy7uua7fh8z/yobXanutPRCO3FWek8cOk/bc29e39fb8593cff35e2738234bfe6fe/twilio-vault-settings.png?fit=max&auto=format&n=8S_oOIFNz4helbdR&q=85&s=046827f77f6570bd646c16820d80db47" alt="Dashboard > Forms > Vault > Twilio connection settings" data-og-width="1369" width="1369" data-og-height="491" height="491" data-path="docs/images/cdy7uua7fh8z/yobXanutPRCO3FWek8cOk/bc29e39fb8593cff35e2738234bfe6fe/twilio-vault-settings.png" data-optimize="true" data-opv="3" srcset="https://mintcdn.com/docs-staging-fix-details-to-accordion-universal-components/8S_oOIFNz4helbdR/docs/images/cdy7uua7fh8z/yobXanutPRCO3FWek8cOk/bc29e39fb8593cff35e2738234bfe6fe/twilio-vault-settings.png?w=280&fit=max&auto=format&n=8S_oOIFNz4helbdR&q=85&s=6bcc31a17edd01917422ab6b229a9fc5 280w, https://mintcdn.com/docs-staging-fix-details-to-accordion-universal-components/8S_oOIFNz4helbdR/docs/images/cdy7uua7fh8z/yobXanutPRCO3FWek8cOk/bc29e39fb8593cff35e2738234bfe6fe/twilio-vault-settings.png?w=560&fit=max&auto=format&n=8S_oOIFNz4helbdR&q=85&s=a2f4064a0d5d8a3fce1dfad334583840 560w, https://mintcdn.com/docs-staging-fix-details-to-accordion-universal-components/8S_oOIFNz4helbdR/docs/images/cdy7uua7fh8z/yobXanutPRCO3FWek8cOk/bc29e39fb8593cff35e2738234bfe6fe/twilio-vault-settings.png?w=840&fit=max&auto=format&n=8S_oOIFNz4helbdR&q=85&s=d6b6d660991f1f3be7af91b2a5001d2c 840w, https://mintcdn.com/docs-staging-fix-details-to-accordion-universal-components/8S_oOIFNz4helbdR/docs/images/cdy7uua7fh8z/yobXanutPRCO3FWek8cOk/bc29e39fb8593cff35e2738234bfe6fe/twilio-vault-settings.png?w=1100&fit=max&auto=format&n=8S_oOIFNz4helbdR&q=85&s=516bdb2ea90ae119185941e4a5fd024e 1100w, https://mintcdn.com/docs-staging-fix-details-to-accordion-universal-components/8S_oOIFNz4helbdR/docs/images/cdy7uua7fh8z/yobXanutPRCO3FWek8cOk/bc29e39fb8593cff35e2738234bfe6fe/twilio-vault-settings.png?w=1650&fit=max&auto=format&n=8S_oOIFNz4helbdR&q=85&s=6ed53eae18c6db3a4b6f98024d939351 1650w, https://mintcdn.com/docs-staging-fix-details-to-accordion-universal-components/8S_oOIFNz4helbdR/docs/images/cdy7uua7fh8z/yobXanutPRCO3FWek8cOk/bc29e39fb8593cff35e2738234bfe6fe/twilio-vault-settings.png?w=2500&fit=max&auto=format&n=8S_oOIFNz4helbdR&q=85&s=80e41cf07d9472f4684018f8926e115a 2500w" />
   </Frame>
6. Select **Add Vault Connection.**
