Skip to content

Commit

Permalink
[PR] Update README for more clarity (googleapis#1446)
Browse files Browse the repository at this point in the history
[PR] Update README for more clarity
  • Loading branch information
commit-master authored and stephenplusplus committed Jul 22, 2016
1 parent 5689f96 commit 86e5fd8
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,12 @@ var projectId = process.env.GCLOUD_PROJECT; // E.g. 'grape-spaceship-123'

var gcloud = require('gcloud')({
projectId: projectId,

// The path to your key file:
keyFilename: '/path/to/keyfile.json'

// Or the contents of the key file:
credentials: require('./path/to/keyfile.json')
});

// ...you're good to go! See the next section to get started using the APIs.
Expand Down

0 comments on commit 86e5fd8

Please sign in to comment.