Skip to content

Commit 264b722

Browse files
committed
Basic beginning of authentication module.
1 parent 5609a84 commit 264b722

File tree

2 files changed

+27
-0
lines changed

2 files changed

+27
-0
lines changed

docs/gcloud-auth.rst

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
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"

docs/index.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
:caption: gcloud
55

66
gcloud-api
7+
gcloud-auth
78

89
.. toctree::
910
:maxdepth: 0

0 commit comments

Comments
 (0)