# Configure a new Hashicorp Vault

Endpoint: POST /vaults/hashicorp
Version: v4.2.0
Security: ApiKeyAuth

## Request fields (application/json):

  - `env_variables` (object, required)
    Environment variables to set when invoking the Vault CLI tool. The environment variables will be used both
to login to the vault (if this step is required) and to retrieve engine username and passwords.
    Example: {"VAULT_ADDR":"https://vault.company.co:8200","VAULT_TOKEN":"token-to-retrieve-secrets"}

  - `login_command_args` (array)
    Arguments to the "vault" CLI tool to be used to fetch a client token (or "login").
If supporting files, such as TLS certificates, must be used to authenticate, they can be
mounted to the /etc/config directory.
This property must not be set when using the TOKEN authentication method as login is not required.
    Example: ["<command>","<arg_1>","<arg_2>","<arg_n>"]

## Response 201 fields (application/json):

  - `id` (integer, required)

  - `env_variables` (object, required)
    Environment variables to set when invoking the Vault CLI tool. The environment variables will be used both
to login to the vault (if this step is required) and to retrieve engine username and passwords.
    Example: {"VAULT_ADDR":"https://vault.company.co:8200"}


## Response 400 fields

## Response 500 fields
