> ## Documentation Index
> Fetch the complete documentation index at: https://docs-dev-feat-session-delegation.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-feat-session-delegation/HPk-alkF1sYaK1i8/docs/images/customize/forms/vaults/http-vault-connection-options.png?fit=max&auto=format&n=HPk-alkF1sYaK1i8&q=85&s=a61f18512660ff65072d5a46e66f4467" 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-feat-session-delegation/HPk-alkF1sYaK1i8/docs/images/customize/forms/vaults/http-vault-connection-options.png?w=280&fit=max&auto=format&n=HPk-alkF1sYaK1i8&q=85&s=88470cda08a141d25ae7a4a66dd63d08 280w, https://mintcdn.com/docs-dev-feat-session-delegation/HPk-alkF1sYaK1i8/docs/images/customize/forms/vaults/http-vault-connection-options.png?w=560&fit=max&auto=format&n=HPk-alkF1sYaK1i8&q=85&s=efd7ad49e1c25b64d8ff4231dd77e341 560w, https://mintcdn.com/docs-dev-feat-session-delegation/HPk-alkF1sYaK1i8/docs/images/customize/forms/vaults/http-vault-connection-options.png?w=840&fit=max&auto=format&n=HPk-alkF1sYaK1i8&q=85&s=e2202c84db8622d568b42495f0bdb94e 840w, https://mintcdn.com/docs-dev-feat-session-delegation/HPk-alkF1sYaK1i8/docs/images/customize/forms/vaults/http-vault-connection-options.png?w=1100&fit=max&auto=format&n=HPk-alkF1sYaK1i8&q=85&s=88f46faf7dd99aec7fe2d07e705fa1e8 1100w, https://mintcdn.com/docs-dev-feat-session-delegation/HPk-alkF1sYaK1i8/docs/images/customize/forms/vaults/http-vault-connection-options.png?w=1650&fit=max&auto=format&n=HPk-alkF1sYaK1i8&q=85&s=1f78299ec105d68da6989f5b52137cd7 1650w, https://mintcdn.com/docs-dev-feat-session-delegation/HPk-alkF1sYaK1i8/docs/images/customize/forms/vaults/http-vault-connection-options.png?w=2500&fit=max&auto=format&n=HPk-alkF1sYaK1i8&q=85&s=4b2c711490743ce378d26b48628d39e8 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-feat-session-delegation/HPk-alkF1sYaK1i8/docs/images/customize/forms/vaults/http-vault-connection-bearer-token.png?fit=max&auto=format&n=HPk-alkF1sYaK1i8&q=85&s=94babf03fc2d7f3b6d47fb62cb932be6" 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-feat-session-delegation/HPk-alkF1sYaK1i8/docs/images/customize/forms/vaults/http-vault-connection-bearer-token.png?w=280&fit=max&auto=format&n=HPk-alkF1sYaK1i8&q=85&s=45423e68f6b45e08117f29df0ae7a90d 280w, https://mintcdn.com/docs-dev-feat-session-delegation/HPk-alkF1sYaK1i8/docs/images/customize/forms/vaults/http-vault-connection-bearer-token.png?w=560&fit=max&auto=format&n=HPk-alkF1sYaK1i8&q=85&s=97ddd85b8a14befc54fc5beffaa3452d 560w, https://mintcdn.com/docs-dev-feat-session-delegation/HPk-alkF1sYaK1i8/docs/images/customize/forms/vaults/http-vault-connection-bearer-token.png?w=840&fit=max&auto=format&n=HPk-alkF1sYaK1i8&q=85&s=b9ba5f6a4b7cc153a2bfa1b37b34ff98 840w, https://mintcdn.com/docs-dev-feat-session-delegation/HPk-alkF1sYaK1i8/docs/images/customize/forms/vaults/http-vault-connection-bearer-token.png?w=1100&fit=max&auto=format&n=HPk-alkF1sYaK1i8&q=85&s=c7ca4d3fc56300abed18655dd904eebd 1100w, https://mintcdn.com/docs-dev-feat-session-delegation/HPk-alkF1sYaK1i8/docs/images/customize/forms/vaults/http-vault-connection-bearer-token.png?w=1650&fit=max&auto=format&n=HPk-alkF1sYaK1i8&q=85&s=c8bf4988ff6890b2e1420fb940635347 1650w, https://mintcdn.com/docs-dev-feat-session-delegation/HPk-alkF1sYaK1i8/docs/images/customize/forms/vaults/http-vault-connection-bearer-token.png?w=2500&fit=max&auto=format&n=HPk-alkF1sYaK1i8&q=85&s=8b1dc5a768e643baccfe3cad730345fc 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-feat-session-delegation/HPk-alkF1sYaK1i8/docs/images/customize/forms/vaults/http-vault-connection-oauth-client-credentials.png?fit=max&auto=format&n=HPk-alkF1sYaK1i8&q=85&s=336b9077c5a719ceaf10dd171650343d" 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-feat-session-delegation/HPk-alkF1sYaK1i8/docs/images/customize/forms/vaults/http-vault-connection-oauth-client-credentials.png?w=280&fit=max&auto=format&n=HPk-alkF1sYaK1i8&q=85&s=bbc7f935da3fa182a5f0665c486521c2 280w, https://mintcdn.com/docs-dev-feat-session-delegation/HPk-alkF1sYaK1i8/docs/images/customize/forms/vaults/http-vault-connection-oauth-client-credentials.png?w=560&fit=max&auto=format&n=HPk-alkF1sYaK1i8&q=85&s=4f9c8deac4e66ae7fffab27573b4fc59 560w, https://mintcdn.com/docs-dev-feat-session-delegation/HPk-alkF1sYaK1i8/docs/images/customize/forms/vaults/http-vault-connection-oauth-client-credentials.png?w=840&fit=max&auto=format&n=HPk-alkF1sYaK1i8&q=85&s=ec8faaf0162471b1dcaab6a46bd11505 840w, https://mintcdn.com/docs-dev-feat-session-delegation/HPk-alkF1sYaK1i8/docs/images/customize/forms/vaults/http-vault-connection-oauth-client-credentials.png?w=1100&fit=max&auto=format&n=HPk-alkF1sYaK1i8&q=85&s=1bc9934b83dc6ba4fd35b30bd60472f5 1100w, https://mintcdn.com/docs-dev-feat-session-delegation/HPk-alkF1sYaK1i8/docs/images/customize/forms/vaults/http-vault-connection-oauth-client-credentials.png?w=1650&fit=max&auto=format&n=HPk-alkF1sYaK1i8&q=85&s=b12b11a5f9f261755589c1549d2c9252 1650w, https://mintcdn.com/docs-dev-feat-session-delegation/HPk-alkF1sYaK1i8/docs/images/customize/forms/vaults/http-vault-connection-oauth-client-credentials.png?w=2500&fit=max&auto=format&n=HPk-alkF1sYaK1i8&q=85&s=eb7537ca129ccf34e2696a4e64c3c35b 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-feat-session-delegation/HPk-alkF1sYaK1i8/docs/images/customize/forms/vaults/http-vault-connection-api-key.png?fit=max&auto=format&n=HPk-alkF1sYaK1i8&q=85&s=4081afa8f07cef8d4d7055b67a7d300a" 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-feat-session-delegation/HPk-alkF1sYaK1i8/docs/images/customize/forms/vaults/http-vault-connection-api-key.png?w=280&fit=max&auto=format&n=HPk-alkF1sYaK1i8&q=85&s=2724dd5eaaf941bf393aeb37b112c524 280w, https://mintcdn.com/docs-dev-feat-session-delegation/HPk-alkF1sYaK1i8/docs/images/customize/forms/vaults/http-vault-connection-api-key.png?w=560&fit=max&auto=format&n=HPk-alkF1sYaK1i8&q=85&s=39d50a6f97feecac41eca36e3b2668b1 560w, https://mintcdn.com/docs-dev-feat-session-delegation/HPk-alkF1sYaK1i8/docs/images/customize/forms/vaults/http-vault-connection-api-key.png?w=840&fit=max&auto=format&n=HPk-alkF1sYaK1i8&q=85&s=92ce780e9dd95a73c2a7ac593110c0d0 840w, https://mintcdn.com/docs-dev-feat-session-delegation/HPk-alkF1sYaK1i8/docs/images/customize/forms/vaults/http-vault-connection-api-key.png?w=1100&fit=max&auto=format&n=HPk-alkF1sYaK1i8&q=85&s=ace80c908411db7814669df06a00ab40 1100w, https://mintcdn.com/docs-dev-feat-session-delegation/HPk-alkF1sYaK1i8/docs/images/customize/forms/vaults/http-vault-connection-api-key.png?w=1650&fit=max&auto=format&n=HPk-alkF1sYaK1i8&q=85&s=2a21189c30acd21a306c83db0b4aa263 1650w, https://mintcdn.com/docs-dev-feat-session-delegation/HPk-alkF1sYaK1i8/docs/images/customize/forms/vaults/http-vault-connection-api-key.png?w=2500&fit=max&auto=format&n=HPk-alkF1sYaK1i8&q=85&s=5d0a9c6c49ee527067a2839050cc51ec 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-feat-session-delegation/HPk-alkF1sYaK1i8/docs/images/customize/forms/vaults/http-vault-connection-basic-authentication.png?fit=max&auto=format&n=HPk-alkF1sYaK1i8&q=85&s=842ea95e395447111df8e844464db5ed" 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-feat-session-delegation/HPk-alkF1sYaK1i8/docs/images/customize/forms/vaults/http-vault-connection-basic-authentication.png?w=280&fit=max&auto=format&n=HPk-alkF1sYaK1i8&q=85&s=be5a4c290418a5d3208c52c41ff9772b 280w, https://mintcdn.com/docs-dev-feat-session-delegation/HPk-alkF1sYaK1i8/docs/images/customize/forms/vaults/http-vault-connection-basic-authentication.png?w=560&fit=max&auto=format&n=HPk-alkF1sYaK1i8&q=85&s=45e8bd328dd86d145704956fef8a4d90 560w, https://mintcdn.com/docs-dev-feat-session-delegation/HPk-alkF1sYaK1i8/docs/images/customize/forms/vaults/http-vault-connection-basic-authentication.png?w=840&fit=max&auto=format&n=HPk-alkF1sYaK1i8&q=85&s=e6ccf0756eb39a548c6e1d37f577f959 840w, https://mintcdn.com/docs-dev-feat-session-delegation/HPk-alkF1sYaK1i8/docs/images/customize/forms/vaults/http-vault-connection-basic-authentication.png?w=1100&fit=max&auto=format&n=HPk-alkF1sYaK1i8&q=85&s=ccf95fde5e1aa5ef0251ad9f54c53466 1100w, https://mintcdn.com/docs-dev-feat-session-delegation/HPk-alkF1sYaK1i8/docs/images/customize/forms/vaults/http-vault-connection-basic-authentication.png?w=1650&fit=max&auto=format&n=HPk-alkF1sYaK1i8&q=85&s=2cf67a248b049ec73111e42e1d6dccaa 1650w, https://mintcdn.com/docs-dev-feat-session-delegation/HPk-alkF1sYaK1i8/docs/images/customize/forms/vaults/http-vault-connection-basic-authentication.png?w=2500&fit=max&auto=format&n=HPk-alkF1sYaK1i8&q=85&s=2dc033cfb1d40f67ff2659511dacb620 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>
