Skip to content

sco/node-tvm

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

node-tvm

An anonymous Token Vending Machine for AWS.

Provides two HTTP APIs:

  • POST to /registrations with device_id and key body params to register a device.
  • GET /tokens with device_id, timestamp, and signature query params; get temporary credentials back. The signature is a SHA256 HMAC hash of the timestamp using the key mentioned above.

Usage

  • 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

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published