Skip to content

Commit

Permalink
Recommend new ADC command
Browse files Browse the repository at this point in the history
  • Loading branch information
Bill Prin committed Jun 10, 2016
1 parent f0c82ba commit 8765242
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 8765242

Please sign in to comment.