> ## Documentation Index
> Fetch the complete documentation index at: https://docs-dev-docs-add-auth0-cli-management-api-examples.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

> Learn how to configure your HTTP Vault Connections to authorize HTTP requests to external APIs or services.

# HTTP Vault Connection

## Configure your HTTP Vault Connection Options

HTTP Vault Connection can be configure with different authentication options and then be used at your HTTP Request Flow Actions.

<Frame>
  <img src="https://mintcdn.com/docs-dev-docs-add-auth0-cli-management-api-examples/QsfdoL0ZWmASRA0n/docs/images/customize/forms/vaults/http-vault-connection-options.png?fit=max&auto=format&n=QsfdoL0ZWmASRA0n&q=85&s=ccf382134aa43758d6651a15993a6818" alt="Dashboard > Actions > Forms > Vault > HTTP" data-og-width="801" width="801" data-og-height="383" height="383" data-path="docs/images/customize/forms/vaults/http-vault-connection-options.png" data-optimize="true" data-opv="3" srcset="https://mintcdn.com/docs-dev-docs-add-auth0-cli-management-api-examples/QsfdoL0ZWmASRA0n/docs/images/customize/forms/vaults/http-vault-connection-options.png?w=280&fit=max&auto=format&n=QsfdoL0ZWmASRA0n&q=85&s=081167a2ccc8da57c6fb0fa2a6084d8e 280w, https://mintcdn.com/docs-dev-docs-add-auth0-cli-management-api-examples/QsfdoL0ZWmASRA0n/docs/images/customize/forms/vaults/http-vault-connection-options.png?w=560&fit=max&auto=format&n=QsfdoL0ZWmASRA0n&q=85&s=52af3485193458dfd269a6688dbdaf04 560w, https://mintcdn.com/docs-dev-docs-add-auth0-cli-management-api-examples/QsfdoL0ZWmASRA0n/docs/images/customize/forms/vaults/http-vault-connection-options.png?w=840&fit=max&auto=format&n=QsfdoL0ZWmASRA0n&q=85&s=01d0ebe10d1389d5d6376983da0d5310 840w, https://mintcdn.com/docs-dev-docs-add-auth0-cli-management-api-examples/QsfdoL0ZWmASRA0n/docs/images/customize/forms/vaults/http-vault-connection-options.png?w=1100&fit=max&auto=format&n=QsfdoL0ZWmASRA0n&q=85&s=5d8bbb8d40eff636ee8f494c8a099af1 1100w, https://mintcdn.com/docs-dev-docs-add-auth0-cli-management-api-examples/QsfdoL0ZWmASRA0n/docs/images/customize/forms/vaults/http-vault-connection-options.png?w=1650&fit=max&auto=format&n=QsfdoL0ZWmASRA0n&q=85&s=3e23c24d566a6cb16922244b560df822 1650w, https://mintcdn.com/docs-dev-docs-add-auth0-cli-management-api-examples/QsfdoL0ZWmASRA0n/docs/images/customize/forms/vaults/http-vault-connection-options.png?w=2500&fit=max&auto=format&n=QsfdoL0ZWmASRA0n&q=85&s=7b1bced52cdeb063a7c658127fb5a93b 2500w" />
</Frame>

## Configure your HTTP Vault Connection for Bearer Token

To configure a HTTP Vault Connection using **Bearer Token** authorization, you need to set the required parameters.

