如何获取旧版Google App Engine项目的私钥? [英] How to obtain a private key for a legacy Google App Engine project?

查看:99
本文介绍了如何获取旧版Google App Engine项目的私钥?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个在2013年1月初创建的Google App Engine应用程序。我现在想要使用Google Calendar API从我的GAE应用程序发布日历条目,并且在阅读各种选项后,我决定将服务帐户与OAuth 2.0身份验证将是最佳选择。这种方法需要使用私钥来签署具有各种凭据的JSON数据结构。

I have a Google App Engine app which was created in early January 2013. I now want to use the Google Calendar API to post calendar entries from my GAE app and - after reading about the various options - I decided that Service Accounts with OAuth 2.0 authentication would be the best option. This approach requires the use of a private key to sign a JSON data structure with various credentials.

现在, Google文档指出:

Now the Google documentation states:

During the creation of a service account, you will be prompted 
to download a private key.

我检查了我的GAE仪表板,可以看到有一个与之关联的服务帐户,但我不记得曾经被提示下载私钥。我检查了Google Cloud Dashboard,但找不到任何链接以获取此类密钥。

I checked my GAE dashboard and can see that there's a service account associated with it but I cannot remember ever being prompted to download a private key. I checked the Google Cloud Dashboard but could not find any links to obtaining such a key either.

是否有可能在此刻获得所需的密钥,如果是这样, ?

Is it possible to obtain the required key at this moment and if so, how?

推荐答案

在控制台中创建新的服务帐户。

Create a new service account in the console.

这篇关于如何获取旧版Google App Engine项目的私钥?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