Maybe there's a way to do this and I'm missing it, but I can't seem to find a way to instantiate a Client without using an AuthStrategy. For context, we have an application that logs you into Vault and other applications once per day, setting the ~/.vault-token file that most other SDK's accept, so making users log in again would not be ideal.
If there is no way of doing this currently, perhaps we could add another constructor to Vault::Client that just accepted a raw token, instead of requiring an AuthStrategy, so we could read the file first and put it in?
Maybe there's a way to do this and I'm missing it, but I can't seem to find a way to instantiate a Client without using an AuthStrategy. For context, we have an application that logs you into Vault and other applications once per day, setting the
~/.vault-token
file that most other SDK's accept, so making users log in again would not be ideal.If there is no way of doing this currently, perhaps we could add another constructor to
Vault::Client
that just accepted a raw token, instead of requiring an AuthStrategy, so we could read the file first and put it in?