开发者

(Google App Engine) How can I keep my password long time for updating content?

开发者 https://www.devze.com 2022-12-29 09:20 出处:网络
Now when I run this command: /usr/bin/python ~/google开发者_如何转开发_appengine/appcfg.py update ~/cdn

Now when I run this command:

/usr/bin/python ~/google开发者_如何转开发_appengine/appcfg.py update ~/cdn

I should write email and password. And it is keeping some time, but after a day, I should write email and password again.

How can I keep my auntification (email and password) for long time (month, year)?


This is the intended behaviour.

The best you can do is to stash your password in some file, and use the --email and --passin command line options, for example:

appcfg.py update ~/cdn --email=myemail@gmail.com --passin < /path/to/my/passwd

Where passwd is a file that contains only your password.
This way you're just one Ctrl-r away from updating your favorite App Engine app.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号