You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
ACTUAL RESULTS
Code 400: Error
Error writing date to venafi-pki/venafi/tpp: error making API request
*unexpected status code on TPP Authorize. Status: 400 Bad Request
ENVIRONMENT DETAILS
I have Venafi 24.1.2 on-premise
COMMENTS/WORKAROUNDS
the same command works perfectly if I remove the refresh_token and refresh_token_2
vault write venafi-pki/venafi/tpp
url="https://tpp.venafi.example"
access_token="tn1PwE1QTZorXmvnTowSyA=="
zone="DevOps\HashiCorp Vault"
--> Success! Data written to : venafi-pki/venafi/tpp
The text was updated successfully, but these errors were encountered:
I noticed this same error when the client_id had mismatch with default value configured in this plugin.
it was fixed by overriding client_id by passing correct value from tpp in vault write command.
PROBLEM SUMMARY
Impossible to use refresh_token and refresh_token_2 in command : vault write venafi-pki/venafi/tpp
STEPS TO REPRODUCE
vault write venafi-pki/venafi/tpp
url="https://tpp.venafi.example"
access_token="tn1PwE1QTZorXmvnTowSyA=="
refresh_token="MGxV7DzNnclQi9CkJMCXCg=="
refresh_token_2="p0WTt3sDPbzm2BDIkoJROQ=="
zone="DevOps\HashiCorp Vault"
ACTUAL RESULTS
Code 400: Error
Error writing date to venafi-pki/venafi/tpp: error making API request
*unexpected status code on TPP Authorize. Status: 400 Bad Request
ENVIRONMENT DETAILS
I have Venafi 24.1.2 on-premise
COMMENTS/WORKAROUNDS
the same command works perfectly if I remove the refresh_token and refresh_token_2
vault write venafi-pki/venafi/tpp
url="https://tpp.venafi.example"
access_token="tn1PwE1QTZorXmvnTowSyA=="
zone="DevOps\HashiCorp Vault"
--> Success! Data written to : venafi-pki/venafi/tpp
The text was updated successfully, but these errors were encountered: