Skip to content

docs: clarify ADC pre-auth in a non-interactive environment #348

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

Merged
merged 7 commits into from
Feb 8, 2024
Merged
Changes from 1 commit
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
Prev Previous commit
Next Next commit
include generic ADC link
  • Loading branch information
shobsi committed Jan 27, 2024
commit 60af6f5519fd7d9b7e10f8846560accdfaed15c2
9 changes: 5 additions & 4 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -28,10 +28,11 @@ Prerequisites
* Install the ``bigframes`` package.
* Create a Google Cloud project and billing account.
* In an interactive environment (like Notebook, Python REPL or command line),
``bigframes`` will do the authentication on-the-fly if needed. Otherwise,
pre-authenticate by
`Installing and initializing the gcloud CLI <https://cloud.google.com/sdk/docs/install>`_,
then generating the application default credentials by doing
``bigframes`` will do the authentication on-the-fly if needed. Otherwise, see
`how to set up application default credentials <https://cloud.google.com/docs/authentication/provide-credentials-adc>`_
for various environments. For example, to pre-authenticate on your laptop you can
`install and initialize the gcloud CLI <https://cloud.google.com/sdk/docs/install>`_,
and then generate the application default credentials by doing
`gcloud auth application-default login <https://cloud.google.com/sdk/gcloud/reference/auth/application-default/login>`_.

Code sample
Expand Down