> ## Documentation Index
> Fetch the complete documentation index at: https://docs-dev-eval-flywheel-swift-quickstart.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-eval-flywheel-swift-quickstart/5u4uzlRQ1dyr4dQS/docs/images/customize/forms/vaults/http-vault-connection-options.png?fit=max&auto=format&n=5u4uzlRQ1dyr4dQS&q=85&s=6bac7b7942c2a245651bc2bd0a91bc1a" 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-eval-flywheel-swift-quickstart/5u4uzlRQ1dyr4dQS/docs/images/customize/forms/vaults/http-vault-connection-options.png?w=280&fit=max&auto=format&n=5u4uzlRQ1dyr4dQS&q=85&s=ef22a47e5cd39b811d42ae415c90bc90 280w, https://mintcdn.com/docs-dev-eval-flywheel-swift-quickstart/5u4uzlRQ1dyr4dQS/docs/images/customize/forms/vaults/http-vault-connection-options.png?w=560&fit=max&auto=format&n=5u4uzlRQ1dyr4dQS&q=85&s=28f4048261194d6ae6959df12a758381 560w, https://mintcdn.com/docs-dev-eval-flywheel-swift-quickstart/5u4uzlRQ1dyr4dQS/docs/images/customize/forms/vaults/http-vault-connection-options.png?w=840&fit=max&auto=format&n=5u4uzlRQ1dyr4dQS&q=85&s=b460769d349d48dc91b018bac36620ae 840w, https://mintcdn.com/docs-dev-eval-flywheel-swift-quickstart/5u4uzlRQ1dyr4dQS/docs/images/customize/forms/vaults/http-vault-connection-options.png?w=1100&fit=max&auto=format&n=5u4uzlRQ1dyr4dQS&q=85&s=548b97547a472f91cda3a7ddaa2d4c06 1100w, https://mintcdn.com/docs-dev-eval-flywheel-swift-quickstart/5u4uzlRQ1dyr4dQS/docs/images/customize/forms/vaults/http-vault-connection-options.png?w=1650&fit=max&auto=format&n=5u4uzlRQ1dyr4dQS&q=85&s=3172ea7f5ea80be0a815146a032ee758 1650w, https://mintcdn.com/docs-dev-eval-flywheel-swift-quickstart/5u4uzlRQ1dyr4dQS/docs/images/customize/forms/vaults/http-vault-connection-options.png?w=2500&fit=max&auto=format&n=5u4uzlRQ1dyr4dQS&q=85&s=0b7c23ab908d9f24e0c90d1f2a0f7ef4 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-eval-flywheel-swift-quickstart/5u4uzlRQ1dyr4dQS/docs/images/customize/forms/vaults/http-vault-connection-bearer-token.png?fit=max&auto=format&n=5u4uzlRQ1dyr4dQS&q=85&s=ab8e68ce9ae8879864c3dfd3e8c0ae25" 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-eval-flywheel-swift-quickstart/5u4uzlRQ1dyr4dQS/docs/images/customize/forms/vaults/http-vault-connection-bearer-token.png?w=280&fit=max&auto=format&n=5u4uzlRQ1dyr4dQS&q=85&s=3e6b755f47b98b9dfed81478eff63eb7 280w, https://mintcdn.com/docs-dev-eval-flywheel-swift-quickstart/5u4uzlRQ1dyr4dQS/docs/images/customize/forms/vaults/http-vault-connection-bearer-token.png?w=560&fit=max&auto=format&n=5u4uzlRQ1dyr4dQS&q=85&s=1d4abdb1001d489e245415d24f6786be 560w, https://mintcdn.com/docs-dev-eval-flywheel-swift-quickstart/5u4uzlRQ1dyr4dQS/docs/images/customize/forms/vaults/http-vault-connection-bearer-token.png?w=840&fit=max&auto=format&n=5u4uzlRQ1dyr4dQS&q=85&s=68d2d311221361024c4183b88375e212 840w, https://mintcdn.com/docs-dev-eval-flywheel-swift-quickstart/5u4uzlRQ1dyr4dQS/docs/images/customize/forms/vaults/http-vault-connection-bearer-token.png?w=1100&fit=max&auto=format&n=5u4uzlRQ1dyr4dQS&q=85&s=db7d87535f1c9e5d59644eb83b21d419 1100w, https://mintcdn.com/docs-dev-eval-flywheel-swift-quickstart/5u4uzlRQ1dyr4dQS/docs/images/customize/forms/vaults/http-vault-connection-bearer-token.png?w=1650&fit=max&auto=format&n=5u4uzlRQ1dyr4dQS&q=85&s=12573b4b26d2ee21818df847a1f877dc 1650w, https://mintcdn.com/docs-dev-eval-flywheel-swift-quickstart/5u4uzlRQ1dyr4dQS/docs/images/customize/forms/vaults/http-vault-connection-bearer-token.png?w=2500&fit=max&auto=format&n=5u4uzlRQ1dyr4dQS&q=85&s=00f7be99f2608a5d5d64fa1b540dc907 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-eval-flywheel-swift-quickstart/5u4uzlRQ1dyr4dQS/docs/images/customize/forms/vaults/http-vault-connection-oauth-client-credentials.png?fit=max&auto=format&n=5u4uzlRQ1dyr4dQS&q=85&s=b4b7fee7129920100ff59ce16088327f" 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-eval-flywheel-swift-quickstart/5u4uzlRQ1dyr4dQS/docs/images/customize/forms/vaults/http-vault-connection-oauth-client-credentials.png?w=280&fit=max&auto=format&n=5u4uzlRQ1dyr4dQS&q=85&s=816c71e15e5764b196cbe6e35e018301 280w, https://mintcdn.com/docs-dev-eval-flywheel-swift-quickstart/5u4uzlRQ1dyr4dQS/docs/images/customize/forms/vaults/http-vault-connection-oauth-client-credentials.png?w=560&fit=max&auto=format&n=5u4uzlRQ1dyr4dQS&q=85&s=82fde22136d126111d1167b45f05862e 560w, https://mintcdn.com/docs-dev-eval-flywheel-swift-quickstart/5u4uzlRQ1dyr4dQS/docs/images/customize/forms/vaults/http-vault-connection-oauth-client-credentials.png?w=840&fit=max&auto=format&n=5u4uzlRQ1dyr4dQS&q=85&s=498372ff347403b5650d4e2f51ea956d 840w, https://mintcdn.com/docs-dev-eval-flywheel-swift-quickstart/5u4uzlRQ1dyr4dQS/docs/images/customize/forms/vaults/http-vault-connection-oauth-client-credentials.png?w=1100&fit=max&auto=format&n=5u4uzlRQ1dyr4dQS&q=85&s=da401853fe763f1228d49e2b9418da7f 1100w, https://mintcdn.com/docs-dev-eval-flywheel-swift-quickstart/5u4uzlRQ1dyr4dQS/docs/images/customize/forms/vaults/http-vault-connection-oauth-client-credentials.png?w=1650&fit=max&auto=format&n=5u4uzlRQ1dyr4dQS&q=85&s=9d4b96ca8cb46444daa0f2d52b42e5fd 1650w, https://mintcdn.com/docs-dev-eval-flywheel-swift-quickstart/5u4uzlRQ1dyr4dQS/docs/images/customize/forms/vaults/http-vault-connection-oauth-client-credentials.png?w=2500&fit=max&auto=format&n=5u4uzlRQ1dyr4dQS&q=85&s=d79480334753c4670cbbb5c3e644aa90 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-eval-flywheel-swift-quickstart/5u4uzlRQ1dyr4dQS/docs/images/customize/forms/vaults/http-vault-connection-api-key.png?fit=max&auto=format&n=5u4uzlRQ1dyr4dQS&q=85&s=c26d2dfaf7104c167f42985635de8c6e" 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-eval-flywheel-swift-quickstart/5u4uzlRQ1dyr4dQS/docs/images/customize/forms/vaults/http-vault-connection-api-key.png?w=280&fit=max&auto=format&n=5u4uzlRQ1dyr4dQS&q=85&s=150961efe87c88da71b7cc409f95a72f 280w, https://mintcdn.com/docs-dev-eval-flywheel-swift-quickstart/5u4uzlRQ1dyr4dQS/docs/images/customize/forms/vaults/http-vault-connection-api-key.png?w=560&fit=max&auto=format&n=5u4uzlRQ1dyr4dQS&q=85&s=fc3cc1873cb7b277e5fa1a30cb3d1eae 560w, https://mintcdn.com/docs-dev-eval-flywheel-swift-quickstart/5u4uzlRQ1dyr4dQS/docs/images/customize/forms/vaults/http-vault-connection-api-key.png?w=840&fit=max&auto=format&n=5u4uzlRQ1dyr4dQS&q=85&s=9134a719dd8fb0665a9bd91bde3dda01 840w, https://mintcdn.com/docs-dev-eval-flywheel-swift-quickstart/5u4uzlRQ1dyr4dQS/docs/images/customize/forms/vaults/http-vault-connection-api-key.png?w=1100&fit=max&auto=format&n=5u4uzlRQ1dyr4dQS&q=85&s=40dee5fb13ab9648589f00cf150ec69c 1100w, https://mintcdn.com/docs-dev-eval-flywheel-swift-quickstart/5u4uzlRQ1dyr4dQS/docs/images/customize/forms/vaults/http-vault-connection-api-key.png?w=1650&fit=max&auto=format&n=5u4uzlRQ1dyr4dQS&q=85&s=78b738594e29de7f77953a1bca878371 1650w, https://mintcdn.com/docs-dev-eval-flywheel-swift-quickstart/5u4uzlRQ1dyr4dQS/docs/images/customize/forms/vaults/http-vault-connection-api-key.png?w=2500&fit=max&auto=format&n=5u4uzlRQ1dyr4dQS&q=85&s=4c61aba0ad573531c828c7afd0402424 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-eval-flywheel-swift-quickstart/5u4uzlRQ1dyr4dQS/docs/images/customize/forms/vaults/http-vault-connection-basic-authentication.png?fit=max&auto=format&n=5u4uzlRQ1dyr4dQS&q=85&s=90fa76f1795c4b57aed023ce3f609339" 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-eval-flywheel-swift-quickstart/5u4uzlRQ1dyr4dQS/docs/images/customize/forms/vaults/http-vault-connection-basic-authentication.png?w=280&fit=max&auto=format&n=5u4uzlRQ1dyr4dQS&q=85&s=1ee5f48dda1696834505dfdac7561cfc 280w, https://mintcdn.com/docs-dev-eval-flywheel-swift-quickstart/5u4uzlRQ1dyr4dQS/docs/images/customize/forms/vaults/http-vault-connection-basic-authentication.png?w=560&fit=max&auto=format&n=5u4uzlRQ1dyr4dQS&q=85&s=07fe1b94fc62345b29a08f596b1d7c9a 560w, https://mintcdn.com/docs-dev-eval-flywheel-swift-quickstart/5u4uzlRQ1dyr4dQS/docs/images/customize/forms/vaults/http-vault-connection-basic-authentication.png?w=840&fit=max&auto=format&n=5u4uzlRQ1dyr4dQS&q=85&s=0a6774177c6a60cba7a11266c26e67e7 840w, https://mintcdn.com/docs-dev-eval-flywheel-swift-quickstart/5u4uzlRQ1dyr4dQS/docs/images/customize/forms/vaults/http-vault-connection-basic-authentication.png?w=1100&fit=max&auto=format&n=5u4uzlRQ1dyr4dQS&q=85&s=cf037337b89ba1c1ea07db17efaa6b26 1100w, https://mintcdn.com/docs-dev-eval-flywheel-swift-quickstart/5u4uzlRQ1dyr4dQS/docs/images/customize/forms/vaults/http-vault-connection-basic-authentication.png?w=1650&fit=max&auto=format&n=5u4uzlRQ1dyr4dQS&q=85&s=5aba89ad6ac45810b6c86045bbfd2f6d 1650w, https://mintcdn.com/docs-dev-eval-flywheel-swift-quickstart/5u4uzlRQ1dyr4dQS/docs/images/customize/forms/vaults/http-vault-connection-basic-authentication.png?w=2500&fit=max&auto=format&n=5u4uzlRQ1dyr4dQS&q=85&s=13965b9c058816f6a83c9044befdb02b 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>
