From 95a30db62ba04a2e213cc192be887a1a59911182 Mon Sep 17 00:00:00 2001 From: Ryan Abernathey Date: Fri, 8 Dec 2017 10:56:55 -0500 Subject: [PATCH 1/3] clarify authentication related to #46 --- docs/source/index.rst | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/docs/source/index.rst b/docs/source/index.rst index ac73f594..70c47617 100644 --- a/docs/source/index.rst +++ b/docs/source/index.rst @@ -79,8 +79,8 @@ Two modes of authentication are supported: - if ``token=None``, GCSFS will attempt to use your default gcloud credentials or, if that fails, - you will be given a "device code", which you must - enter into a browser where you are logged in with your Google identity. + will print a "device code" and a link you must follow to + authenticate with your goodle Google identity. - if ``token='cloud'``, we assume we are running within google (compute or container engine) and fetch the credentials automatically from the @@ -90,7 +90,8 @@ Two modes of authentication are supported: gcloud_ utility; this is either a python dictionary, or the name of a file containing the JSON returned by logging in with the gcloud CLI tool. On a posix system this may be at - ``~/.config/gcloud/application_default_credentials.json`` + ``~/.config/gcloud/application_default_credentials.json`` or + ``~/.config/gcloud/legacy_credentials//adc.json`` Authorizations are cached in a local file, for a given project/access level, so you should not need to authorize again. From f4fb5f3ca3543bb43807d8aa60e7ec4badba52f2 Mon Sep 17 00:00:00 2001 From: Ryan Abernathey Date: Fri, 8 Dec 2017 10:59:54 -0500 Subject: [PATCH 2/3] Update index.rst --- docs/source/index.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/source/index.rst b/docs/source/index.rst index 70c47617..97008675 100644 --- a/docs/source/index.rst +++ b/docs/source/index.rst @@ -80,7 +80,7 @@ Two modes of authentication are supported: - if ``token=None``, GCSFS will attempt to use your default gcloud credentials or, if that fails, will print a "device code" and a link you must follow to - authenticate with your goodle Google identity. + authenticate with your Google identity. - if ``token='cloud'``, we assume we are running within google (compute or container engine) and fetch the credentials automatically from the From 349d0653ad63a6014062ab2a6eabf4e9ba98b260 Mon Sep 17 00:00:00 2001 From: Ryan Abernathey Date: Fri, 8 Dec 2017 11:00:28 -0500 Subject: [PATCH 3/3] fix github link --- docs/source/index.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/source/index.rst b/docs/source/index.rst index 97008675..581582bc 100644 --- a/docs/source/index.rst +++ b/docs/source/index.rst @@ -7,7 +7,7 @@ This software is alpha, use at your own risk. Please file issues and requests on github_ and we welcome pull requests. -.. _github: https://github.com/martindurant/gcsfs/issues +.. _github: https://github.com/dask/gcsfs/issues Installation ------------