Skip to content

Commit f7a5f05

Browse files
author
Bill Prin
committed
Recommend new ADC command
1 parent f0c82ba commit f7a5f05

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

docs/gcloud-auth.rst

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,10 +12,18 @@ Overview
1212
* **If you're developing locally**,
1313
the easiest way to authenticate is using the `Google Cloud SDK`_:
1414

15+
.. code-block:: bash
16+
17+
$ gcloud beta auth application-default login
18+
19+
Note that this command generates credentials for client libraries. To authenticate the CLI itself, use:
20+
1521
.. code-block:: bash
1622
1723
$ gcloud auth login
1824
25+
Previously, `gcloud auth login` was used for both use cases.
26+
1927
.. _Google Cloud SDK: http://cloud.google.com/sdk
2028

2129

0 commit comments

Comments
 (0)