Created
December 7, 2016 21:41
-
-
Save kylefernandadams/e1c9949c05a3aa0637ef36a2971b4dfa to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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