> ## Documentation Index
> Fetch the complete documentation index at: https://docs-dev-fix-docs-5528-php-updates.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-fix-docs-5528-php-updates/XfY7Yldh64VCviE4/docs/images/customize/forms/vaults/http-vault-connection-options.png?fit=max&auto=format&n=XfY7Yldh64VCviE4&q=85&s=f8aefc02561b15ff83ce9ee026193f2b" 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-fix-docs-5528-php-updates/XfY7Yldh64VCviE4/docs/images/customize/forms/vaults/http-vault-connection-options.png?w=280&fit=max&auto=format&n=XfY7Yldh64VCviE4&q=85&s=f9e4c1be478adc3a825fe2ab4506c8c5 280w, https://mintcdn.com/docs-dev-fix-docs-5528-php-updates/XfY7Yldh64VCviE4/docs/images/customize/forms/vaults/http-vault-connection-options.png?w=560&fit=max&auto=format&n=XfY7Yldh64VCviE4&q=85&s=9750e1c497b3197c29bd8d403fcccec3 560w, https://mintcdn.com/docs-dev-fix-docs-5528-php-updates/XfY7Yldh64VCviE4/docs/images/customize/forms/vaults/http-vault-connection-options.png?w=840&fit=max&auto=format&n=XfY7Yldh64VCviE4&q=85&s=2d06f0903c5b60905e4ff4bd5814e9f9 840w, https://mintcdn.com/docs-dev-fix-docs-5528-php-updates/XfY7Yldh64VCviE4/docs/images/customize/forms/vaults/http-vault-connection-options.png?w=1100&fit=max&auto=format&n=XfY7Yldh64VCviE4&q=85&s=89913403f80abd274c679a2b268c5aa0 1100w, https://mintcdn.com/docs-dev-fix-docs-5528-php-updates/XfY7Yldh64VCviE4/docs/images/customize/forms/vaults/http-vault-connection-options.png?w=1650&fit=max&auto=format&n=XfY7Yldh64VCviE4&q=85&s=6e1e5c35ee6265d9a8c2ea794f8bc1a5 1650w, https://mintcdn.com/docs-dev-fix-docs-5528-php-updates/XfY7Yldh64VCviE4/docs/images/customize/forms/vaults/http-vault-connection-options.png?w=2500&fit=max&auto=format&n=XfY7Yldh64VCviE4&q=85&s=1fb6f92d25ae49a4bfd99742c4421e80 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-fix-docs-5528-php-updates/XfY7Yldh64VCviE4/docs/images/customize/forms/vaults/http-vault-connection-bearer-token.png?fit=max&auto=format&n=XfY7Yldh64VCviE4&q=85&s=ca59d078e92ebb3fc267916e54f28bad" 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-fix-docs-5528-php-updates/XfY7Yldh64VCviE4/docs/images/customize/forms/vaults/http-vault-connection-bearer-token.png?w=280&fit=max&auto=format&n=XfY7Yldh64VCviE4&q=85&s=93d9e04b119e3088b98225ebbb3b11e0 280w, https://mintcdn.com/docs-dev-fix-docs-5528-php-updates/XfY7Yldh64VCviE4/docs/images/customize/forms/vaults/http-vault-connection-bearer-token.png?w=560&fit=max&auto=format&n=XfY7Yldh64VCviE4&q=85&s=c082f731650b8d34c85f6c7b2817830f 560w, https://mintcdn.com/docs-dev-fix-docs-5528-php-updates/XfY7Yldh64VCviE4/docs/images/customize/forms/vaults/http-vault-connection-bearer-token.png?w=840&fit=max&auto=format&n=XfY7Yldh64VCviE4&q=85&s=043ea69bba65fbab425b6053db9370c5 840w, https://mintcdn.com/docs-dev-fix-docs-5528-php-updates/XfY7Yldh64VCviE4/docs/images/customize/forms/vaults/http-vault-connection-bearer-token.png?w=1100&fit=max&auto=format&n=XfY7Yldh64VCviE4&q=85&s=8e10e54d35f8b951d1b9d91202caa3e0 1100w, https://mintcdn.com/docs-dev-fix-docs-5528-php-updates/XfY7Yldh64VCviE4/docs/images/customize/forms/vaults/http-vault-connection-bearer-token.png?w=1650&fit=max&auto=format&n=XfY7Yldh64VCviE4&q=85&s=a2b2ca9d6d620288d2fae265d004ab01 1650w, https://mintcdn.com/docs-dev-fix-docs-5528-php-updates/XfY7Yldh64VCviE4/docs/images/customize/forms/vaults/http-vault-connection-bearer-token.png?w=2500&fit=max&auto=format&n=XfY7Yldh64VCviE4&q=85&s=5a86cabb0a17089b254093324d2c5256 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-fix-docs-5528-php-updates/XfY7Yldh64VCviE4/docs/images/customize/forms/vaults/http-vault-connection-oauth-client-credentials.png?fit=max&auto=format&n=XfY7Yldh64VCviE4&q=85&s=bf1be76c3e0d2d6135fa69ebe7351b8f" 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-fix-docs-5528-php-updates/XfY7Yldh64VCviE4/docs/images/customize/forms/vaults/http-vault-connection-oauth-client-credentials.png?w=280&fit=max&auto=format&n=XfY7Yldh64VCviE4&q=85&s=639329e87c720d034c865a9473bcf71c 280w, https://mintcdn.com/docs-dev-fix-docs-5528-php-updates/XfY7Yldh64VCviE4/docs/images/customize/forms/vaults/http-vault-connection-oauth-client-credentials.png?w=560&fit=max&auto=format&n=XfY7Yldh64VCviE4&q=85&s=ceca9b18af5178ed10940ac7b12c0c24 560w, https://mintcdn.com/docs-dev-fix-docs-5528-php-updates/XfY7Yldh64VCviE4/docs/images/customize/forms/vaults/http-vault-connection-oauth-client-credentials.png?w=840&fit=max&auto=format&n=XfY7Yldh64VCviE4&q=85&s=ade7a1808fda802c660615395a3236b4 840w, https://mintcdn.com/docs-dev-fix-docs-5528-php-updates/XfY7Yldh64VCviE4/docs/images/customize/forms/vaults/http-vault-connection-oauth-client-credentials.png?w=1100&fit=max&auto=format&n=XfY7Yldh64VCviE4&q=85&s=fe3f19755db6dc9503ae568c024cd3f1 1100w, https://mintcdn.com/docs-dev-fix-docs-5528-php-updates/XfY7Yldh64VCviE4/docs/images/customize/forms/vaults/http-vault-connection-oauth-client-credentials.png?w=1650&fit=max&auto=format&n=XfY7Yldh64VCviE4&q=85&s=6aef10878ae30f6c8ec19c353a0e2955 1650w, https://mintcdn.com/docs-dev-fix-docs-5528-php-updates/XfY7Yldh64VCviE4/docs/images/customize/forms/vaults/http-vault-connection-oauth-client-credentials.png?w=2500&fit=max&auto=format&n=XfY7Yldh64VCviE4&q=85&s=32a49bc68b495b86bf34bfe5f18f4f08 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-fix-docs-5528-php-updates/XfY7Yldh64VCviE4/docs/images/customize/forms/vaults/http-vault-connection-api-key.png?fit=max&auto=format&n=XfY7Yldh64VCviE4&q=85&s=e959abb1ca97c4143a65062dd946fb5e" 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-fix-docs-5528-php-updates/XfY7Yldh64VCviE4/docs/images/customize/forms/vaults/http-vault-connection-api-key.png?w=280&fit=max&auto=format&n=XfY7Yldh64VCviE4&q=85&s=23440bdc2e564b5ac5926fb3f055c96c 280w, https://mintcdn.com/docs-dev-fix-docs-5528-php-updates/XfY7Yldh64VCviE4/docs/images/customize/forms/vaults/http-vault-connection-api-key.png?w=560&fit=max&auto=format&n=XfY7Yldh64VCviE4&q=85&s=b65f9a82c5875fc15e269837a778b686 560w, https://mintcdn.com/docs-dev-fix-docs-5528-php-updates/XfY7Yldh64VCviE4/docs/images/customize/forms/vaults/http-vault-connection-api-key.png?w=840&fit=max&auto=format&n=XfY7Yldh64VCviE4&q=85&s=44912d491ec5ad66759a5f167f437205 840w, https://mintcdn.com/docs-dev-fix-docs-5528-php-updates/XfY7Yldh64VCviE4/docs/images/customize/forms/vaults/http-vault-connection-api-key.png?w=1100&fit=max&auto=format&n=XfY7Yldh64VCviE4&q=85&s=0d40ca012b8972a9b0f5f44fe43e86ee 1100w, https://mintcdn.com/docs-dev-fix-docs-5528-php-updates/XfY7Yldh64VCviE4/docs/images/customize/forms/vaults/http-vault-connection-api-key.png?w=1650&fit=max&auto=format&n=XfY7Yldh64VCviE4&q=85&s=35f8cf90dbfb40cee57354605311fb0f 1650w, https://mintcdn.com/docs-dev-fix-docs-5528-php-updates/XfY7Yldh64VCviE4/docs/images/customize/forms/vaults/http-vault-connection-api-key.png?w=2500&fit=max&auto=format&n=XfY7Yldh64VCviE4&q=85&s=2a7ade5e6f4364b1914c70de1ce91c5d 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-fix-docs-5528-php-updates/XfY7Yldh64VCviE4/docs/images/customize/forms/vaults/http-vault-connection-basic-authentication.png?fit=max&auto=format&n=XfY7Yldh64VCviE4&q=85&s=0b20f238697347800378c2acbfb71e6d" 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-fix-docs-5528-php-updates/XfY7Yldh64VCviE4/docs/images/customize/forms/vaults/http-vault-connection-basic-authentication.png?w=280&fit=max&auto=format&n=XfY7Yldh64VCviE4&q=85&s=d10358a766b22fb7ce1366d2e61ae440 280w, https://mintcdn.com/docs-dev-fix-docs-5528-php-updates/XfY7Yldh64VCviE4/docs/images/customize/forms/vaults/http-vault-connection-basic-authentication.png?w=560&fit=max&auto=format&n=XfY7Yldh64VCviE4&q=85&s=5384df24adc1c68f89307acbd12caab0 560w, https://mintcdn.com/docs-dev-fix-docs-5528-php-updates/XfY7Yldh64VCviE4/docs/images/customize/forms/vaults/http-vault-connection-basic-authentication.png?w=840&fit=max&auto=format&n=XfY7Yldh64VCviE4&q=85&s=d78b756e12178420689dc5bfac439be3 840w, https://mintcdn.com/docs-dev-fix-docs-5528-php-updates/XfY7Yldh64VCviE4/docs/images/customize/forms/vaults/http-vault-connection-basic-authentication.png?w=1100&fit=max&auto=format&n=XfY7Yldh64VCviE4&q=85&s=e0a3f672e06b47e86404b9b66bc3dcc7 1100w, https://mintcdn.com/docs-dev-fix-docs-5528-php-updates/XfY7Yldh64VCviE4/docs/images/customize/forms/vaults/http-vault-connection-basic-authentication.png?w=1650&fit=max&auto=format&n=XfY7Yldh64VCviE4&q=85&s=279ef649dd41dcee0a34e9cf2dc9affa 1650w, https://mintcdn.com/docs-dev-fix-docs-5528-php-updates/XfY7Yldh64VCviE4/docs/images/customize/forms/vaults/http-vault-connection-basic-authentication.png?w=2500&fit=max&auto=format&n=XfY7Yldh64VCviE4&q=85&s=48cb1308a66aa0e3b23e2a7cecb5893e 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>
