From 86e5fd8cc6216ddaebc528d27696330b2bdf0307 Mon Sep 17 00:00:00 2001 From: Paul Borensztein Date: Fri, 22 Jul 2016 17:02:44 +0100 Subject: [PATCH] [PR] Update README for more clarity (#1446) [PR] Update README for more clarity --- README.md | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/README.md b/README.md index ef62df6049d..c2afed32219 100644 --- a/README.md +++ b/README.md @@ -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.