Skip to content

Commit

Permalink
Merge pull request #1851 from waprin/master
Browse files Browse the repository at this point in the history
Recommend new ADC command
  • Loading branch information
tseaver authored Jun 10, 2016
2 parents f0c82ba + 8765242 commit c252631
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions docs/gcloud-auth.rst
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,22 @@ Overview
* **If you're developing locally**,
the easiest way to authenticate is using the `Google Cloud SDK`_:

.. code-block:: bash
$ gcloud beta auth application-default login
Note that this command generates credentials for client libraries. To authenticate the CLI itself, use:

.. code-block:: bash
$ gcloud auth login
Previously, `gcloud auth login` was used for both use cases. If your gcloud installation does not support the new command, please update it:

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


Expand Down

0 comments on commit c252631

Please sign in to comment.