-
Notifications
You must be signed in to change notification settings - Fork 1.5k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1084 from dhermes/add-simple-auth-doc
Basic beginning of authentication module.
- Loading branch information
Showing
2 changed files
with
27 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,6 +4,7 @@ | |
:caption: gcloud | ||
|
||
gcloud-api | ||
gcloud-auth | ||
|
||
.. toctree:: | ||
:maxdepth: 0 | ||
|