Skip to content

Commit

Permalink
Add sample credential file and change description
Browse files Browse the repository at this point in the history
  • Loading branch information
noralife committed Dec 2, 2015
1 parent 005c1e9 commit 6ef3101
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 0 deletions.
1 change: 1 addition & 0 deletions release/conf/gcs-config-sample.xml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
<workload name="gcs-sample" description="sample benchmark for Google Cloud Storage">

<!-- Authentication needs service account credentials. -->
<!-- Sample credential file: ./release/conf/gcs-service-account-sample.json -->
<storage type="gcs" config="projectid=<projectid>;jsonkeyfile=</path/to/json/key.json/>" />

<workflow>
Expand Down
12 changes: 12 additions & 0 deletions release/conf/gcs-service-account-sample.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
// Service account json file can be generated from https://console.developers.google.com/apis/credentials
{
"type": "service_account",
"private_key_id": "****************************************",
"private_key": "-----BEGIN PRIVATE KEY-----\n*******************\n*******************\n*******************\n*******************\n*******************\n*******************\n*******************\n*******************\n*******************\n*******************\n*******************\n*******************\n*******************\n*******************\n-----END PRIVATE KEY-----\n",
"client_email": "*****@*****.****",
"client_id": "************************",
"auth_uri": "https://****.****.***/",
"token_uri": "https://****.****.***/",
"auth_provider_x509_cert_url": "https://****.****.***/",
"client_x509_cert_url": "https://****.****.***/"
}

0 comments on commit 6ef3101

Please sign in to comment.