I am running a vault with KV secrets engine v2 enabled. There is an endpoint to get a secret by version number (http://127.0.0.1:8200/v1/secret/data/customer/acme?version=1) and there is another to get the meatadata (http://127.0.0.1:8200/v1/secret/metadata/customer/acme). Is there a call that combines the two calls together, something that will list all version of the secret along with the secrets data for each version?
Hm, that’s a great question. I don’t see one. It may have been avoided because we would have had to address issues like how to handle it when there are a lot of secrets, like handling pagination or version ranges or some such. Can you meet your use case by doing a call to get the list of version numbers, then each individual version? If not, can you state more about your use case so I can record it as part of a feature request?