<Frame>
  <img src="https://mintcdn.com/docs-dev-docs-add-auth0-cli-management-api-examples/QsfdoL0ZWmASRA0n/docs/images/customize/forms/vaults/http-vault-connection-bearer-token.png?fit=max&auto=format&n=QsfdoL0ZWmASRA0n&q=85&s=70498a047dd7c066dc72742f3bd7212e" alt="Dashboard > Actions > Forms > Vault > HTTP" data-og-width="800" width="800" data-og-height="307" height="307" data-path="docs/images/customize/forms/vaults/http-vault-connection-bearer-token.png" data-optimize="true" data-opv="3" srcset="https://mintcdn.com/docs-dev-docs-add-auth0-cli-management-api-examples/QsfdoL0ZWmASRA0n/docs/images/customize/forms/vaults/http-vault-connection-bearer-token.png?w=280&fit=max&auto=format&n=QsfdoL0ZWmASRA0n&q=85&s=cd6acd75b0d430a3fa3c8657af4e5dfd 280w, https://mintcdn.com/docs-dev-docs-add-auth0-cli-management-api-examples/QsfdoL0ZWmASRA0n/docs/images/customize/forms/vaults/http-vault-connection-bearer-token.png?w=560&fit=max&auto=format&n=QsfdoL0ZWmASRA0n&q=85&s=74b7905e7e7825d9f65927d6951e0f76 560w, https://mintcdn.com/docs-dev-docs-add-auth0-cli-management-api-examples/QsfdoL0ZWmASRA0n/docs/images/customize/forms/vaults/http-vault-connection-bearer-token.png?w=840&fit=max&auto=format&n=QsfdoL0ZWmASRA0n&q=85&s=88ba5205ce380fdb98fbdf32af7be540 840w, https://mintcdn.com/docs-dev-docs-add-auth0-cli-management-api-examples/QsfdoL0ZWmASRA0n/docs/images/customize/forms/vaults/http-vault-connection-bearer-token.png?w=1100&fit=max&auto=format&n=QsfdoL0ZWmASRA0n&q=85&s=afcd9ef8d3543c5669e91d530f20e185 1100w, https://mintcdn.com/docs-dev-docs-add-auth0-cli-management-api-examples/QsfdoL0ZWmASRA0n/docs/images/customize/forms/vaults/http-vault-connection-bearer-token.png?w=1650&fit=max&auto=format&n=QsfdoL0ZWmASRA0n&q=85&s=fa5b2a4850b3a016752caa2183c601ed 1650w, https://mintcdn.com/docs-dev-docs-add-auth0-cli-management-api-examples/QsfdoL0ZWmASRA0n/docs/images/customize/forms/vaults/http-vault-connection-bearer-token.png?w=2500&fit=max&auto=format&n=QsfdoL0ZWmASRA0n&q=85&s=a0d11ea7b21c2243d800003538f5f565 2500w" />
</Frame>

### Input settings

| Parameter    | Description                                           |
| ------------ | ----------------------------------------------------- |
| Bearer Token | Static token used for external service authorization. |

## Configure your HTTP Vault Connection for OAuth Client Credentials

To configure a HTTP Vault Connection using **Client Credentials** authorization, you need to set the required parameters.

<Frame>
  <img src="https://mintcdn.com/docs-dev-docs-add-auth0-cli-management-api-examples/QsfdoL0ZWmASRA0n/docs/images/customize/forms/vaults/http-vault-connection-oauth-client-credentials.png?fit=max&auto=format&n=QsfdoL0ZWmASRA0n&q=85&s=cea2d1babea38cc190a3b75f25f8d36a" alt="Dashboard > Actions > Forms > Vault > HTTP " data-og-width="804" width="804" data-og-height="838" height="838" data-path="docs/images/customize/forms/vaults/http-vault-connection-oauth-client-credentials.png" data-optimize="true" data-opv="3" srcset="https://mintcdn.com/docs-dev-docs-add-auth0-cli-management-api-examples/QsfdoL0ZWmASRA0n/docs/images/customize/forms/vaults/http-vault-connection-oauth-client-credentials.png?w=280&fit=max&auto=format&n=QsfdoL0ZWmASRA0n&q=85&s=522a6ea179c5bd9f12b61225195f270b 280w, https://mintcdn.com/docs-dev-docs-add-auth0-cli-management-api-examples/QsfdoL0ZWmASRA0n/docs/images/customize/forms/vaults/http-vault-connection-oauth-client-credentials.png?w=560&fit=max&auto=format&n=QsfdoL0ZWmASRA0n&q=85&s=9c673f49cbc57bbba331d9b741c74f61 560w, https://mintcdn.com/docs-dev-docs-add-auth0-cli-management-api-examples/QsfdoL0ZWmASRA0n/docs/images/customize/forms/vaults/http-vault-connection-oauth-client-credentials.png?w=840&fit=max&auto=format&n=QsfdoL0ZWmASRA0n&q=85&s=fd287627d4dc857ff082d6720c6cedd3 840w, https://mintcdn.com/docs-dev-docs-add-auth0-cli-management-api-examples/QsfdoL0ZWmASRA0n/docs/images/customize/forms/vaults/http-vault-connection-oauth-client-credentials.png?w=1100&fit=max&auto=format&n=QsfdoL0ZWmASRA0n&q=85&s=28f2fdd115ef1a0cab5257209e8307ce 1100w, https://mintcdn.com/docs-dev-docs-add-auth0-cli-management-api-examples/QsfdoL0ZWmASRA0n/docs/images/customize/forms/vaults/http-vault-connection-oauth-client-credentials.png?w=1650&fit=max&auto=format&n=QsfdoL0ZWmASRA0n&q=85&s=6c7a95ad0b53c572b8d17fb3f829ab96 1650w, https://mintcdn.com/docs-dev-docs-add-auth0-cli-management-api-examples/QsfdoL0ZWmASRA0n/docs/images/customize/forms/vaults/http-vault-connection-oauth-client-credentials.png?w=2500&fit=max&auto=format&n=QsfdoL0ZWmASRA0n&q=85&s=ad63fff043a5e078ee638da48639c923 2500w" />
