Skip to content

Commit

Permalink
Update readme.adoc
Browse files Browse the repository at this point in the history
type s/containt/contain/
  • Loading branch information
cristoper authored Apr 27, 2024
1 parent f1fa7d8 commit 9f0df23
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion readme.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ The hardest part about getting started with `gsheet` is creating the API credent
** Once the service account is created, click on it to manage its details. From the "Keys" tab click "Add Key" to create credentials in a .json file for the service account that `gsheet` will use to authenticate as the user.
*** The .json file containing the credentials should download automatically. KEEP THIS FILE SECRET (do not check it into source control). Anyone with the credentials can edit any files you grant the service account access to.
*** Google's documentation is available as https://cloud.google.com/iam/docs/creating-managing-service-accounts[Creating and Managing Service Accounts] and https://cloud.google.com/iam/docs/creating-managing-service-account-keys[Creating and Managing Service Account Keys]
** Set the `GOOGLE_APPLICATION_CREDENTIALS` environment variable to the path to the .json file. This is how `gsheet` finds the credentials when it runs. NOTE: `GOOGLE_APPLICATION_CREDENTIALS` must containt the *absolute* path to the .json file. (See https://cloud.google.com/docs/authentication[Google's Authentication Overview].)
** Set the `GOOGLE_APPLICATION_CREDENTIALS` environment variable to the path to the .json file. This is how `gsheet` finds the credentials when it runs. NOTE: `GOOGLE_APPLICATION_CREDENTIALS` must contain the *absolute* path to the .json file. (See https://cloud.google.com/docs/authentication[Google's Authentication Overview].)
. In Google Drive grant share files and folders with the service account (the email address generated when you created the service account above) as if it were any other user. Note that if you only want to store files in the service account's own drive (not viewable from the Google Drive web interface), then you don't actually have to grant it access to any of your folders or documents.

=== What about OAuth authentication?
Expand Down

0 comments on commit 9f0df23

Please sign in to comment.