Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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