首页 > 解决方案 > 使用什么角色能够推送到容器注册表

问题描述

API & Services” > “Credentials”选择“Create credentials” > “Services Account Key” > “Create New Services Account”。

什么角色,来获取 storage.buckets.get?

我只需要能够推动gcr.io/<project>

标签: google-console-developergoogle-cloud-iam

解决方案


根据有关为容器注册表配置访问控制的官方 GCP 文档文章,您需要Storage Admin角色来获得storage.buckets.get权限。


推荐阅读