Vaults

Returns a list of configured Hashicorp vaults.

SecurityApiKeyAuth
Responses
200

OK

500

Internal Service Unavailable.

get/vaults/hashicorp
Response samples
application/json
[]

Configure a new Hashicorp Vault

SecurityApiKeyAuth
Request
Request Body schema: application/json
required
required
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.

login_command_args
Array of strings [ 1 .. 100 ] items

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.

Responses
201

Created

400

Invalid Input provided.

500

Internal Service Unavailable.

post/vaults/hashicorp
Request samples
application/json
{
  • "env_variables": {},
  • "login_command_args": [
    ]
}
Response samples
application/json
{}

Get a Hashicorp vault by id

SecurityApiKeyAuth
Request
path Parameters
vaultId
required
integer <int64>

Numeric ID of the Hashicorp vault

Responses
200

OK

404

Object Not Found.

500

Internal Service Unavailable.

get/vaults/hashicorp/{vaultId}
Response samples
application/json
{}

Delete a Hashicorp vault by id

SecurityApiKeyAuth
Request
path Parameters
vaultId
required
integer <int64>

Numeric ID of the Hashicorp vault

Responses
200

OK

404

Object Not Found.

500

Internal Service Unavailable.

delete/vaults/hashicorp/{vaultId}