File: .fog.example

package info (click to toggle)
ruby-fog-google 1.29.3-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 2,160 kB
  • sloc: ruby: 14,258; makefile: 3
file content (25 lines) | stat: -rw-r--r-- 1,030 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
##################################################################
# This is configuration snippet to configure Google Cloud Platform
# for fog library.
#
# 1. Copy this file into your home dir: "~/.fog":
#
#    $ cat .fog.example >> ~/.fog
#
# 2. Follow instructions to generate a private key: 
#    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_json_key_location: /path/to/my-project-xxxxxxxxxxxx.json
    # You can also provide service account credentials with `google_json_key_string`
    # 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
#################################################################