Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- create 2 service account alice and bob along with service json, and activate the keys
- ```
- gcloud auth list
- Credentialed Accounts
- ACTIVE ACCOUNT
- alice-364@pso-helmsman-cicd-infra.iam.gserviceaccount.com
- bob-106@pso-helmsman-cicd-infra.iam.gserviceaccount.com
- * my-owner-id@gflocks.com
- ```
- ```
- from my owner account:
- gcloud config set account my-id@gflocks.com
- gsutil acl ch -r -u alice-364@pso-helmsman-cicd-infra.iam.gserviceaccount.com:R gs://pso-helmsman-cicd-infra-test/alice/
- gsutil acl ch -r -u bob-106@pso-helmsman-cicd-infra.iam.gserviceaccount.com:R gs://pso-helmsman-cicd-infra-test/bob/
- ```
Add Comment
Please, Sign In to add comment