> ## Documentation Index
> Fetch the complete documentation index at: https://docs-dev-privilege-worker-scope-pinning.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-privilege-worker-scope-pinning/sIfaDcVcEybOrBru/docs/images/customize/forms/vaults/http-vault-connection-options.png?fit=max&auto=format&n=sIfaDcVcEybOrBru&q=85&s=42cfc85a990c259292fdb472c0b07841" 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-privilege-worker-scope-pinning/sIfaDcVcEybOrBru/docs/images/customize/forms/vaults/http-vault-connection-options.png?w=280&fit=max&auto=format&n=sIfaDcVcEybOrBru&q=85&s=ba1a4d2ec7ff88f0e27ceca802b40374 280w, https://mintcdn.com/docs-dev-privilege-worker-scope-pinning/sIfaDcVcEybOrBru/docs/images/customize/forms/vaults/http-vault-connection-options.png?w=560&fit=max&auto=format&n=sIfaDcVcEybOrBru&q=85&s=92f7783c6fb28df7029e1110e53ce34c 560w, https://mintcdn.com/docs-dev-privilege-worker-scope-pinning/sIfaDcVcEybOrBru/docs/images/customize/forms/vaults/http-vault-connection-options.png?w=840&fit=max&auto=format&n=sIfaDcVcEybOrBru&q=85&s=26f4a3ed9cead66ba427cbd0e20b932e 840w, https://mintcdn.com/docs-dev-privilege-worker-scope-pinning/sIfaDcVcEybOrBru/docs/images/customize/forms/vaults/http-vault-connection-options.png?w=1100&fit=max&auto=format&n=sIfaDcVcEybOrBru&q=85&s=db5270c65a6438c0caf28966eec61faa 1100w, https://mintcdn.com/docs-dev-privilege-worker-scope-pinning/sIfaDcVcEybOrBru/docs/images/customize/forms/vaults/http-vault-connection-options.png?w=1650&fit=max&auto=format&n=sIfaDcVcEybOrBru&q=85&s=f55d82386df8aa4f7a0d371fbe5215b0 1650w, https://mintcdn.com/docs-dev-privilege-worker-scope-pinning/sIfaDcVcEybOrBru/docs/images/customize/forms/vaults/http-vault-connection-options.png?w=2500&fit=max&auto=format&n=sIfaDcVcEybOrBru&q=85&s=835a27bae578d126ef3c3a14ba2111be 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-privilege-worker-scope-pinning/sIfaDcVcEybOrBru/docs/images/customize/forms/vaults/http-vault-connection-bearer-token.png?fit=max&auto=format&n=sIfaDcVcEybOrBru&q=85&s=7faa7b882ee2aa987ccf05292f59e3f7" 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-privilege-worker-scope-pinning/sIfaDcVcEybOrBru/docs/images/customize/forms/vaults/http-vault-connection-bearer-token.png?w=280&fit=max&auto=format&n=sIfaDcVcEybOrBru&q=85&s=cd11974ee7ea5ebb74c252eff4eaa5ee 280w, https://mintcdn.com/docs-dev-privilege-worker-scope-pinning/sIfaDcVcEybOrBru/docs/images/customize/forms/vaults/http-vault-connection-bearer-token.png?w=560&fit=max&auto=format&n=sIfaDcVcEybOrBru&q=85&s=f8eaf13fdeff06ec413d9df8f130f4d7 560w, https://mintcdn.com/docs-dev-privilege-worker-scope-pinning/sIfaDcVcEybOrBru/docs/images/customize/forms/vaults/http-vault-connection-bearer-token.png?w=840&fit=max&auto=format&n=sIfaDcVcEybOrBru&q=85&s=90c9684af54476af3e45a2b193e5464e 840w, https://mintcdn.com/docs-dev-privilege-worker-scope-pinning/sIfaDcVcEybOrBru/docs/images/customize/forms/vaults/http-vault-connection-bearer-token.png?w=1100&fit=max&auto=format&n=sIfaDcVcEybOrBru&q=85&s=8b7f31bdaddce72e953d3a8d9b335a52 1100w, https://mintcdn.com/docs-dev-privilege-worker-scope-pinning/sIfaDcVcEybOrBru/docs/images/customize/forms/vaults/http-vault-connection-bearer-token.png?w=1650&fit=max&auto=format&n=sIfaDcVcEybOrBru&q=85&s=caa74166275b4f0e17db2019d5a93b36 1650w, https://mintcdn.com/docs-dev-privilege-worker-scope-pinning/sIfaDcVcEybOrBru/docs/images/customize/forms/vaults/http-vault-connection-bearer-token.png?w=2500&fit=max&auto=format&n=sIfaDcVcEybOrBru&q=85&s=215aa0ca34d018912edd09a6ebe22191 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-privilege-worker-scope-pinning/sIfaDcVcEybOrBru/docs/images/customize/forms/vaults/http-vault-connection-oauth-client-credentials.png?fit=max&auto=format&n=sIfaDcVcEybOrBru&q=85&s=b8f0ddeae9b3e892bb7f6762622bfd2b" 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-privilege-worker-scope-pinning/sIfaDcVcEybOrBru/docs/images/customize/forms/vaults/http-vault-connection-oauth-client-credentials.png?w=280&fit=max&auto=format&n=sIfaDcVcEybOrBru&q=85&s=9d945e1e5d3af60a9eecf4e9a63ea52a 280w, https://mintcdn.com/docs-dev-privilege-worker-scope-pinning/sIfaDcVcEybOrBru/docs/images/customize/forms/vaults/http-vault-connection-oauth-client-credentials.png?w=560&fit=max&auto=format&n=sIfaDcVcEybOrBru&q=85&s=c611d6543809caa89e5b4703be871feb 560w, https://mintcdn.com/docs-dev-privilege-worker-scope-pinning/sIfaDcVcEybOrBru/docs/images/customize/forms/vaults/http-vault-connection-oauth-client-credentials.png?w=840&fit=max&auto=format&n=sIfaDcVcEybOrBru&q=85&s=194aa3085a844eafb6d95e2290dc0dfe 840w, https://mintcdn.com/docs-dev-privilege-worker-scope-pinning/sIfaDcVcEybOrBru/docs/images/customize/forms/vaults/http-vault-connection-oauth-client-credentials.png?w=1100&fit=max&auto=format&n=sIfaDcVcEybOrBru&q=85&s=4a2e9db65ea168a9424da63d24169e36 1100w, https://mintcdn.com/docs-dev-privilege-worker-scope-pinning/sIfaDcVcEybOrBru/docs/images/customize/forms/vaults/http-vault-connection-oauth-client-credentials.png?w=1650&fit=max&auto=format&n=sIfaDcVcEybOrBru&q=85&s=5639b37461a0ea364d8760f002e9884c 1650w, https://mintcdn.com/docs-dev-privilege-worker-scope-pinning/sIfaDcVcEybOrBru/docs/images/customize/forms/vaults/http-vault-connection-oauth-client-credentials.png?w=2500&fit=max&auto=format&n=sIfaDcVcEybOrBru&q=85&s=93a09185926b354cb97fd878df169be7 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-privilege-worker-scope-pinning/sIfaDcVcEybOrBru/docs/images/customize/forms/vaults/http-vault-connection-api-key.png?fit=max&auto=format&n=sIfaDcVcEybOrBru&q=85&s=6ee903e452f41dcc8755f8686595be3d" 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-privilege-worker-scope-pinning/sIfaDcVcEybOrBru/docs/images/customize/forms/vaults/http-vault-connection-api-key.png?w=280&fit=max&auto=format&n=sIfaDcVcEybOrBru&q=85&s=fdd2e65310dc4036ec2fa3b397a153f8 280w, https://mintcdn.com/docs-dev-privilege-worker-scope-pinning/sIfaDcVcEybOrBru/docs/images/customize/forms/vaults/http-vault-connection-api-key.png?w=560&fit=max&auto=format&n=sIfaDcVcEybOrBru&q=85&s=0be83188433f5bf16c5fa68947322d0e 560w, https://mintcdn.com/docs-dev-privilege-worker-scope-pinning/sIfaDcVcEybOrBru/docs/images/customize/forms/vaults/http-vault-connection-api-key.png?w=840&fit=max&auto=format&n=sIfaDcVcEybOrBru&q=85&s=8a2d04511dc5f7525c105f988c7afaad 840w, https://mintcdn.com/docs-dev-privilege-worker-scope-pinning/sIfaDcVcEybOrBru/docs/images/customize/forms/vaults/http-vault-connection-api-key.png?w=1100&fit=max&auto=format&n=sIfaDcVcEybOrBru&q=85&s=d42e61e94e3ba75fb4722210948be280 1100w, https://mintcdn.com/docs-dev-privilege-worker-scope-pinning/sIfaDcVcEybOrBru/docs/images/customize/forms/vaults/http-vault-connection-api-key.png?w=1650&fit=max&auto=format&n=sIfaDcVcEybOrBru&q=85&s=4cbf70128958d42fb4f923eee7a11caf 1650w, https://mintcdn.com/docs-dev-privilege-worker-scope-pinning/sIfaDcVcEybOrBru/docs/images/customize/forms/vaults/http-vault-connection-api-key.png?w=2500&fit=max&auto=format&n=sIfaDcVcEybOrBru&q=85&s=6d4fce9993fe0ac91681fbe2d5058708 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-privilege-worker-scope-pinning/sIfaDcVcEybOrBru/docs/images/customize/forms/vaults/http-vault-connection-basic-authentication.png?fit=max&auto=format&n=sIfaDcVcEybOrBru&q=85&s=08339030631197f6ad192d95f976ce69" 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-privilege-worker-scope-pinning/sIfaDcVcEybOrBru/docs/images/customize/forms/vaults/http-vault-connection-basic-authentication.png?w=280&fit=max&auto=format&n=sIfaDcVcEybOrBru&q=85&s=b606222ca5752e8e0ecb98a855e43a9f 280w, https://mintcdn.com/docs-dev-privilege-worker-scope-pinning/sIfaDcVcEybOrBru/docs/images/customize/forms/vaults/http-vault-connection-basic-authentication.png?w=560&fit=max&auto=format&n=sIfaDcVcEybOrBru&q=85&s=e404c80a1884e5f52d1ab6ce3ebaf0c0 560w, https://mintcdn.com/docs-dev-privilege-worker-scope-pinning/sIfaDcVcEybOrBru/docs/images/customize/forms/vaults/http-vault-connection-basic-authentication.png?w=840&fit=max&auto=format&n=sIfaDcVcEybOrBru&q=85&s=4f0426f9646c40d5a271fcf9efc233d5 840w, https://mintcdn.com/docs-dev-privilege-worker-scope-pinning/sIfaDcVcEybOrBru/docs/images/customize/forms/vaults/http-vault-connection-basic-authentication.png?w=1100&fit=max&auto=format&n=sIfaDcVcEybOrBru&q=85&s=47426a78ff6bdab28fb619b298aad158 1100w, https://mintcdn.com/docs-dev-privilege-worker-scope-pinning/sIfaDcVcEybOrBru/docs/images/customize/forms/vaults/http-vault-connection-basic-authentication.png?w=1650&fit=max&auto=format&n=sIfaDcVcEybOrBru&q=85&s=37ff7615ddd52863d5e9425bcb42db89 1650w, https://mintcdn.com/docs-dev-privilege-worker-scope-pinning/sIfaDcVcEybOrBru/docs/images/customize/forms/vaults/http-vault-connection-basic-authentication.png?w=2500&fit=max&auto=format&n=sIfaDcVcEybOrBru&q=85&s=0d224857490d884fca60d9c8c85fc2e8 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>
