Skip to content

Latest commit

 

History

History
24 lines (17 loc) · 748 Bytes

google.md

File metadata and controls

24 lines (17 loc) · 748 Bytes

Using Google Cloud with pkgcloud

The Google Cloud provider in pkgcloud supports the following services:

  • Storage Google Cloud Storage

Using the Google Cloud provider requires:

  1. A project id
  2. A JSON key file

Both are provided from the Google Developers Console. For detailed instructions, see this Getting Started guide.


## Using Storage
var client = require('pkgcloud').storage.createClient({
   provider: 'google',
   keyFilename: '/path/to/a/keyfile.json', // path to a JSON key file
   projectId: 'eco-channel-658' // project id
});