faradayio / cage

Develop and deploy complex Docker applications
http://cage.faraday.io
Apache License 2.0
307 stars 26 forks source link

0.3.x alpha: vault plugin requests tokens too often #100

Closed seamusabshere closed 3 years ago

seamusabshere commented 4 years ago

I'm used to hooks only running on cage pull. And that's where I got my secrets, using a script in config/hooks/pull.d.

I switched to using the vault plugin. Now it appears to re-request vault tokens every time I run cage source unmount, etc.

emk commented 4 years ago

Ah, yup. The vault was exclusively used for export before and it doesn't cache tokens locally. Thank you for catching this!