Expand description
Files that hold a Vault value for one command: Terminal run with
secret_files (SPEC_VAULT_GENERATE_CAPTURE_AND_BROWSER_SIGNINS_2026_10_28.md §4.3),
for tools that read a key only from a file (--key-file,
GOOGLE_APPLICATION_CREDENTIALS).
Each command gets a fresh folder of its own under <data home>/vault-files/,
readable by the user alone (0700 and 0600 on Unix; on Windows the folder is
inside the user’s profile, which only the user, SYSTEM and Administrators can
read). SecretDir overwrites and removes it when it is dropped, that is when
the command’s runner ends. A folder left by a crash is removed when srv next
starts (init).
Structs§
- Secret
Dir - One command’s folder. Dropping it removes its files.
Functions§
- init
- Sets the folder’s place and removes whatever a crashed srv left there.