You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This commit implements caching for access tokens in the Google Cloud Storage backend. Before this we re-requested the auth token before each GCS REST query.
I'm using an RwLock rather than a Mutex, since the token is read much more often than it's written.
I also changed the name of the workflow_identity module to workload_identity.
Resolves#384
ATM we re-request the auth token before each GCS REST query.
We need to use the built-in oauth refresh mechanism for ServiceAccounts, while for Workload Identity, we probably need a caching of the token.
CloudStorage
is cloned per-connection, so it seems to be quite straightforward.The text was updated successfully, but these errors were encountered: