Timeline for How to use Service Accounts with gsutil, for uploading to CS + BigQuery
Current License: CC BY-SA 3.0
4 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Sep 16, 2012 at 10:29 | comment | added | jonathan | @RyanBoyd: Thanks! Could you please post your comment as an answer so I can accept it? | |
Sep 16, 2012 at 8:19 | comment | added | Ryan Boyd | Jonathan - yes, it will fail if your user account no longer exists. We should support service accounts with gsutil, but don't yet. You could: 1) probably add the feature quickly to gsutil/oauth2_plugin/oauth2_helper.py using the existing python oauth client implementation of service accounts, or 2) retrieve the access token externally and store it in the cache location specified in ~/.boto, or 3) create a role account yourself (via gmail.com or google apps) and grant permission to that account and use it for the oauth flow. | |
Sep 15, 2012 at 10:17 | comment | added | jonathan | If I use this in a cron job in a production environment, what will then happen when I leave the company? Will the cron job fail? | |
Sep 15, 2012 at 2:58 | history | answered | Marc Cohen | CC BY-SA 3.0 |