Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Basic beginning of authentication module. #1084

Merged
merged 1 commit into from
Aug 25, 2015
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