import "github.com/hashicorp/vault/sdk/physical/file"
NewFileBackend constructs a FileBackend using the given directory
func NewTransactionalFileBackend(conf map[string]string, logger log.Logger) (physical.Backend, error)
FileBackend is a physical backend that stores data on disk at a given file path. It can be used for durable single server situations, or to develop locally where durability is not critical.
WARNING: the file backend implementation is currently extremely unsafe and non-performant. It is meant mostly for local testing and development. It can be improved in the future.
type TransactionalFileBackend struct { FileBackend }
func (b *TransactionalFileBackend) Transaction(ctx context.Context, txns []*physical.TxnEntry) error
Package file imports 15 packages (graph) and is imported by 6 packages. Updated 2019-04-18. Refresh now. Tools for package owners.