forked from fog/fog-google
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
better docs and DRYing config out of README
- Loading branch information
Showing
2 changed files
with
27 additions
and
26 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,27 @@ | ||
##################################################### | ||
################################################################## | ||
# This is configuration snippet to configure Google Cloud Platform | ||
# for fig library. | ||
# for fog library. | ||
# | ||
# 1. Copy this file into your home dir: "~/.fog": | ||
# | ||
# $ cat .fog.example >> ~/.fog | ||
# | ||
# 1. Copy this file into your home dir: "~/.fog" | ||
# 2. Follow instructions to generate a private key: | ||
# https://cloud.google.com/storage/docs/authentication#generating-a-private-key | ||
|
||
my_credential: | ||
google_project: my-project | ||
google_client_email: xxxxxxxxxxxx-xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx@developer.gserviceaccount.com | ||
# https://cloud.google.com/storage/docs/authentication#generating-a-private-key | ||
# | ||
# 3. Edit the new file accordingly. | ||
# | ||
################################################################## | ||
# START GOOGLE CONFIG | ||
my_google_credentials: | ||
google_project: my-project-id | ||
google_client_email: xxxxxxxxxxx-xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx@developer.gserviceaccount.com | ||
google_json_key_location: /path/to/my-project-xxxxxxxxxxxx.json | ||
# You can also provide service account credentials with `google_json_key_string` or | ||
# with `google_key_location` and `google_key_string` for P12 private keys. | ||
# If so, uncomment the two following lines. | ||
# HMAC credentials follow a similar format: | ||
#google_storage_access_key_id: GOOGXXXXXXXXXXXXXXXX | ||
#google_storage_secret_access_key: XXXX+XXX/XXXXXXXX+XXXXXXXXXXXXXXXXXXXXX | ||
# /END GOOGLE CONFIG | ||
################################################################# |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters