ti fs-vault mount-vault
Mounts readable vault fields as a local read-only FUSE filesystem.
On Linux, install FUSE3 and make /dev/fuse available. On macOS, install macFUSE and approve its system extension. Vault mounts are not supported on Windows; use read-secret, list-secrets, or run-with-secret instead.
Syntax
ti fs-vault mount-vault
--mount-path <string>
[--dry-run]
[--file-system-id <string>]
[--fs-token <string>]
[--help]
[--ready-timeout <duration>]
[--vault-token <string>]
[--version]
Options
--mount-path <string>: Local mount path. [required]--dry-run: Validate the request without applying changes.--file-system-id <string>: Select the file system. You can also setTI_FS_FILE_SYSTEM_ID.--fs-token <string>: Set the owner Filesystem token. If omitted, the command uses theTI_FS_TOKENenvironment variable. If neither is provided, the command uses the local token stored for the selected Filesystem. For delegated authentication, use--vault-tokenorTI_VAULT_TOKENinstead.--help: Display help information.--ready-timeout <duration>: Time to wait for a background mount to become ready. [default:30s]--vault-token <string>: Delegatedti fs-vaulttoken; preferTI_VAULT_TOKEN.--version: Display version information.
For options shared by all commands, see Global options.
Examples
Before running either example, inject a delegated Vault token. In an interactive shell, read and export it without placing it in shell history:
printf 'Delegated Vault token: ' >&2
read -r -s TI_VAULT_TOKEN
printf '\n' >&2
export TI_VAULT_TOKEN
When the mount is no longer needed, unmount it and run unset TI_VAULT_TOKEN.
Mount a delegated Vault view:
# Expose only the paths allowed by TI_VAULT_TOKEN. ti fs-vault mount-vault --file-system-id <file-system-id> --mount-path ./vaultAllow more time for the Vault mount to become ready:
# Increase the readiness timeout on a slower host or network. ti fs-vault mount-vault --file-system-id <file-system-id> --mount-path ./vault --ready-timeout 60s