abedra / libvault

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

How should VaultClient.h be used? #121

Closed k-kdan closed 7 months ago

k-kdan commented 10 months ago

In order to connect to the vault's server, I need to request an authorization url with the client certificate and the client key. From what I see in VaultClient.h, I first need to create a Vault client, but creating the client requires some kind of token, or username/password ...etc, which I don't have. All I have is the client certificate, and the client key. The mount path is at /oidc.

abedra commented 7 months ago

There are many examples of use in the example folder, and more can be found in the integration tests