UKHomeOffice / vault-sidekick

Vault sidekick
Apache License 2.0
195 stars 62 forks source link

Exchange kubernetes token by vault token and renew #74

Open jeusdi opened 6 years ago

jeusdi commented 6 years ago

I'd like to know if I could create an initContainer or a sideCar in order to exchange the pod token by a vault token and renew it.

I'd like to get and renew this token in order to save it into a file or populate it into an environment variable.

Is it possible?

Could you provide any straightforward example?