This commit improves the Vault API interaction by
using the vaultapi.KVv1 and vaultapi.KVv2 types where possible. This simplifies the List, Delete and Get APIs.
Further, this commit changes the List API implementation by using HTTP GET instead of LIST. This is a workaround that prevents listing errors caused by some middleware/firewalls. Such systems may reject API calls with "non-standard" HTTP methods.
This commit improves the Vault API interaction by using the
vaultapi.KVv1
andvaultapi.KVv2
types where possible. This simplifies theList
,Delete
andGet
APIs.Further, this commit changes the
List
API implementation by using HTTP GET instead of LIST. This is a workaround that prevents listing errors caused by some middleware/firewalls. Such systems may reject API calls with "non-standard" HTTP methods.