VaultFS mounts arbitrary Vault prefixes in a FUSE filesystem.
Table of Contents
This project is in early development and has not reached 1.0. You will have to build the binary yourself:
go get github.com/Promaethius/vaultfs
env GOOS=linux go build github.com/Promaethius/vaultfs
VaultFS is one binary that can mount keys or run a Docker volume plugin to do so
for containers. Run vaultfs --help
to see options not documented here.
Usage:
vaultfs mount {mountpoint} [flags]
Flags:
-a, --address="https://localhost:8200": vault address
-i, --insecure[=false]: skip SSL certificate verification
-r, --root="secret": root path for reads
-t, --token="": vault token
To mount secrets, first create a mountpoint (mkdir test
), then use vaultfs
to mount:
vaultfs mount --address=http://localhost:8200 -t 3a749a17-528e-e4b1-c28a-62e54f0098ae test
VaultFS is licensed under an Apache 2.0 License (see also: LICENSE)