GeezerVison is showing github.com — git repo authentication for multiple accounts · Issue #100 · googleapis/google-cloud-python
git repo authentication for multiple accounts #100
Labels
🚨This issue needs some love.triage meI really want to be triaged. Description
What is the recommended way to configure push-to-deploy authentication for multiple Google Apps accounts (different domain names)?
The Generate Git Credentials page, accessed via...
https://console.developers.google.com/project/apps~PROJECT
> Source Code
> Releases
> Configure Your Repository
> ? (help icon)
> Generate Git Credentials
...says...
To use this password, please add the following text to your .netrc file:
machine source.developers.google.com
login <GOOGLE_EMAIL>
password <GIT_PASSWORD>
However, AFAIK .netrc does not support multiple account logins for the same machine.
Relevant docs...
Activity
espeed commented on Jul 6, 2014
One approach would be to always use your primary account for gcloud auth, put your primary account's credentials in your .netrc, and add your primary account as a member of your other Google Apps projects.
silvolu commented on Sep 24, 2014
@espeed I think this is not the gcloud you were looking for :)
added 11 commits that reference this issue
on Nov 24, 2025This issue will close once commit 11ff6ec is merged into the 'main' branch.11ff6ec This issue will close once commit dcdfeb5 is merged into the 'main' branch.dcdfeb5 This issue will close once commit f46a808 is merged into the 'main' branch.f46a808 This issue will close once commit 0455431 is merged into the 'main' branch.0455431 This issue will close once commit 28598b7 is merged into the 'main' branch.28598b7 This issue will close once commit 170262e is merged into the 'main' branch.170262e This issue will close once commit 8ed3ed1 is merged into the 'main' branch.8ed3ed1 This issue will close once commit 5ad1a90 is merged into the 'main' branch.5ad1a90 This issue will close once commit 988254f is merged into the 'main' branch.988254f This issue will close once commit 75a7ed9 is merged into the 'main' branch.75a7ed9 This issue will close once commit fa2d9e5 is merged into the 'main' branch.fa2d9e5
Metadata
Metadata
🚨This issue needs some love.triage meI really want to be triaged. Development
No branches or pull requestsIssue actions