如何恢复Google App Engine的“默认服务帐户” [英] How to recover Google App Engine's "default service account"

查看:114
本文介绍了如何恢复Google App Engine的“默认服务帐户”的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我错误地删除了我的项目的默认应用引擎服务帐户 - {id} @ appspot.gserviceaccount.com
有没有方法可以在不重置/重新创建的情况下将其恢复我在Google云端平台上的项目?

解决方案

不幸的是,目前无法恢复默认App Engine服务帐户。解决方案就像你说的创建一个新项目并在那里重新部署你的代码一样。



如果你希望看到这种删除被阻止,或者将来可以重新启用默认的服务帐户,我强烈建议您在 App Engine公开问题跟踪器上提交功能请求,同时提供此示例作为商业案例。



更新:由OP提交的功能请求现在存在于App Engine公共问题跟踪器作为问题13085 。请 star 这个问题获得更新。 作为 App Engine管理API 的一部分,您现在可以使用 apps.repair API来尝试解决默认Cloud Storage存储桶和App Engine服务帐户的问题。我建议在创建新项目并重新部署之前尝试使用此API。我将此作为附录而不是主要解决方案,因为它不能保证解决问题。


I have mistakenly deleted the default "app engine service account" for my project - {id}@appspot.gserviceaccount.com Is there a way to recover it without resetting/recreating my project on Google Cloud Platform?

解决方案

Unfortunately at this time, there is no way to recover the default App Engine service account. The solution is as you say creating a new project and redeploying your code there.

Should you wish to see this deletion prevented or default service account recreation made possible in the future, I strongly urge you to file a feature request on the App Engine public issue tracker while providing this example as a business case.

UPDATE: As filed by the OP, a feature request now exists on the App Engine public issue tracker as Issue 13085. Please star this issue to receive updates on its progress.

UPDATE 2: As part of the App Engine Admin API, one can now use the apps.repair API to attempt to address issues of default Cloud Storage buckets and App Engine service accounts. I would recommend trying this API before creating a new project and redeploying. I'm leaving this as an addendum and not the primary solution as it's not guaranteed to solve the issue.

这篇关于如何恢复Google App Engine的“默认服务帐户”的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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