uswitch / vault-creds

Sidecar container for requesting dynamic Vault database secrets
Apache License 2.0
84 stars 14 forks source link

look for an existing lease and renew that #9

Closed Joseph-Irving closed 6 years ago

Joseph-Irving commented 6 years ago

So this will write out the full secret with lease details to a file as well as generating the credentials. When a new vault-creds starts up it will check for this before creating brand new creds. This means you could generate creds in an init container and pass them to the sidecar