Lucretius / vault_raft_snapshot_agent

⛔️ DEPRECATED ⛔️ An agent which provides periodic snapshotting capabilities of Vault's Raft backend
MIT License
78 stars 42 forks source link

Allow another process (eg Vault Agent) #12

Open rdeanmcdonald opened 3 years ago

rdeanmcdonald commented 3 years ago

Hello Lucretius! I have a Vault setup such that a Vault Agent process is already running next to my Vault Server nodes. This Vault Agent uses auto_auth with AWS, and writes a token to a sink file. I wanted to have your raft snapshot agent use that token, instead of authenticate via approle. I made a couple minor additions and figured I'd create a pull request in case it's worth adding to your project.

VSCode did some auto formatting which formatted a couple spots that I otherwise would not have touched. I can undo those if this is something you want to pull into your project