Skip to content

Instantly share code, notes, and snippets.

@kylefernandadams
Created December 7, 2016 21:41
Show Gist options
  • Save kylefernandadams/e1c9949c05a3aa0637ef36a2971b4dfa to your computer and use it in GitHub Desktop.
Save kylefernandadams/e1c9949c05a3aa0637ef36a2971b4dfa to your computer and use it in GitHub Desktop.
var BoxSDK = require('box-node-sdk');
var sdk = new BoxSDK({
clientID: 'o0ou0ajs5xcm8yxz3n4ygwof5kmiy5xu',
clientSecret: 'xd376c3Kwi2FbybOsFM3utNxsitXk2wY',
appAuth: {
keyID: 'n2u0aelu',
privateKey: '/Developer/Code/metadata-inheritance-services/private_key.pem',
passphrase: 'i<3box'
}
});
// Get the enterprise client, used to create and manage app user accounts
var box = sdk.getAppAuthClient('enterprise', '5105484');
module.exports = box;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment