abedra / libvault

A C++ library for Hashicorp Vault
MIT License
34 stars 26 forks source link

Token auth method #78

Closed zspasztori closed 3 years ago

zspasztori commented 3 years ago

Resolves #77

Added token auth method and test for each function separately. Added a new HttpConsumer method and a new parameter type, to be able to set all fields of the request. Added an additional success code to HttpClient. This code was not specifically written in the Api documentation, but my vault returned it during success.

abedra commented 3 years ago

Thank you for spending time on this. There are a couple places where I am going to follow up with const-ness and nodiscard rules as I have been doing recently, so please expect a couple minor tweaks in the near future.