An anonymous Token Vending Machine for AWS.
Provides two HTTP APIs:
- POST to
/registrationswithdevice_idandkeybody params to register a device. - GET
/tokenswithdevice_id,timestamp, andsignaturequery params; get temporary credentials back. The signature is a SHA256 HMAC hash of the timestamp using the key mentioned above.
- Configure using environment variables. E.g., if running via foreman, create a
.envfile like this:
AWS_ACCESS_KEY_ID=sdfsdf12313
AWS_SECRET_ACCESS_KEY=sdfsdf123123
TVM_REGION=us-west-1
TVM_TABLE=registrations
$ foreman start