Skip to content

Commit

Permalink
Add semi persistent vault
Browse files Browse the repository at this point in the history
This is still just for testing, but gives the same
level of persistence, as does Kubo IPFS.

Done right, it should be safe, though. YMMV!
  • Loading branch information
bahner committed Mar 19, 2024
1 parent ba99394 commit c39a517
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 0 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -34,3 +34,4 @@ go.work
/relay
/node
/.vault
vault/**
14 changes: 14 additions & 0 deletions vault.hcl
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
storage file {
path = "./vault"
}

listener tcp {
address = "127.0.0.1:8200"
tls_disable = 1
}

api_addr = "http://127.0.0.1:8200"

default_lease_ttl = "168h"
max_lease_ttl = "720h"
ui = true

0 comments on commit c39a517

Please sign in to comment.