gcloud.exceptions.Forbidden: 403 Missing or insufficient permissions(gcloud.exceptions.Forbidden:403 权限缺失或不足)
问题描述
我是 Google Cloud Platform 的新手.我已经设置了一个 Google VM 实例.运行命令时,我在本地计算机上遇到了身份验证问题:
I am a new to Google Cloud Platform. I have setup a Google VM Instance. I am facing an authentication issue on Local Machine while running the command:
python manage.py makemigrations
您能否提出一些解决问题的提示/步骤?
Can you please suggest some tips/steps to resolve the same ?
错误追踪
其他信息:
输入:(独立 Python 函数)
Input: (Standalone Python Function)
输出:
虚拟机详细信息
谢谢,
推荐答案
应用程序默认凭据的行为已更改 gcloud
自 128 版起.
The behavior for application default credentials has changed in gcloud
since version 128.
应该使用
相反.
请注意,通过 gcloud auth login
或 gcloud init
或 gcloud config set account MY_ACCOUNT
更改凭据不会影响应用程序默认凭据,他们管理与 gcloud 凭据分开.
Note that changing credentials via gcloud auth login
or gcloud init
or gcloud config set account MY_ACCOUNT
will NOT affect application default credentials, they managed separately from gcloud credentials.
这篇关于gcloud.exceptions.Forbidden:403 权限缺失或不足的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持编程学习网!