This changes fix the issue described on: https://github.com/Venafi/vault-pki-monitor-venafi/issues/58
changes some properties to be pointers so they can have one only reference and in this way keep the value that is being set to that variable.
make the method that updates the access token and refresh token, synchronized, so when token expires just one worker can update the access and refresh token.
This changes fix the issue described on: https://github.com/Venafi/vault-pki-monitor-venafi/issues/58 changes some properties to be pointers so they can have one only reference and in this way keep the value that is being set to that variable. make the method that updates the access token and refresh token, synchronized, so when token expires just one worker can update the access and refresh token.