uswitch / vault-creds

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

handle lease not found error #13

Closed Joseph-Irving closed 6 years ago

Joseph-Irving commented 6 years ago

Currently vault-creds only properly handles permission denied, you can also get into a state where the database credentials are removed and you will get a "lease not found" error. This pr will allow it to exit and clean up if it gets this error.