File tree Expand file tree Collapse file tree 2 files changed +27
-0
lines changed
Expand file tree Collapse file tree 2 files changed +27
-0
lines changed Original file line number Diff line number Diff line change 1+ Authentication
2+ --------------
3+
4+ Quick overview
5+ ==============
6+
7+ * **If you're running in Compute Engine or App Engine **,
8+ authentication should "just work".
9+
10+ * **If you're developing locally **,
11+ the easiest way to authenticate is using the `Google Cloud SDK `_:
12+
13+ .. code-block :: bash
14+
15+ $ gcloud auth login
16+
17+ .. _Google Cloud SDK : http://cloud.google.com/sdk
18+
19+
20+ * **If you're running your application elsewhere **,
21+ you should download a service account JSON keyfile
22+ and point to it using an environment variable:
23+
24+ .. code-block :: bash
25+
26+ $ export GOOGLE_APPLICATION_CREDENTIALS=" /path/to/keyfile.json"
Original file line number Diff line number Diff line change 44 :caption: gcloud
55
66 gcloud-api
7+ gcloud-auth
78
89.. toctree ::
910 :maxdepth: 0
You can’t perform that action at this time.
0 commit comments