Closed jmls closed 8 years ago
You should not have to call setToken
but as part of removing the need of requiring the call to setToken
(it is still an option for anyone that does not want to have to pass it to every API call), the flag for initialized
is not being set properly.
Should get resolved in master later this evening.
I thought that with the work you did (passing token into every api call) , there was no need for setToken() any more.
However, setToken() is the only place I can find where vault.initialized is set. I am connecting to a vault that has already been unsealed by another process, so I don't need / want to unseal() it.
this code returns
However, if I change the read function to
then I don't get the error