Monday, January 14, 2013

Uploading, Downloading, and Managing a Python App - Google App Engine — Google Developers

Uploading, Downloading, and Managing a Python App - Google App Engine — Google Developers: "Password-less Login with OAuth2

If you don't want to enter your login credentials, you can use an OAuth2 token instead. This token gives access to App Engine, but not to other parts of your Google account; if your Google account uses two-factor authentication, you'll find this especially convenient. You can store this token to permanently log in on this machine.

To set this up, use the --oauth2 option. (Or, if your browser is on a different machine, perhaps because you're shelled into it, pass --noauth_local_webserver --oauth2) If you don't want to permanently log in by storing your OAuth2 token on disk, also use the --no_cookies option.

appcfg.py --oauth2 update myapp/"

'via Blog this'