Venafi / vault-pki-backend-venafi

Venafi PKI Secrets Engine plugin for HashiCorp Vault that enables certificate enrollment using Venafi machine identity services.
Mozilla Public License 2.0
54 stars 19 forks source link

Update vault sdk #128

Closed luispresuelVenafi closed 1 year ago

luispresuelVenafi commented 1 year ago
$ vault write venafi-pki/issue/tpp-refresh common_name="dffsdsd.venafi.example"
Error writing data to venafi-pki/issue/tpp-refresh: Error making API request.

URL: PUT http://tpp.venafi.example:8200/v1/venafi-pki/issue/tpp-refresh
Code: 500. Errors:

* 1 error occurred:
    * unexpected status code on TPP Authorize. Status: 400 Bad Request

After exposing the error while debugging:

{"error":"unauthorized_client","error_description":"The client_id value being requested with the refresh token does not match the client_id of the access token making the call."}

that was introduced here: https://github.com/Venafi/vault-pki-backend-venafi/pull/108

rvelaVenafi commented 1 year ago

arent you upgrading vcert dependency to 5.X as well?

luispresuelVenafi commented 1 year ago

Didn't mean to do it at all, but for upgrading other libraries I ended doing it in this PR: https://github.com/Venafi/vault-pki-backend-venafi/pull/130