Search
 
SCRIPT & CODE EXAMPLE
 

SHELL

gcloud add role to service account

gcloud projects add-iam-policy-binding ${GCP_PROJECT_ID} 
    --member=serviceAccount:${GCP_SVC_ACC_EMAIL}
    --role=roles/container.admin
Comment

roles associated with gcloud service account

gcloud projects get-iam-policy <YOUR GCLOUD PROJECT>  
--flatten="bindings[].members" 
--format='table(bindings.role)' 
--filter="bindings.members:<YOUR SERVICE ACCOUNT>"
Comment

PREVIOUS NEXT
Code Example
Shell :: command to change user ID 
Shell :: how to check if virtualization is enabled in bios in manjaro 
Shell :: how to print array bash 
Shell :: How to remove a directory from git repository? 
Shell :: apt download with dependencies 
Shell :: ubuntu command line change line in file 
Shell :: Make a backup of the database with SSH 
Shell :: mqtt client ubuntu console 
Shell :: Remove duplicated files from git 
Shell :: pull file from specific commit git 
Shell :: rm -rf except 
Shell :: linux count lines csv files 
Shell :: decrypt user password linux 
Shell :: git add and commit in one command 
Shell :: install composer v2 ubuntu 
Shell :: powershell start job 
Shell :: basename linux command 
Shell :: how to install tar.gz setup of pycharm community 
Shell :: docker run commands 
Shell :: how to add a zip file 
Shell :: git force overwrite of local files 
Shell :: react native doest reload 
Shell :: instalar webmin ubuntu 20.04 
Shell :: create linux user with non interactive shell 
Shell :: linux ubuntu update time 
Shell :: install moment 
Shell :: how to setup a gitignore 
Shell :: unzip a file terminal 
Shell :: jenkins as docker container 
Shell :: open cmd here shortcut 
ADD CONTENT
Topic
Content
Source link
Name
9+6 =