An anonymous Token Vending Machine for AWS.
Provides two HTTP APIs:
- POST to
/registrations
withdevice_id
andkey
body params to register a device. - GET
/tokens
withdevice_id
,timestamp
, andsignature
query 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
.env
file like this:
AWS_ACCESS_KEY_ID=sdfsdf12313
AWS_SECRET_ACCESS_KEY=sdfsdf123123
TVM_REGION=us-west-1
TVM_TABLE=registrations
$ foreman start