minio / kes

Key Managament Server for Object Storage and more
https://min.io/docs/kes/concepts/
GNU Affero General Public License v3.0
456 stars 94 forks source link

vault: improve Vault API interaction #458

Closed aead closed 4 months ago

aead commented 4 months ago

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.