英文:
Firebase Failed to generate a private key. Please try again in a few minutes error
问题
I'm trying to generate a new key on firebase, but I got the error
Failed to generate a private key. Please try again in a few minutes.
by looking at the HTTP responses it gets a 400
so, I tried to give the right roles to the firebase service account it tells on the image above. Here is the final setting on IAM (further useless roles have been added for testing purposes, like the owner one):
after that, I got the same error. Any hint?
英文:
I'm trying to generate a new key on firebase, but I got the error
Failed to generate a private key. Please try again in a few minutes.
by looking at the HTTP responses it gets a 400
so, I tried to give the right roles to the firebase service account it tells on the image above. Here is the final setting on IAM (further useless roles have been added for testing purposes, like the owner one):
after that, I got the same error. Any hint?
答案1
得分: 0
错误提示说“不允许在此服务帐户上创建密钥”。
有一个组织策略来阻止密钥创建:
您可以通过Web界面或CLI禁用约束:
gcloud resource-manager org-policies disable-enforce \
iam.disableServiceAccountKeyCreation \
--organization=<ORG_ID>
英文:
The error says Key creation is not allowed on this service account
.
There is an org policy to prevent key creation:
Restricting service account usage
You can disable the constraint via the web GUI or the CLI:
gcloud resource-manager org-policies disable-enforce \
iam.disableServiceAccountKeyCreation \
--organization=<ORG_ID>
通过集体智慧和协作来改善编程学习和解决问题的方式。致力于成为全球开发者共同参与的知识库,让每个人都能够通过互相帮助和分享经验来进步。
评论