-
Notifications
You must be signed in to change notification settings - Fork 133
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Bug] Multiple instances of Google connectors cannot be used simultaneously with different credentials #1039
Labels
bug
Impact - something is currently broken in Parsons and needs to be fixed
Comments
austinweisgrau
added a commit
to austinweisgrau/parsons
that referenced
this issue
Apr 22, 2024
Avoids issue documented in move-coop#1039 where credentials for all GCP clients are stored in the same environment variable, leading to overwrites if multiple clients are initialized in the same environment.
9 tasks
austinweisgrau
added a commit
to austinweisgrau/parsons
that referenced
this issue
Apr 22, 2024
Avoids issue documented in move-coop#1039 where credentials for all GCP clients are stored in the same environment variable, leading to overwrites if multiple clients are initialized in the same environment.
austinweisgrau
added a commit
to austinweisgrau/parsons
that referenced
this issue
Apr 22, 2024
Avoids issue documented in move-coop#1039 where credentials for all GCP clients are stored in the same environment variable, leading to overwrites if multiple clients are initialized in the same environment.
austinweisgrau
added a commit
to austinweisgrau/parsons
that referenced
this issue
Apr 22, 2024
Avoids issue documented in move-coop#1039 where credentials for all GCP clients are stored in the same environment variable, leading to overwrites if multiple clients are initialized in the same environment.
austinweisgrau
added a commit
to austinweisgrau/parsons
that referenced
this issue
Apr 22, 2024
Avoids issue documented in move-coop#1039 where credentials for all GCP clients are stored in the same environment variable, leading to overwrites if multiple clients are initialized in the same environment.
austinweisgrau
added a commit
to austinweisgrau/parsons
that referenced
this issue
Apr 22, 2024
Avoids issue documented in move-coop#1039 where credentials for all GCP clients are stored in the same environment variable, leading to overwrites if multiple clients are initialized in the same environment.
austinweisgrau
added a commit
to austinweisgrau/parsons
that referenced
this issue
Apr 22, 2024
Avoids issue documented in move-coop#1039 where credentials for all GCP clients are stored in the same environment variable, leading to overwrites if multiple clients are initialized in the same environment.
austinweisgrau
added a commit
to austinweisgrau/parsons
that referenced
this issue
Apr 22, 2024
Avoids issue documented in move-coop#1039 where credentials for all GCP clients are stored in the same environment variable, leading to overwrites if multiple clients are initialized in the same environment.
austinweisgrau
added a commit
to austinweisgrau/parsons
that referenced
this issue
Apr 24, 2024
Avoids issue documented in move-coop#1039 where credentials for all GCP clients are stored in the same environment variable, leading to overwrites if multiple clients are initialized in the same environment.
austinweisgrau
added a commit
to austinweisgrau/parsons
that referenced
this issue
May 21, 2024
Avoids issue documented in move-coop#1039 where credentials for all GCP clients are stored in the same environment variable, leading to overwrites if multiple clients are initialized in the same environment.
austinweisgrau
added a commit
to austinweisgrau/parsons
that referenced
this issue
May 21, 2024
Avoids issue documented in move-coop#1039 where credentials for all GCP clients are stored in the same environment variable, leading to overwrites if multiple clients are initialized in the same environment.
austinweisgrau
added a commit
to austinweisgrau/parsons
that referenced
this issue
May 21, 2024
Avoids issue documented in move-coop#1039 where credentials for all GCP clients are stored in the same environment variable, leading to overwrites if multiple clients are initialized in the same environment.
austinweisgrau
added a commit
to austinweisgrau/parsons
that referenced
this issue
May 23, 2024
Avoids issue documented in move-coop#1039 where credentials for all GCP clients are stored in the same environment variable, leading to overwrites if multiple clients are initialized in the same environment.
austinweisgrau
added a commit
to austinweisgrau/parsons
that referenced
this issue
May 23, 2024
Avoids issue documented in move-coop#1039 where credentials for all GCP clients are stored in the same environment variable, leading to overwrites if multiple clients are initialized in the same environment.
austinweisgrau
added a commit
to austinweisgrau/parsons
that referenced
this issue
May 29, 2024
Avoids issue documented in move-coop#1039 where credentials for all GCP clients are stored in the same environment variable, leading to overwrites if multiple clients are initialized in the same environment.
austinweisgrau
added a commit
to austinweisgrau/parsons
that referenced
this issue
Jun 3, 2024
Avoids issue documented in move-coop#1039 where credentials for all GCP clients are stored in the same environment variable, leading to overwrites if multiple clients are initialized in the same environment.
austinweisgrau
added a commit
to austinweisgrau/parsons
that referenced
this issue
Jun 21, 2024
Avoids issue documented in move-coop#1039 where credentials for all GCP clients are stored in the same environment variable, leading to overwrites if multiple clients are initialized in the same environment.
austinweisgrau
added a commit
to austinweisgrau/parsons
that referenced
this issue
Jun 21, 2024
Avoids issue documented in move-coop#1039 where credentials for all GCP clients are stored in the same environment variable, leading to overwrites if multiple clients are initialized in the same environment.
austinweisgrau
added a commit
to austinweisgrau/parsons
that referenced
this issue
Jun 21, 2024
Avoids issue documented in move-coop#1039 where credentials for all GCP clients are stored in the same environment variable, leading to overwrites if multiple clients are initialized in the same environment.
austinweisgrau
added a commit
to austinweisgrau/parsons
that referenced
this issue
Jun 21, 2024
Avoids issue documented in move-coop#1039 where credentials for all GCP clients are stored in the same environment variable, leading to overwrites if multiple clients are initialized in the same environment.
austinweisgrau
added a commit
to austinweisgrau/parsons
that referenced
this issue
Jun 28, 2024
Avoids issue documented in move-coop#1039 where credentials for all GCP clients are stored in the same environment variable, leading to overwrites if multiple clients are initialized in the same environment.
austinweisgrau
added a commit
to austinweisgrau/parsons
that referenced
this issue
Jul 11, 2024
Avoids issue documented in move-coop#1039 where credentials for all GCP clients are stored in the same environment variable, leading to overwrites if multiple clients are initialized in the same environment.
austinweisgrau
added a commit
that referenced
this issue
Jul 12, 2024
…onment variable (#1040) * Fix typo in filename utitities > utilities * New method to pass credentials directly to GCP clients * Pass credentials explicitly to Google clients Avoids issue documented in #1039 where credentials for all GCP clients are stored in the same environment variable, leading to overwrites if multiple clients are initialized in the same environment. * Mock credential parsing in tests Avoids mock credentials needing to match Google Service Account credential parsing * Refactor Google Admin using new authed request session * Fix tests on GoogleAdmin, expect new response structure * Small changes to get BigQuery tests working
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
When multiple instances of Google connectors are initialized, each successive connector overwrites the same
GOOGLE_APPLICATION_CREDENTIALS
environment variable, thereby overwriting the authentication of the prior connectors.Detailed Description
parsons.google.utitities.setup_google_application_credentials()
takes a dictionary of application credentials as an argument and stores them generically in theGOOGLE_APPLICATION_CREDENTIALS
environment variable. This environment variable is then read by instances of GCP clients rather than passed directly to them. This makes it impossible to initialize multiple connectors with different credentials in the same code.To Reproduce
Your Environment
Additional Context
Add any other context about the problem here.
Priority
Please indicate whether fixing this bug is high, medium, or low priority for you. If the issue is time-sensitive for you, please let us know when you need it addressed by.
The text was updated successfully, but these errors were encountered: