> ## Documentation Index
> Fetch the complete documentation index at: https://docs-staging-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-staging-docs-add-auth0-cli-management-api-examples/9uxJKmcIneYMrYYY/docs/images/customize/forms/vaults/http-vault-connection-options.png?fit=max&auto=format&n=9uxJKmcIneYMrYYY&q=85&s=a73ff87e533b4c36d993b0036cb44424" 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-staging-docs-add-auth0-cli-management-api-examples/9uxJKmcIneYMrYYY/docs/images/customize/forms/vaults/http-vault-connection-options.png?w=280&fit=max&auto=format&n=9uxJKmcIneYMrYYY&q=85&s=5029059ac7cdb5a15e0ce4d920d5445a 280w, https://mintcdn.com/docs-staging-docs-add-auth0-cli-management-api-examples/9uxJKmcIneYMrYYY/docs/images/customize/forms/vaults/http-vault-connection-options.png?w=560&fit=max&auto=format&n=9uxJKmcIneYMrYYY&q=85&s=93d04cc3c370c4bfe5bd06ef57e4d858 560w, https://mintcdn.com/docs-staging-docs-add-auth0-cli-management-api-examples/9uxJKmcIneYMrYYY/docs/images/customize/forms/vaults/http-vault-connection-options.png?w=840&fit=max&auto=format&n=9uxJKmcIneYMrYYY&q=85&s=772fed397fdf06c8b27b92aa36ff2523 840w, https://mintcdn.com/docs-staging-docs-add-auth0-cli-management-api-examples/9uxJKmcIneYMrYYY/docs/images/customize/forms/vaults/http-vault-connection-options.png?w=1100&fit=max&auto=format&n=9uxJKmcIneYMrYYY&q=85&s=d5a0f270b7802efdc544f4cec6f9a473 1100w, https://mintcdn.com/docs-staging-docs-add-auth0-cli-management-api-examples/9uxJKmcIneYMrYYY/docs/images/customize/forms/vaults/http-vault-connection-options.png?w=1650&fit=max&auto=format&n=9uxJKmcIneYMrYYY&q=85&s=6b764edbed4f166940c9bfc7d6701f72 1650w, https://mintcdn.com/docs-staging-docs-add-auth0-cli-management-api-examples/9uxJKmcIneYMrYYY/docs/images/customize/forms/vaults/http-vault-connection-options.png?w=2500&fit=max&auto=format&n=9uxJKmcIneYMrYYY&q=85&s=7eb4c7d4fac539d4748fce59d0cd99af 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-staging-docs-add-auth0-cli-management-api-examples/9uxJKmcIneYMrYYY/docs/images/customize/forms/vaults/http-vault-connection-bearer-token.png?fit=max&auto=format&n=9uxJKmcIneYMrYYY&q=85&s=29c349101bf7ccf188254efdae245179" 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-staging-docs-add-auth0-cli-management-api-examples/9uxJKmcIneYMrYYY/docs/images/customize/forms/vaults/http-vault-connection-bearer-token.png?w=280&fit=max&auto=format&n=9uxJKmcIneYMrYYY&q=85&s=deb8c7255a41b977e865a173dd9c54a8 280w, https://mintcdn.com/docs-staging-docs-add-auth0-cli-management-api-examples/9uxJKmcIneYMrYYY/docs/images/customize/forms/vaults/http-vault-connection-bearer-token.png?w=560&fit=max&auto=format&n=9uxJKmcIneYMrYYY&q=85&s=05cfa21a0512d5c23a5920442423a78e 560w, https://mintcdn.com/docs-staging-docs-add-auth0-cli-management-api-examples/9uxJKmcIneYMrYYY/docs/images/customize/forms/vaults/http-vault-connection-bearer-token.png?w=840&fit=max&auto=format&n=9uxJKmcIneYMrYYY&q=85&s=a38844546f07448e27c4c4e6e554c5cb 840w, https://mintcdn.com/docs-staging-docs-add-auth0-cli-management-api-examples/9uxJKmcIneYMrYYY/docs/images/customize/forms/vaults/http-vault-connection-bearer-token.png?w=1100&fit=max&auto=format&n=9uxJKmcIneYMrYYY&q=85&s=6a2eaec118bc4f409a34fa0b07d6e7e6 1100w, https://mintcdn.com/docs-staging-docs-add-auth0-cli-management-api-examples/9uxJKmcIneYMrYYY/docs/images/customize/forms/vaults/http-vault-connection-bearer-token.png?w=1650&fit=max&auto=format&n=9uxJKmcIneYMrYYY&q=85&s=be8ffc1d9a7a43f6a84b25c29ecec103 1650w, https://mintcdn.com/docs-staging-docs-add-auth0-cli-management-api-examples/9uxJKmcIneYMrYYY/docs/images/customize/forms/vaults/http-vault-connection-bearer-token.png?w=2500&fit=max&auto=format&n=9uxJKmcIneYMrYYY&q=85&s=31b7a50e194103a3cdd8a13b7f2fb57f 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-staging-docs-add-auth0-cli-management-api-examples/9uxJKmcIneYMrYYY/docs/images/customize/forms/vaults/http-vault-connection-oauth-client-credentials.png?fit=max&auto=format&n=9uxJKmcIneYMrYYY&q=85&s=7fb0e553c3de53b5d63beaeeb9260577" 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-staging-docs-add-auth0-cli-management-api-examples/9uxJKmcIneYMrYYY/docs/images/customize/forms/vaults/http-vault-connection-oauth-client-credentials.png?w=280&fit=max&auto=format&n=9uxJKmcIneYMrYYY&q=85&s=e282e3472c1ba932ef2812a34b48d7fa 280w, https://mintcdn.com/docs-staging-docs-add-auth0-cli-management-api-examples/9uxJKmcIneYMrYYY/docs/images/customize/forms/vaults/http-vault-connection-oauth-client-credentials.png?w=560&fit=max&auto=format&n=9uxJKmcIneYMrYYY&q=85&s=759a261ae0d8d6a8724a1b69711b648a 560w, https://mintcdn.com/docs-staging-docs-add-auth0-cli-management-api-examples/9uxJKmcIneYMrYYY/docs/images/customize/forms/vaults/http-vault-connection-oauth-client-credentials.png?w=840&fit=max&auto=format&n=9uxJKmcIneYMrYYY&q=85&s=dd4b428c5841430c02d62ed61df1acdf 840w, https://mintcdn.com/docs-staging-docs-add-auth0-cli-management-api-examples/9uxJKmcIneYMrYYY/docs/images/customize/forms/vaults/http-vault-connection-oauth-client-credentials.png?w=1100&fit=max&auto=format&n=9uxJKmcIneYMrYYY&q=85&s=06e779766dac986df0d198763bdba42c 1100w, https://mintcdn.com/docs-staging-docs-add-auth0-cli-management-api-examples/9uxJKmcIneYMrYYY/docs/images/customize/forms/vaults/http-vault-connection-oauth-client-credentials.png?w=1650&fit=max&auto=format&n=9uxJKmcIneYMrYYY&q=85&s=0d0adcf80b453f9b07753385dc6430e7 1650w, https://mintcdn.com/docs-staging-docs-add-auth0-cli-management-api-examples/9uxJKmcIneYMrYYY/docs/images/customize/forms/vaults/http-vault-connection-oauth-client-credentials.png?w=2500&fit=max&auto=format&n=9uxJKmcIneYMrYYY&q=85&s=cea208dc158a374eec07d2d0f6073eb6 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-staging-docs-add-auth0-cli-management-api-examples/9uxJKmcIneYMrYYY/docs/images/customize/forms/vaults/http-vault-connection-api-key.png?fit=max&auto=format&n=9uxJKmcIneYMrYYY&q=85&s=163ba47301624be1ae060d6518d4f1ae" 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-staging-docs-add-auth0-cli-management-api-examples/9uxJKmcIneYMrYYY/docs/images/customize/forms/vaults/http-vault-connection-api-key.png?w=280&fit=max&auto=format&n=9uxJKmcIneYMrYYY&q=85&s=0e0b125ef215389d0ac58b7eefe0041a 280w, https://mintcdn.com/docs-staging-docs-add-auth0-cli-management-api-examples/9uxJKmcIneYMrYYY/docs/images/customize/forms/vaults/http-vault-connection-api-key.png?w=560&fit=max&auto=format&n=9uxJKmcIneYMrYYY&q=85&s=5bcd1294d1103091f876dcd148bd5f1f 560w, https://mintcdn.com/docs-staging-docs-add-auth0-cli-management-api-examples/9uxJKmcIneYMrYYY/docs/images/customize/forms/vaults/http-vault-connection-api-key.png?w=840&fit=max&auto=format&n=9uxJKmcIneYMrYYY&q=85&s=7bb7b6aff91961f9de8c5698dd61dc0b 840w, https://mintcdn.com/docs-staging-docs-add-auth0-cli-management-api-examples/9uxJKmcIneYMrYYY/docs/images/customize/forms/vaults/http-vault-connection-api-key.png?w=1100&fit=max&auto=format&n=9uxJKmcIneYMrYYY&q=85&s=f2af5f72ebf1a0b0bbd0c439ed64927a 1100w, https://mintcdn.com/docs-staging-docs-add-auth0-cli-management-api-examples/9uxJKmcIneYMrYYY/docs/images/customize/forms/vaults/http-vault-connection-api-key.png?w=1650&fit=max&auto=format&n=9uxJKmcIneYMrYYY&q=85&s=4f2a4f9d1b1d5b0998b107c745e0da71 1650w, https://mintcdn.com/docs-staging-docs-add-auth0-cli-management-api-examples/9uxJKmcIneYMrYYY/docs/images/customize/forms/vaults/http-vault-connection-api-key.png?w=2500&fit=max&auto=format&n=9uxJKmcIneYMrYYY&q=85&s=326de1261358f52933645978136f2c8a 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-staging-docs-add-auth0-cli-management-api-examples/9uxJKmcIneYMrYYY/docs/images/customize/forms/vaults/http-vault-connection-basic-authentication.png?fit=max&auto=format&n=9uxJKmcIneYMrYYY&q=85&s=f345869afdd07622e5226ef28c50fb6a" 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-staging-docs-add-auth0-cli-management-api-examples/9uxJKmcIneYMrYYY/docs/images/customize/forms/vaults/http-vault-connection-basic-authentication.png?w=280&fit=max&auto=format&n=9uxJKmcIneYMrYYY&q=85&s=10955dfba8dd4ceb98ee49a019983931 280w, https://mintcdn.com/docs-staging-docs-add-auth0-cli-management-api-examples/9uxJKmcIneYMrYYY/docs/images/customize/forms/vaults/http-vault-connection-basic-authentication.png?w=560&fit=max&auto=format&n=9uxJKmcIneYMrYYY&q=85&s=41c466b7071653decc6da28d5c20c119 560w, https://mintcdn.com/docs-staging-docs-add-auth0-cli-management-api-examples/9uxJKmcIneYMrYYY/docs/images/customize/forms/vaults/http-vault-connection-basic-authentication.png?w=840&fit=max&auto=format&n=9uxJKmcIneYMrYYY&q=85&s=0eae1c7a8a63f79efe80167fad179e3f 840w, https://mintcdn.com/docs-staging-docs-add-auth0-cli-management-api-examples/9uxJKmcIneYMrYYY/docs/images/customize/forms/vaults/http-vault-connection-basic-authentication.png?w=1100&fit=max&auto=format&n=9uxJKmcIneYMrYYY&q=85&s=05688b5afb1a90832d455142e196bf03 1100w, https://mintcdn.com/docs-staging-docs-add-auth0-cli-management-api-examples/9uxJKmcIneYMrYYY/docs/images/customize/forms/vaults/http-vault-connection-basic-authentication.png?w=1650&fit=max&auto=format&n=9uxJKmcIneYMrYYY&q=85&s=dd21b6eabf89d6c6f95d5bc913921b2a 1650w, https://mintcdn.com/docs-staging-docs-add-auth0-cli-management-api-examples/9uxJKmcIneYMrYYY/docs/images/customize/forms/vaults/http-vault-connection-basic-authentication.png?w=2500&fit=max&auto=format&n=9uxJKmcIneYMrYYY&q=85&s=7b2ae2b7adc66f4bebf5f818ace2c616 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>
