英文:
How do I change what account I use for deployment to GAE?
问题
我遇到了一个问题,我使用一个帐户通过终端和GAE SDK(即goapp deploy)部署到GAE。现在我需要使用另一个帐户进行部署,但我不知道如何在终端中更改。我该如何触发新的登录过程?
我阅读了这个问题:https://stackoverflow.com/questions/24049181/how-to-switch-google-app-engine-account-to-deploy-applications 但我也无法使其工作。我写了--email=bla@gmail.com
标志,但是收到了错误消息:
flag provided but not defined: -email
我是不是错误地使用了--email
标志或者参数有误?
英文:
Im having a problem where I used one account to deploy to GAE through terminal and GAE SDK, i.e goapp deploy. Not at a later point I need to deploy to another account but I dont understand how to change this in terminal? How do I trigger a new login to happen?
I read this question: https://stackoverflow.com/questions/24049181/how-to-switch-google-app-engine-account-to-deploy-applications but I dont get it to work either. I write the --email=bla@gmail.com
flag but get the error message:
flag provided but not defined: -email
Am I using the --email
flag wrong or maybe wrong parameters?
答案1
得分: 2
使用--no_cookies标志,例如:
python2.7 /path/to/google_appengine/appcfg.py --no_cookies update myapp
--no_cookies
不要将管理员登录凭据存储为cookie;每次都要求输入密码。
此标志还会提示您输入电子邮件地址。
英文:
Use the --no_cookies flag, e.g.:
python2.7 /path/to/google_appengine/appcfg.py --no_cookies update myapp
>
> --no_cookies
Do not store the administrator sign-in credentials as a cookie; prompt for a password every time.
This flag will bring up a prompt for your email address as well.
通过集体智慧和协作来改善编程学习和解决问题的方式。致力于成为全球开发者共同参与的知识库,让每个人都能够通过互相帮助和分享经验来进步。
评论