gsutil iam
Jump to navigation
Jump to search
gsutil iam
get, set, or change bucket and/or object IAM permissions.
gsutil iam ch
gsutil iam ch serviceAccount:${SERVICE_ACCOUNT_NAME}@${PROJECT_ID}.iam.gserviceaccount.com:objectViewer ${BUCKET_NAME} gsutil iam ch serviceAccount:${SERVICE_ACCOUNT_NAME}@${PROJECT_ID}.iam.gserviceaccount.com:objectCreator ${BUCKET_NAME} gsutil iam ch serviceAccount:${SERVICE_ACCOUNT_NAME}@${PROJECT_ID}.iam.gserviceaccount.com:legacyBucketReader ${BUCKET_NAME}
See also[edit]
Advertising: