如何更改我在部署到GAE时使用的帐户?

huangapple go评论78阅读模式
英文:

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.

huangapple
  • 本文由 发表于 2017年1月24日 16:33:05
  • 转载请务必保留本文链接:https://go.coder-hub.com/41823426.html
匿名

发表评论

匿名网友

:?: :razz: :sad: :evil: :!: :smile: :oops: :grin: :eek: :shock: :???: :cool: :lol: :mad: :twisted: :roll: :wink: :idea: :arrow: :neutral: :cry: :mrgreen:

确定