Skip to main content

Pre-requisites

Add the vault connection configuration to the collection’s secrets.json file (create one if it doesn’t exist). You can use environment variables in the configuration to avoid hardcoding sensitive information. This is the only additional configuration required to use the vault secrets in the collection using the CLI.

Usage

There are 3 different CLI configurations that can be used.

Vault server with token authentication

Corresponding CLI command:
copy

Vault server with appRole authentication

Corresponding CLI command:
copy

Vault cloud with client credentials authentication

Corresponding CLI command:
copy