stenington / badgecub

Github suggested petulant-octo-happiness as a name but badgecub is probably a bit more to the point.
0 stars 1 forks source link

Badgecub

Config

Specify in the environment:

or write a ./config.json file with similar keys, like:

{
  "port": 3002,
  "privateKey": "path/to/private_key.pem",
  "issuer": {
    "name": "My Org Name Or Whatever",
    "url": "http://full-url.org",
  },
  "mandrill": {
    "key": "<KEY>",
  },
  "aws": {
    "key": "<KEY>",
    "secret": "<SHHHH>",
    "bucket": "my_bucket",
    "path": "my/path/"
  },
  "email": {
    "subject": "Hi"
  },
  "assertion": {
    "salt": "salty",
    "expires": 30
  }
}

Data Cleanup

Write a lifecycle rule on your S3 bucket to expire or transition the data under your AWS_PATH directory after ASSERTION_EXPIRES days.