# Store Account

{% hint style="info" %}
This is a Pipeline Engine v2 exclusive connector.
{% endhint %}

**Store Account** dynamically stores accounts locally and later in a vault, playing a crucial role in security.

To enable the dynamic use of accounts in different connectors, you need to follow a two-step process:

1. Store the desired account using the **Store Account** connector.
2. Reference the name of the account in the connector in which you want to use it.

{% hint style="info" %}
The connector must support the [Dynamic Accounts feature](/documentation/developer-guide/development-cycle/overview/runtime/pipeline-engine/dynamic-accounts.md).
{% endhint %}

This ensures seamless and secure access to the required accounts across different functionalities.

## **Parameters**

Take a look at the configuration options for the component. Parameters supported by [Double Braces expressions](/documentation/connectors-and-triggers/double-braces/overview.md) are marked with `(DB)`.

{% hint style="info" %}
Depending on the account type selected in the **Account Type** parameter, additional configuration parameters may be activated in the form. These parameters can support [Double Braces](/documentation/connectors-and-triggers/double-braces/overview.md), and when they do, the field in the form will [include the `{ }` symbol](/documentation/connectors-and-triggers/double-braces/double-braces-autocomplete.md).
{% endhint %}

### **General tab**

<table data-full-width="true"><thead><tr><th>Parameter</th><th>Description</th><th>Default value</th><th>Data type</th></tr></thead><tbody><tr><td><strong>Account Name</strong> <code>(DB)</code></td><td>The name of the account to be stored.</td><td>N/A</td><td>String</td></tr><tr><td><strong>Account Type</strong></td><td><p>The type of account to be stored. Depending on the type, new parameters required for the account are activated in the form. <a href="/spaces/jvO5S91EQURCEhbZOuuZ/pages/fS1QLzAg8rGSSJFwtrvy#accounts-type">Learn more about the configuration of each account type</a>. </p><p>Supported accounts: </p><ul><li><strong>API Key</strong> </li><li><strong>AWS Role</strong> </li><li><strong>AWS V4</strong> </li><li><strong>Basic</strong> </li><li><strong>Certificate Chain</strong> </li><li><strong>Custom Auth Header</strong> </li><li><strong>Google Key</strong> </li><li><strong>NTLM</strong> </li><li><strong>OAuth Bearer Token</strong> </li><li><strong>Private Key</strong> </li><li><strong>Public Key</strong> </li><li><strong>Secret Key</strong> </li><li><strong>SMTP Auth And Properties</strong></li></ul></td><td>Basic</td><td>String</td></tr><tr><td><strong>Scoped</strong></td><td>When active, the stored account is isolated from other subprocesses. In this case, the subprocesses see their own version of the stored account data.</td><td>False</td><td>Boolean</td></tr><tr><td><strong>Fail On Error</strong></td><td>If the option is activated, the pipeline's execution with an error will be interrupted. Otherwise, the pipeline execution proceeds, but the result will show a false value for the “success” property.</td><td>False</td><td>Boolean</td></tr></tbody></table>

### **Documentation tab**

<table data-full-width="true"><thead><tr><th>Parameter</th><th>Description</th><th>Default value</th><th>Data type</th></tr></thead><tbody><tr><td><strong>Documentation</strong></td><td>Section for documenting any necessary information about the connector configuration and business rules.</td><td>N/A</td><td>String</td></tr></tbody></table>

## **Usage example**

Suppose you need to authenticate to a database with a Basic credential. In this case, you need to perform the following steps:

1. Configure the **Store Account** to create these credentials to be used in the [**DB V2**](/documentation/connectors-and-triggers/connectors/structured-data/db-v2.md) connector.
2. Connect the **DB V2** connector and configure the data of the database to be accessed.
3. Activate the **Use Dynamic Account** parameter in the **DB V2** connector configuration form. Then, enter the account name in the **Account Name** parameter.

Once you have completed the configuration steps, you can use dynamic access to this database.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.digibee.com/documentation/connectors-and-triggers/connectors/tools/store-account.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
