Venafi / vault-pki-monitor-venafi

Venafi PKI Monitoring Secrets Engine for HashiCorp Vault that enforces security policy and provides certificate visiblity to the enterprise.
Mozilla Public License 2.0
19 stars 9 forks source link

Streamline initialization of Secrets Engine with TPP by requiring Refresh Token only #66

Closed angelmoo closed 3 years ago

angelmoo commented 3 years ago

Now user can include just a refresh token when creating a venafi secret, then the refresh token will be used and then get a new access token and refresh token.

also as latest version of tpp(20.4) the error expired_token is not longer being thrown, so removing that validation and adding a validation for http code 401, this will be thrown when access token is expired or is invalid.

all test suite ran well