(deprecated: use aws-sdk) NodeJS module to talk to Amazon Glacier.
JavaScript
Switch branches/tags
Latest commit 539e3e6 Jun 11, 2014 @chilts 1.3.0
Permalink
Failed to load latest commit information.
examples
test/integration
.gitignore
ChangeLog.md
LICENSE
README.md
awssum-amazon-glacier.js
config.js
package.json

README.md

NOTE: AwsSum is now deprecated. Please use aws-sdk instead.

awssum-amazon-glacier

This is an AwsSum plugin!

You'll need to add awssum-amazon-glacier to your package.json dependencies. Both awssum and awssum-amazon are pulled in as peer dependencies.

Example

To list all your vaults:

var fmt = require('fmt');
var amazonGlacier = require('awssum-amazon-glacier');

var glacier = new amazonGlacier.Glacier({
    'accessKeyId'     : process.env.ACCESS_KEY_ID,
    'secretAccessKey' : process.env.SECRET_ACCESS_KEY,
    'awsAccountId'    : process.env.AWS_ACCOUNT_ID,
    'region'          : amazonGlacier.US_EAST_1
});

glacier.ListVaults(function(err, data) {
    fmt.dump(err, 'err');
    fmt.dump(data, 'data');
});

Note: The Glacier requires your AWS Account Id, hence it is also required here.

Author

Written by Andrew Chilton - Blog - Twitter.

License

(Ends)