Skip to main content
Update an existing secret in the vault. vault set updates the value of an existing secret in your workspace’s vault.

Usage

Example

Output

Options

—object_id <id>

The object to update.

—if-version-matches <version>

Only update if the object version matches this value.

—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