</Frame>

### Input settings

| Parameter           | Description                                                               |
| ------------------- | ------------------------------------------------------------------------- |
| Tenant Endpoint     | Tenant Endpoint of the Authorization Server issuing the Access Tokens.    |
| Client ID           | Client ID of your M2M Application authorized for Custom API.              |
| Client Secret       | Client Secret of your M2M Application authorized for Custom API.          |
| Audience (Optional) | Custom API Audience. Normally used for Custom APIs defined in Auth0.      |
| Resource (Optional) | Custom API Resource. Standard parameter with similar meaning of Audience. |
| Scope (Optional)    | Scope list in string format separated by spaces.                          |

## Configure your HTTP Vault Connection for API Key

To configure a HTTP Vault Connection using **API Key** authorization, you need to set the required parameters.

<Frame>
  <img src="https://mintcdn.com/docs-dev-docs-add-auth0-cli-management-api-examples/QsfdoL0ZWmASRA0n/docs/images/customize/forms/vaults/http-vault-connection-api-key.png?fit=max&auto=format&n=QsfdoL0ZWmASRA0n&q=85&s=2a70eabc50424c363c31348ac01ad302" alt="Dashboard > Actions > Forms > Vault > HTTP " data-og-width="802" width="802" data-og-height="491" height="491" data-path="docs/images/customize/forms/vaults/http-vault-connection-api-key.png" data-optimize="true" data-opv="3" srcset="https://mintcdn.com/docs-dev-docs-add-auth0-cli-management-api-examples/QsfdoL0ZWmASRA0n/docs/images/customize/forms/vaults/http-vault-connection-api-key.png?w=280&fit=max&auto=format&n=QsfdoL0ZWmASRA0n&q=85&s=dc6900c0362358d902bbc63851369052 280w, https://mintcdn.com/docs-dev-docs-add-auth0-cli-management-api-examples/QsfdoL0ZWmASRA0n/docs/images/customize/forms/vaults/http-vault-connection-api-key.png?w=560&fit=max&auto=format&n=QsfdoL0ZWmASRA0n&q=85&s=6214783f6cad9e70674d0ccc200f1ba0 560w, https://mintcdn.com/docs-dev-docs-add-auth0-cli-management-api-examples/QsfdoL0ZWmASRA0n/docs/images/customize/forms/vaults/http-vault-connection-api-key.png?w=840&fit=max&auto=format&n=QsfdoL0ZWmASRA0n&q=85&s=e216bbeb1f638d87baed7a791fd0e6c5 840w, https://mintcdn.com/docs-dev-docs-add-auth0-cli-management-api-examples/QsfdoL0ZWmASRA0n/docs/images/customize/forms/vaults/http-vault-connection-api-key.png?w=1100&fit=max&auto=format&n=QsfdoL0ZWmASRA0n&q=85&s=6d6eb8279d1ff324fac9a56caaaedb10 1100w, https://mintcdn.com/docs-dev-docs-add-auth0-cli-management-api-examples/QsfdoL0ZWmASRA0n/docs/images/customize/forms/vaults/http-vault-connection-api-key.png?w=1650&fit=max&auto=format&n=QsfdoL0ZWmASRA0n&q=85&s=ca0a6e45427795727c490ba403ab169f 1650w, https://mintcdn.com/docs-dev-docs-add-auth0-cli-management-api-examples/QsfdoL0ZWmASRA0n/docs/images/customize/forms/vaults/http-vault-connection-api-key.png?w=2500&fit=max&auto=format&n=QsfdoL0ZWmASRA0n&q=85&s=c6f91e9ce107bd51098752d19331b3cc 2500w" />
