NAMA
gdcloud iam service-accounts add-iam-policy-binding - Memberikan Role/ProjectRole/ClusterRole/OrganizationRole ke akun layanan.
SINOPSIS
gdcloud iam service-accounts add-iam-policy-binding [flags]
DESKRIPSI
Memberi Akun Layanan project peran Role, ProjectRole, ClusterRole, atau OrganizationRole. Nama binding akan dibuat secara otomatis sehingga Anda tidak perlu memberikan nama.
CONTOH
To grant the project role of name "pr-test" for project's service account "psa-test" in project "iam-test", run:
gdcloud iam service-accounts add-iam-policy-binding --role=ProjectRole/pr-test --iam-account=psa-test --project=iam-test
FLAG WAJIB
--iam-account string Project's service account to bind with the role. The flag is required to run the command.
--role string Role to bind with the service account in the format of "RoleType/NAME" where RoleType is one of the Kubernetes type in Role, ProjectRole, ClusterRole or OrganizationRole, and NAME is the name of the role. The flag is required to run the command.
FLAG OPSIONAL
--role-namespace string Namespace of Role to bind with the service account. This is only applicable for multizone enabled environments.
FLAG GDCLOUD WIDE
Flag ini tersedia untuk semua perintah: --configuration, --format, --help, --project, --quiet.
Untuk mengetahui informasi selengkapnya, lihat halaman ringkasan referensi gcloud CLI.