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

Transition from Username/Password to Token Auth for TPP #54

Closed angelmoo closed 3 years ago

angelmoo commented 4 years ago

-Added support for access token. -If access token expires and refresh token is set then a mechanism were implemented to get new access token and refresh token. -Added url to be used instead of tpp_url and cloud_url. and if tpp_url or _cloud_url is set then internally will be changed to url. -Added test cases for access token use case.

ran test suit, ran well

@tr1ck3r and @asquith-venafi , for this case we think you should do the code review, since this changes were made by @rvelaVenafi and I.