Create secrets in Vault
This guide shows you how to create secrets using the HashiCorp Vault UI.
Create a secret
Configure secret path
Choose a path from the dropdown menu or enter it manually. This path must be unique and will be used to reference the secret later.
Add secret data
In the key field in the secret data section, enter your secret information. For example, you might use test_pass as the key name.
Use JSON format
You can also enter secrets using JSON format. Use the JSON toggle switch to switch between the form view and JSON view.
The Version dropdown menu refers to the iteration of the secret, not the version of the KV Vault Engine.
Manage secrets
Created secrets appear alphabetically in the list. Use the dropdown menu to perform actions such as:
- Viewing secret details
- Editing secrets
- Deleting secrets
- Viewing version history