# Get a Hashicorp vault by id

Endpoint: GET /management/vaults/hashicorp/{vaultId}
Version: 3.17.0
Security: ApiKeyAuth

## Security:

  - `ApiKeyAuth` (unknown)
    apiKey in header Authorization

## Path parameters:

  - `vaultId` (integer, required)
    Numeric ID of the Hashicorp vault

## Response 200:

  - `200` (unknown)
    OK

## Response 200 fields (application/json):

  - `id` (integer)

  - `env_variables` (object)
    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: ["login","-method=cert","-client-cert=/etc/config/cert.pem","-client-key=/etc/config/key.pem","write","auth/approle/login","role_id=123","secret_id=456"]

  - `tags` (array)

  - `tags.key` (string, required)
    Key of the tag
    Example: key-1

  - `tags.value` (string, required)
    Value of the tag
    Example: value-1

