Skip to content

Commit

Permalink
Merge pull request #1084 from dhermes/add-simple-auth-doc
Browse files Browse the repository at this point in the history
Basic beginning of authentication module.
  • Loading branch information
dhermes committed Aug 25, 2015
2 parents 5609a84 + 264b722 commit ac13419
Show file tree
Hide file tree
Showing 2 changed files with 27 additions and 0 deletions.
26 changes: 26 additions & 0 deletions docs/gcloud-auth.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
Authentication
--------------

Quick overview
==============

* **If you're running in Compute Engine or App Engine**,
authentication should "just work".

* **If you're developing locally**,
the easiest way to authenticate is using the `Google Cloud SDK`_:

.. code-block:: bash
$ gcloud auth login
.. _Google Cloud SDK: http://cloud.google.com/sdk


* **If you're running your application elsewhere**,
you should download a service account JSON keyfile
and point to it using an environment variable:

.. code-block:: bash
$ export GOOGLE_APPLICATION_CREDENTIALS="/path/to/keyfile.json"
1 change: 1 addition & 0 deletions docs/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
:caption: gcloud

gcloud-api
gcloud-auth

.. toctree::
:maxdepth: 0
Expand Down

0 comments on commit ac13419

Please sign in to comment.