Quentin123345 / google-cloud-sdk

Automatically exported from code.google.com/p/google-cloud-sdk
0 stars 0 forks source link

gcloud activate-service-account: No such file or directory #466

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
Two problems here:

1. `gcloud auth activate-service-account --keyfile dev.key2.json` fails with 
error: 

ERROR: (gcloud.auth.activate-service-account) [Errno 2] No such file or 
directory: 'dev.key2.json'

2. If I try `gcloud init`, it fails with the following message:

Project has not enabled the API. Please use Google Developers Console to 
activate the 'cloudresourcemanager' API for your project.

I could google neither of the messages, there is no info. 

Appreciate your help in moving forward, I am stuck with the Google Platform for 
now.

Original issue reported on code.google.com by sa...@golifedreams.com on 12 Jan 2016 at 5:00

GoogleCodeExporter commented 8 years ago
Thanks for reporting the issue.

I assume you have (or have created) at least one project at 
https://console.cloud.google.com

If so you can authenticate with
  gcloud auth login

This is what [gcloud init] runs.

Original comment by che...@google.com on 12 Jan 2016 at 10:59