Is it possible to change the location where the vault secret file is injected via the sidecar?

Hello guys !
I followed this tutorial and this is great stuff: https://www.hashicorp.com/blog/injecting-vault-secrets-into-kubernetes-pods-via-a-sidecar/

I was wondering if it was possible to have the sidecar drop the file in another location ?
It currently end up in /vault/secrets/.
That would be nice to have an annotation like
-“vault.hashicorp.com/agent-inject-file-location” = “/custom/path/filename”

Thanks :slight_smile:
jm

2 Likes

If I’ve understood the documentation right, the path is static defined (/vault/secrets).

You could open a feature request for this. :wink:

Certainly, if there is no way to achieve it, I will open a feature request :slight_smile: