Skip to content

Commit

Permalink
Add note to docs on GCS auth (fixes #144)
Browse files Browse the repository at this point in the history
  • Loading branch information
jdolitsky authored Jul 6, 2018
1 parent 87b23d4 commit 4231fe0
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -169,7 +169,15 @@ You need at least the following permissions inside your IAM Policy
```

#### Using with Google Cloud Storage
Make sure your environment is properly setup to access `my-gcs-bucket`
Make sure your environment is properly setup to access `my-gcs-bucket`.

One way to do so is to set the `GOOGLE_APPLICATION_CREDENTIALS` var in your environment, pointing to the JSON file containing your service account key:
```
export GOOGLE_APPLICATION_CREDENTIALS="/home/user/Downloads/[FILE_NAME].json"
```

More info on Google Cloud authentication can be found [here](https://cloud.google.com/docs/authentication/getting-started).

```bash
chartmuseum --debug --port=8080 \
--storage="google" \
Expand Down

0 comments on commit 4231fe0

Please sign in to comment.