Mount all secrets under a path

Hi All

I am using vault containers to mount secrets. It makes the vault secret consumer containers to read from files.

We store secrets like secret/files/id1, secret/files/id2. The number of such secrets under this path secret/files could be more. Is there a way to mount all the secrets under secret/files to the side car container like /vault/secrets/id1,/vault/secrets/id2? We don’t know the number of files at the beginning and it could be increasing once the vault comes up. Vault agent init container throws no such file error during bootup if we mention the /secret/files path in the vault inject annotation.

Thanks
Guru

Thanks
Guru