Skip to main content
Add a secret to the vault. vault add creates a new secret in your workspace’s vault.

Usage

Example

Output

Options

—description, -d <text>

Description of the secret.

—revealable

If set, the secret value can be retrieved in future calls.

—label <key=value>

Key-value labels to attach to the secret.

—from_file <path>

Load the file contents as the secret value.

—output, -o <format>

Output format. One of table or json. Default is table.
Last modified on August 20, 2026