Google Cloud Platform

Login with Service Account

nockdoo 2020. 8. 3. 23:27

1. credentials.json 생성

IAM & Admin > sercie account 선택 > Keys > Add Key > Craete New Key > Json ( donwload it and store it as credentials.json )

2. login with credentials.json

$ gcloud auth activate-service-account --key-file credentials.json