Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
NodeJS module to talk to Amazon Glacier.
JavaScript
tag: v1.1.0

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
test/integration
.gitignore
LICENSE
README.md
awssum-amazon-glacier.js
config.js
package.json

README.md

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,
    'region'          : amazonGlacier.US_EAST_1
});

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

Author

Written by Andrew Chilton - Blog - Twitter.

License

(Ends)

Something went wrong with that request. Please try again.