Skip to content

agundawar/key-server

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 

Repository files navigation

Simple Key Server

Simple server for Key management. Command to run the app - "ruby key_server.rb"

Port used 8080

Libraries used

- sinatra
- rufus-scheduler

Endpoints supported

-	GET /status : To get the status of the server, keys generated, blocked keys with time details

-	GET /generate : To generate new key

-	GET /get-key : To get random key from available(unblocked) key list. 404 error if no key available

-	POST /update-key : To keep alive the particular key. Accepts JSON body with "key" as parameters

-	POST /unblock-key : To unblock the particular key. Accepts JSON body with "key" as parameters

-DELETE /delete-key : To delete the particular key. Accepts JSON body with "key" as parameters

About

Key Server for key management

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages