fishi0x01/vsh

Perform Vault operations concurrently

Opened this issue · 1 comments

Presently all Vault operations are serial, even for reads/writes that operate recursively on paths. These paths are determined by list api calls to find path targets, but after that a for loop iterates over those paths to get or put the data. We could utilize Go channels for this portion to run the read/write api calls simultaneously.

You are right. Parallelizing the calls could save quite some time when recursively operating on a decent amount of secrets in a path.

I like your idea 👍

I can take a look at this if you want - but since you self-assigned this I assume you already gave it a shot? 😎