CredentialsWrapper doesn't use authCache when building ApplicationDefaultCredentials #372
Labels
priority: p2
Moderately-important priority. Fix may not be included in next release.
type: feature request
‘Nice-to-have’ improvement, new feature or different behavior or design.
Is your feature request related to a problem? Please describe.
I am connecting to different GCP services from GKE using PHP and I am struggling to configure cache for the credentials fetcher in
BigtableClient
. I defined my cache implementation inBigtableClient
through$config['credentialsConfig']['authCache']
. As I am not using key files, theCredentialsWrapper
will build the ApplicationDefaultCredentials, but instead of using the received parameters, theauthCache
and theauthCacheOptions
are hardcodednull
values: https://github.com/googleapis/gax-php/blob/main/src/CredentialsWrapper.php#L129-L130Describe the solution you'd like
I expect these parameters to be used in
buildApplicationDefaultCredentials
method instead of usingnull
values.The text was updated successfully, but these errors were encountered: