Closed walteree1 closed 9 months ago
the fix for this is easy, you need to add an scope where the credential are being created
alex_credentials = identity_pool.Credentials.from_info(json.loads(cred_alex_json)).with_scopes(['https://www.googleapis.com/auth/cloud-platform'])
Is it easy to query cred objects and add at default scopes if none are present?
I am trying to use the authentication method called workload identity federation to access to some buckets. I already used this with another lib and this is working but we need to use GCSFileSystem for mayor reasons. I am using the following code:
the error is the following
Version: Python 3.10.11 OS: Mac and Windows