Expand description
file:// backend for hasp.
Grammar:
file:///absolute/path— absolute path (host empty orlocalhost)file://./relative/path— relative to current working directory (host =.)?raw=true— disables the default newline trim (get only)
list supports glob patterns in the path component:
file:///etc/secrets/*.keyfile:///etc/secrets/**/*.key
Query params for list:
?hidden=1— include dotfiles (default: exclude)?follow_symlinks=1— follow symlinks during**traversal (default: skip — prevents escaping the intended tree)
Supported operations: get, put, exists, delete, list.
Structs§
- File
Backend - Stdlib-only backend that reads secrets from files.
- FileUrl
- URL shape for
file://addresses.