> ## Documentation Index
> Fetch the complete documentation index at: https://docs-staging-docs-event-stream-action-templates.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-event-stream-action-templates/dXzfzKhc8v6GUPhU/docs/images/customize/forms/vaults/http-vault-connection-options.png?fit=max&auto=format&n=dXzfzKhc8v6GUPhU&q=85&s=0e223c7899f4470ecc39dc95426a7bb1" 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-event-stream-action-templates/dXzfzKhc8v6GUPhU/docs/images/customize/forms/vaults/http-vault-connection-options.png?w=280&fit=max&auto=format&n=dXzfzKhc8v6GUPhU&q=85&s=106250cbe960bd9778de49f1b0a6d8c9 280w, https://mintcdn.com/docs-staging-docs-event-stream-action-templates/dXzfzKhc8v6GUPhU/docs/images/customize/forms/vaults/http-vault-connection-options.png?w=560&fit=max&auto=format&n=dXzfzKhc8v6GUPhU&q=85&s=f855743424b4a4d41a6a175cf4d68558 560w, https://mintcdn.com/docs-staging-docs-event-stream-action-templates/dXzfzKhc8v6GUPhU/docs/images/customize/forms/vaults/http-vault-connection-options.png?w=840&fit=max&auto=format&n=dXzfzKhc8v6GUPhU&q=85&s=788d6f3a38b04b63bc9e27ae770cbcbb 840w, https://mintcdn.com/docs-staging-docs-event-stream-action-templates/dXzfzKhc8v6GUPhU/docs/images/customize/forms/vaults/http-vault-connection-options.png?w=1100&fit=max&auto=format&n=dXzfzKhc8v6GUPhU&q=85&s=ffcd62b6d4aab464b9830bd1f70d726e 1100w, https://mintcdn.com/docs-staging-docs-event-stream-action-templates/dXzfzKhc8v6GUPhU/docs/images/customize/forms/vaults/http-vault-connection-options.png?w=1650&fit=max&auto=format&n=dXzfzKhc8v6GUPhU&q=85&s=cd72c663edf17921ad3f2f50abe99c06 1650w, https://mintcdn.com/docs-staging-docs-event-stream-action-templates/dXzfzKhc8v6GUPhU/docs/images/customize/forms/vaults/http-vault-connection-options.png?w=2500&fit=max&auto=format&n=dXzfzKhc8v6GUPhU&q=85&s=094a1b6385b950975398dcbc4dbd6dd2 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-event-stream-action-templates/dXzfzKhc8v6GUPhU/docs/images/customize/forms/vaults/http-vault-connection-bearer-token.png?fit=max&auto=format&n=dXzfzKhc8v6GUPhU&q=85&s=a1c9eb5d2d6ada72fdc8e531e3c3eedd" 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-event-stream-action-templates/dXzfzKhc8v6GUPhU/docs/images/customize/forms/vaults/http-vault-connection-bearer-token.png?w=280&fit=max&auto=format&n=dXzfzKhc8v6GUPhU&q=85&s=701359ea07b04e03f414a01b5f990c66 280w, https://mintcdn.com/docs-staging-docs-event-stream-action-templates/dXzfzKhc8v6GUPhU/docs/images/customize/forms/vaults/http-vault-connection-bearer-token.png?w=560&fit=max&auto=format&n=dXzfzKhc8v6GUPhU&q=85&s=86bf536480d3ce6cb35e5190009be824 560w, https://mintcdn.com/docs-staging-docs-event-stream-action-templates/dXzfzKhc8v6GUPhU/docs/images/customize/forms/vaults/http-vault-connection-bearer-token.png?w=840&fit=max&auto=format&n=dXzfzKhc8v6GUPhU&q=85&s=704db0ee972a5e0f1a75bedff1857df6 840w, https://mintcdn.com/docs-staging-docs-event-stream-action-templates/dXzfzKhc8v6GUPhU/docs/images/customize/forms/vaults/http-vault-connection-bearer-token.png?w=1100&fit=max&auto=format&n=dXzfzKhc8v6GUPhU&q=85&s=3e1d92053ff5c436b5d97a465abf8fab 1100w, https://mintcdn.com/docs-staging-docs-event-stream-action-templates/dXzfzKhc8v6GUPhU/docs/images/customize/forms/vaults/http-vault-connection-bearer-token.png?w=1650&fit=max&auto=format&n=dXzfzKhc8v6GUPhU&q=85&s=93a00cb772561919d970de954682898c 1650w, https://mintcdn.com/docs-staging-docs-event-stream-action-templates/dXzfzKhc8v6GUPhU/docs/images/customize/forms/vaults/http-vault-connection-bearer-token.png?w=2500&fit=max&auto=format&n=dXzfzKhc8v6GUPhU&q=85&s=375879eabdca10ee6b880654f5930080 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-event-stream-action-templates/dXzfzKhc8v6GUPhU/docs/images/customize/forms/vaults/http-vault-connection-oauth-client-credentials.png?fit=max&auto=format&n=dXzfzKhc8v6GUPhU&q=85&s=985673b5efd815edd6d67bf2535d0b11" 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-event-stream-action-templates/dXzfzKhc8v6GUPhU/docs/images/customize/forms/vaults/http-vault-connection-oauth-client-credentials.png?w=280&fit=max&auto=format&n=dXzfzKhc8v6GUPhU&q=85&s=a85ba6e6538bace4be6c9d08c4adf8aa 280w, https://mintcdn.com/docs-staging-docs-event-stream-action-templates/dXzfzKhc8v6GUPhU/docs/images/customize/forms/vaults/http-vault-connection-oauth-client-credentials.png?w=560&fit=max&auto=format&n=dXzfzKhc8v6GUPhU&q=85&s=e14bcec62a992eb3327101c724652cc5 560w, https://mintcdn.com/docs-staging-docs-event-stream-action-templates/dXzfzKhc8v6GUPhU/docs/images/customize/forms/vaults/http-vault-connection-oauth-client-credentials.png?w=840&fit=max&auto=format&n=dXzfzKhc8v6GUPhU&q=85&s=f8522c1a416c8f222d4737b8424d8ed7 840w, https://mintcdn.com/docs-staging-docs-event-stream-action-templates/dXzfzKhc8v6GUPhU/docs/images/customize/forms/vaults/http-vault-connection-oauth-client-credentials.png?w=1100&fit=max&auto=format&n=dXzfzKhc8v6GUPhU&q=85&s=1ef946fced6af8d9561a3d48b5e03db0 1100w, https://mintcdn.com/docs-staging-docs-event-stream-action-templates/dXzfzKhc8v6GUPhU/docs/images/customize/forms/vaults/http-vault-connection-oauth-client-credentials.png?w=1650&fit=max&auto=format&n=dXzfzKhc8v6GUPhU&q=85&s=49e8e6dfcb54503ead9bfe5bd48df163 1650w, https://mintcdn.com/docs-staging-docs-event-stream-action-templates/dXzfzKhc8v6GUPhU/docs/images/customize/forms/vaults/http-vault-connection-oauth-client-credentials.png?w=2500&fit=max&auto=format&n=dXzfzKhc8v6GUPhU&q=85&s=7948f311ea4549f37a46f1a530dd5de8 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-event-stream-action-templates/dXzfzKhc8v6GUPhU/docs/images/customize/forms/vaults/http-vault-connection-api-key.png?fit=max&auto=format&n=dXzfzKhc8v6GUPhU&q=85&s=32b3587cf29bcf4be7def57947ddff74" 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-event-stream-action-templates/dXzfzKhc8v6GUPhU/docs/images/customize/forms/vaults/http-vault-connection-api-key.png?w=280&fit=max&auto=format&n=dXzfzKhc8v6GUPhU&q=85&s=40025a17d311951f7cfbe0caf8b431b2 280w, https://mintcdn.com/docs-staging-docs-event-stream-action-templates/dXzfzKhc8v6GUPhU/docs/images/customize/forms/vaults/http-vault-connection-api-key.png?w=560&fit=max&auto=format&n=dXzfzKhc8v6GUPhU&q=85&s=e54da72187109dc569ffd8cfba86f83f 560w, https://mintcdn.com/docs-staging-docs-event-stream-action-templates/dXzfzKhc8v6GUPhU/docs/images/customize/forms/vaults/http-vault-connection-api-key.png?w=840&fit=max&auto=format&n=dXzfzKhc8v6GUPhU&q=85&s=4ec11264936139220f548ecff7541716 840w, https://mintcdn.com/docs-staging-docs-event-stream-action-templates/dXzfzKhc8v6GUPhU/docs/images/customize/forms/vaults/http-vault-connection-api-key.png?w=1100&fit=max&auto=format&n=dXzfzKhc8v6GUPhU&q=85&s=23120471c8bcb778fc949f2c992271f6 1100w, https://mintcdn.com/docs-staging-docs-event-stream-action-templates/dXzfzKhc8v6GUPhU/docs/images/customize/forms/vaults/http-vault-connection-api-key.png?w=1650&fit=max&auto=format&n=dXzfzKhc8v6GUPhU&q=85&s=e4ed1bea7c4f10845632884d82dc3a91 1650w, https://mintcdn.com/docs-staging-docs-event-stream-action-templates/dXzfzKhc8v6GUPhU/docs/images/customize/forms/vaults/http-vault-connection-api-key.png?w=2500&fit=max&auto=format&n=dXzfzKhc8v6GUPhU&q=85&s=d82bb12e2c71df713bdf591cf896878a 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-event-stream-action-templates/dXzfzKhc8v6GUPhU/docs/images/customize/forms/vaults/http-vault-connection-basic-authentication.png?fit=max&auto=format&n=dXzfzKhc8v6GUPhU&q=85&s=d97f2c9309dc7cbd2da8c35f6b14ea28" 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-event-stream-action-templates/dXzfzKhc8v6GUPhU/docs/images/customize/forms/vaults/http-vault-connection-basic-authentication.png?w=280&fit=max&auto=format&n=dXzfzKhc8v6GUPhU&q=85&s=db80409a4c475b592c5f50d73871c893 280w, https://mintcdn.com/docs-staging-docs-event-stream-action-templates/dXzfzKhc8v6GUPhU/docs/images/customize/forms/vaults/http-vault-connection-basic-authentication.png?w=560&fit=max&auto=format&n=dXzfzKhc8v6GUPhU&q=85&s=51100aec7ae044337869cd61bab16043 560w, https://mintcdn.com/docs-staging-docs-event-stream-action-templates/dXzfzKhc8v6GUPhU/docs/images/customize/forms/vaults/http-vault-connection-basic-authentication.png?w=840&fit=max&auto=format&n=dXzfzKhc8v6GUPhU&q=85&s=0197c6a8ea795f1c73e6dd3da3709a9e 840w, https://mintcdn.com/docs-staging-docs-event-stream-action-templates/dXzfzKhc8v6GUPhU/docs/images/customize/forms/vaults/http-vault-connection-basic-authentication.png?w=1100&fit=max&auto=format&n=dXzfzKhc8v6GUPhU&q=85&s=5d872e530f71867e2f023462c1e55874 1100w, https://mintcdn.com/docs-staging-docs-event-stream-action-templates/dXzfzKhc8v6GUPhU/docs/images/customize/forms/vaults/http-vault-connection-basic-authentication.png?w=1650&fit=max&auto=format&n=dXzfzKhc8v6GUPhU&q=85&s=9c7ae23d741a0c5f9584d9e5c573763d 1650w, https://mintcdn.com/docs-staging-docs-event-stream-action-templates/dXzfzKhc8v6GUPhU/docs/images/customize/forms/vaults/http-vault-connection-basic-authentication.png?w=2500&fit=max&auto=format&n=dXzfzKhc8v6GUPhU&q=85&s=d576d672805de9e4b6fcd789af31dbdf 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>
