your key file name.json
{ "type": "service_account", "project_id": "your-project", "private_key_id": "461f06f39328f37axxxxxx", "private_key": "-----BEGIN PRIVATE KEY-----\nMIIEvgIBA.../...DANBgkqhkiG9-----END PRIVATE KEY-----\n", "client_email": "[email protected]", "client_id": "101423435667", "auth_uri": "https://accounts.google.com/o/oauth2/auth", "token_uri": "https://oauth2.googleapis.com/token", "auth_provider_x509_cert_url": "https://www.googleapis.com/oauth2/v1/certs", "client_x509_cert_url": "https://www.googleapis.com/robot/v1/metadata/x509/local-dev-user%40your.project.iam.gserviceaccount.com" }
Related
gcloud iam service-accounts keys create
gcloud auth activate-service-account --key-file
gcloud projects list
GOOGLE_APPLICATION_CREDENTIALS
See also
Advertising: