-
Notifications
You must be signed in to change notification settings - Fork 20
Description
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