> ## Documentation Index
> Fetch the complete documentation index at: https://docs-staging-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-staging-privilege-worker-scope-pinning/VgJ2m2668kRZw54q/docs/images/customize/forms/vaults/http-vault-connection-options.png?fit=max&auto=format&n=VgJ2m2668kRZw54q&q=85&s=6b06a59f13cdce65c660b657e69c9320" 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-privilege-worker-scope-pinning/VgJ2m2668kRZw54q/docs/images/customize/forms/vaults/http-vault-connection-options.png?w=280&fit=max&auto=format&n=VgJ2m2668kRZw54q&q=85&s=618b26027050fb3d528dae8dd07c2735 280w, https://mintcdn.com/docs-staging-privilege-worker-scope-pinning/VgJ2m2668kRZw54q/docs/images/customize/forms/vaults/http-vault-connection-options.png?w=560&fit=max&auto=format&n=VgJ2m2668kRZw54q&q=85&s=5f2395ea6ba00d3f8e6cce27f04a2243 560w, https://mintcdn.com/docs-staging-privilege-worker-scope-pinning/VgJ2m2668kRZw54q/docs/images/customize/forms/vaults/http-vault-connection-options.png?w=840&fit=max&auto=format&n=VgJ2m2668kRZw54q&q=85&s=7927051f22c3b75c60ea6f2a66160c7c 840w, https://mintcdn.com/docs-staging-privilege-worker-scope-pinning/VgJ2m2668kRZw54q/docs/images/customize/forms/vaults/http-vault-connection-options.png?w=1100&fit=max&auto=format&n=VgJ2m2668kRZw54q&q=85&s=a5826368b732f17f26d8fb0d80d6491a 1100w, https://mintcdn.com/docs-staging-privilege-worker-scope-pinning/VgJ2m2668kRZw54q/docs/images/customize/forms/vaults/http-vault-connection-options.png?w=1650&fit=max&auto=format&n=VgJ2m2668kRZw54q&q=85&s=994c29c4167270767b1a9e7ef55d170b 1650w, https://mintcdn.com/docs-staging-privilege-worker-scope-pinning/VgJ2m2668kRZw54q/docs/images/customize/forms/vaults/http-vault-connection-options.png?w=2500&fit=max&auto=format&n=VgJ2m2668kRZw54q&q=85&s=4674566b116ec5465dce0713fa16ff63 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-privilege-worker-scope-pinning/VgJ2m2668kRZw54q/docs/images/customize/forms/vaults/http-vault-connection-bearer-token.png?fit=max&auto=format&n=VgJ2m2668kRZw54q&q=85&s=030c8872346cd6f185135b0957be8923" 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-privilege-worker-scope-pinning/VgJ2m2668kRZw54q/docs/images/customize/forms/vaults/http-vault-connection-bearer-token.png?w=280&fit=max&auto=format&n=VgJ2m2668kRZw54q&q=85&s=4e4e07e236ebba0181bfd10a76e3ea12 280w, https://mintcdn.com/docs-staging-privilege-worker-scope-pinning/VgJ2m2668kRZw54q/docs/images/customize/forms/vaults/http-vault-connection-bearer-token.png?w=560&fit=max&auto=format&n=VgJ2m2668kRZw54q&q=85&s=e407227d78a410ef258d4dcf1ca7abd5 560w, https://mintcdn.com/docs-staging-privilege-worker-scope-pinning/VgJ2m2668kRZw54q/docs/images/customize/forms/vaults/http-vault-connection-bearer-token.png?w=840&fit=max&auto=format&n=VgJ2m2668kRZw54q&q=85&s=de353cbbf1dd35b84d3cbfa16456ccba 840w, https://mintcdn.com/docs-staging-privilege-worker-scope-pinning/VgJ2m2668kRZw54q/docs/images/customize/forms/vaults/http-vault-connection-bearer-token.png?w=1100&fit=max&auto=format&n=VgJ2m2668kRZw54q&q=85&s=e97acf312ec28294d30080c636108b21 1100w, https://mintcdn.com/docs-staging-privilege-worker-scope-pinning/VgJ2m2668kRZw54q/docs/images/customize/forms/vaults/http-vault-connection-bearer-token.png?w=1650&fit=max&auto=format&n=VgJ2m2668kRZw54q&q=85&s=c7344ec3772498edde8cec844231f6c7 1650w, https://mintcdn.com/docs-staging-privilege-worker-scope-pinning/VgJ2m2668kRZw54q/docs/images/customize/forms/vaults/http-vault-connection-bearer-token.png?w=2500&fit=max&auto=format&n=VgJ2m2668kRZw54q&q=85&s=68777d866dc857a39f4142f772e54d96 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-privilege-worker-scope-pinning/VgJ2m2668kRZw54q/docs/images/customize/forms/vaults/http-vault-connection-oauth-client-credentials.png?fit=max&auto=format&n=VgJ2m2668kRZw54q&q=85&s=82c979b5120639abc7970c16fbe25bca" 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-privilege-worker-scope-pinning/VgJ2m2668kRZw54q/docs/images/customize/forms/vaults/http-vault-connection-oauth-client-credentials.png?w=280&fit=max&auto=format&n=VgJ2m2668kRZw54q&q=85&s=e852e4d3ea36295e3a9b1454ac2fe673 280w, https://mintcdn.com/docs-staging-privilege-worker-scope-pinning/VgJ2m2668kRZw54q/docs/images/customize/forms/vaults/http-vault-connection-oauth-client-credentials.png?w=560&fit=max&auto=format&n=VgJ2m2668kRZw54q&q=85&s=243d8bbd46346206abe3173200ca9e86 560w, https://mintcdn.com/docs-staging-privilege-worker-scope-pinning/VgJ2m2668kRZw54q/docs/images/customize/forms/vaults/http-vault-connection-oauth-client-credentials.png?w=840&fit=max&auto=format&n=VgJ2m2668kRZw54q&q=85&s=c5b25eb3b263a34ffeef70671afcb418 840w, https://mintcdn.com/docs-staging-privilege-worker-scope-pinning/VgJ2m2668kRZw54q/docs/images/customize/forms/vaults/http-vault-connection-oauth-client-credentials.png?w=1100&fit=max&auto=format&n=VgJ2m2668kRZw54q&q=85&s=912fe72245db066aea25a728b75a86dc 1100w, https://mintcdn.com/docs-staging-privilege-worker-scope-pinning/VgJ2m2668kRZw54q/docs/images/customize/forms/vaults/http-vault-connection-oauth-client-credentials.png?w=1650&fit=max&auto=format&n=VgJ2m2668kRZw54q&q=85&s=60b4ef321ab54a73462cef7ec646b429 1650w, https://mintcdn.com/docs-staging-privilege-worker-scope-pinning/VgJ2m2668kRZw54q/docs/images/customize/forms/vaults/http-vault-connection-oauth-client-credentials.png?w=2500&fit=max&auto=format&n=VgJ2m2668kRZw54q&q=85&s=db186b2e9972e2931f0db3aa29885a61 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-privilege-worker-scope-pinning/VgJ2m2668kRZw54q/docs/images/customize/forms/vaults/http-vault-connection-api-key.png?fit=max&auto=format&n=VgJ2m2668kRZw54q&q=85&s=ad0b57fd44429cec0240733576efec34" 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-privilege-worker-scope-pinning/VgJ2m2668kRZw54q/docs/images/customize/forms/vaults/http-vault-connection-api-key.png?w=280&fit=max&auto=format&n=VgJ2m2668kRZw54q&q=85&s=3b12d263c51c6238aace4a5d94db3279 280w, https://mintcdn.com/docs-staging-privilege-worker-scope-pinning/VgJ2m2668kRZw54q/docs/images/customize/forms/vaults/http-vault-connection-api-key.png?w=560&fit=max&auto=format&n=VgJ2m2668kRZw54q&q=85&s=bba6813a3878c01ce77402d0239f6b5d 560w, https://mintcdn.com/docs-staging-privilege-worker-scope-pinning/VgJ2m2668kRZw54q/docs/images/customize/forms/vaults/http-vault-connection-api-key.png?w=840&fit=max&auto=format&n=VgJ2m2668kRZw54q&q=85&s=b56223dcd9b5a45d456d3405fcadffca 840w, https://mintcdn.com/docs-staging-privilege-worker-scope-pinning/VgJ2m2668kRZw54q/docs/images/customize/forms/vaults/http-vault-connection-api-key.png?w=1100&fit=max&auto=format&n=VgJ2m2668kRZw54q&q=85&s=37193bd73cbfa8827afe023f0c8dba51 1100w, https://mintcdn.com/docs-staging-privilege-worker-scope-pinning/VgJ2m2668kRZw54q/docs/images/customize/forms/vaults/http-vault-connection-api-key.png?w=1650&fit=max&auto=format&n=VgJ2m2668kRZw54q&q=85&s=ae3f465bb6a37e6c4534e86519c878d5 1650w, https://mintcdn.com/docs-staging-privilege-worker-scope-pinning/VgJ2m2668kRZw54q/docs/images/customize/forms/vaults/http-vault-connection-api-key.png?w=2500&fit=max&auto=format&n=VgJ2m2668kRZw54q&q=85&s=cbff798b948e8e2b1aaa8db08ab6132d 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-privilege-worker-scope-pinning/VgJ2m2668kRZw54q/docs/images/customize/forms/vaults/http-vault-connection-basic-authentication.png?fit=max&auto=format&n=VgJ2m2668kRZw54q&q=85&s=7e21d68603609e1f3d823feda8d367f7" 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-privilege-worker-scope-pinning/VgJ2m2668kRZw54q/docs/images/customize/forms/vaults/http-vault-connection-basic-authentication.png?w=280&fit=max&auto=format&n=VgJ2m2668kRZw54q&q=85&s=e5d5005c23da028540604f425703c28a 280w, https://mintcdn.com/docs-staging-privilege-worker-scope-pinning/VgJ2m2668kRZw54q/docs/images/customize/forms/vaults/http-vault-connection-basic-authentication.png?w=560&fit=max&auto=format&n=VgJ2m2668kRZw54q&q=85&s=77e22af67644cc5a5e158f10096b0c05 560w, https://mintcdn.com/docs-staging-privilege-worker-scope-pinning/VgJ2m2668kRZw54q/docs/images/customize/forms/vaults/http-vault-connection-basic-authentication.png?w=840&fit=max&auto=format&n=VgJ2m2668kRZw54q&q=85&s=992378e3c9e52d99a5bd0718194e10b3 840w, https://mintcdn.com/docs-staging-privilege-worker-scope-pinning/VgJ2m2668kRZw54q/docs/images/customize/forms/vaults/http-vault-connection-basic-authentication.png?w=1100&fit=max&auto=format&n=VgJ2m2668kRZw54q&q=85&s=f56df1528d07ec7e40b5dcffa437b970 1100w, https://mintcdn.com/docs-staging-privilege-worker-scope-pinning/VgJ2m2668kRZw54q/docs/images/customize/forms/vaults/http-vault-connection-basic-authentication.png?w=1650&fit=max&auto=format&n=VgJ2m2668kRZw54q&q=85&s=0525e8b99a41c603e620ffebeefae355 1650w, https://mintcdn.com/docs-staging-privilege-worker-scope-pinning/VgJ2m2668kRZw54q/docs/images/customize/forms/vaults/http-vault-connection-basic-authentication.png?w=2500&fit=max&auto=format&n=VgJ2m2668kRZw54q&q=85&s=22b208eab0d5da0f4d22c6f262d86eef 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>
