Visual Studio Code (VS Code) extension that provides the ability to interact with HashiCorp Vault servers.
Connecting to a Vault
Prior to reading, writing or deleting paths, a vault token must be acquired by authenticating against an authentication backend. This extension supports integrated authentication via a GitHub personal access token or via a username and password.
If your vault instance does not suport these integrated authentication backends, this extension can reuse a vault token generated through the vault CLI.
If authenticating through the CLI, select the Native authentication. When authenticating through an external process, select Manual authentication and provide your vault token.
Reading and Writing Data
Much like the Vault CLI, data can be supplied in the form of key-value pairs or as JSON structures.
When writing key-value data to a path, data must be in the form of
When reading key-value data from a path, select an key from the available list. The associated value will then be copied to the clipboard. If thes specified path contains only 1 key, the value associated with that key will be automatically copied to the clipboard.
When writing JSON data to a path, data must be a well-formed JSON object in the form of
JSON data (or complex data structures, such as a map) is presented through the UI as a flattened object instance to allow for selecting nested values.
The following settings are supported