</Frame>

### Input settings

| Parameter | Description                                                                                  |
| --------- | -------------------------------------------------------------------------------------------- |
| Name      | API Key name to be added as Header or Query parameter.                                       |
| Value     | API Key value to be added as Header or Query parameter.                                      |
| Add To    | By default, it's Header. Determines whether to add the API Key as Header or Query parameter. |

## Configure your HTTP Vault Connection for Basic Authentication

To configure a HTTP Vault Connection using **Basic Auth** authorization, you need to set the required parameters.

<Frame>
  <img src="https://mintcdn.com/docs-dev-docs-add-auth0-cli-management-api-examples/QsfdoL0ZWmASRA0n/docs/images/customize/forms/vaults/http-vault-connection-basic-authentication.png?fit=max&auto=format&n=QsfdoL0ZWmASRA0n&q=85&s=c9f7195f8d2ee6752091cc6e9ddd7f83" alt="Dashboard > Actions > Forms > Vault > HTTP " data-og-width="802" width="802" data-og-height="402" height="402" data-path="docs/images/customize/forms/vaults/http-vault-connection-basic-authentication.png" data-optimize="true" data-opv="3" srcset="https://mintcdn.com/docs-dev-docs-add-auth0-cli-management-api-examples/QsfdoL0ZWmASRA0n/docs/images/customize/forms/vaults/http-vault-connection-basic-authentication.png?w=280&fit=max&auto=format&n=QsfdoL0ZWmASRA0n&q=85&s=a30ff7de72ad7c37509eb5315834bb3f 280w, https://mintcdn.com/docs-dev-docs-add-auth0-cli-management-api-examples/QsfdoL0ZWmASRA0n/docs/images/customize/forms/vaults/http-vault-connection-basic-authentication.png?w=560&fit=max&auto=format&n=QsfdoL0ZWmASRA0n&q=85&s=bdb8fbf07523430858ecd7dc9eb6618a 560w, https://mintcdn.com/docs-dev-docs-add-auth0-cli-management-api-examples/QsfdoL0ZWmASRA0n/docs/images/customize/forms/vaults/http-vault-connection-basic-authentication.png?w=840&fit=max&auto=format&n=QsfdoL0ZWmASRA0n&q=85&s=d24430525515c1b8ba98ce8f3c38204f 840w, https://mintcdn.com/docs-dev-docs-add-auth0-cli-management-api-examples/QsfdoL0ZWmASRA0n/docs/images/customize/forms/vaults/http-vault-connection-basic-authentication.png?w=1100&fit=max&auto=format&n=QsfdoL0ZWmASRA0n&q=85&s=55d3f16a4f2163fa6beaf107121f58e4 1100w, https://mintcdn.com/docs-dev-docs-add-auth0-cli-management-api-examples/QsfdoL0ZWmASRA0n/docs/images/customize/forms/vaults/http-vault-connection-basic-authentication.png?w=1650&fit=max&auto=format&n=QsfdoL0ZWmASRA0n&q=85&s=a22945350b207b4b8c2a3a8d40c10e68 1650w, https://mintcdn.com/docs-dev-docs-add-auth0-cli-management-api-examples/QsfdoL0ZWmASRA0n/docs/images/customize/forms/vaults/http-vault-connection-basic-authentication.png?w=2500&fit=max&auto=format&n=QsfdoL0ZWmASRA0n&q=85&s=5d5457d521d3f09964855db8c9cf82d2 2500w" />
</Frame>

### Input settings

| Parameter | Description                                                                                         |
| --------- | --------------------------------------------------------------------------------------------------- |
| Username  | Username to be concatenated and base64 encoded, then added as Basic Authorization Header parameter. |
| Password  | Password to be concatenated and base64 encoded, then added as Basic Authorization Header parameter. |

<Warning>
  HTTP Vault Connection with Basic Auth configuration, is looking forward to replace the currently built-in option at Flows HTTP Request Action.
</Warning>
