Sign inSign up

abhishekkr/dory

By abhishekkr

•Updated over 8 years ago

to run Dory (a secret store with short term memory)

Image
0

1.5K

abhishekkr/dory repository overview

containerized binary for Dory https://github.com/abhishekkr/dory⁠

Share your secret with a fish that have short term memory.

When you run dory, webserver by default will be available at :8080⁠ and hosts help document⁠ for quick overview.

Current Features:

  • added /ping api listing count of keys in cache and disk

  • blind list and purge of keys over /admin/store/{cache,disk} api using Admin Token; just a reminder that value is not recoverable using Admin Token

  • can also reach permanent (disk persisted, non-ttl) memories in Dory by providing GET Param as persist=true

  • provides local auth-store backed by cache2go and encrypted by AES crypto

  • allows POST, GET and DELETE for a auth identifier path (like http://dory.local:8080/local-auth/:identifier) to store, fetch and purge data

  • successful POST of data at auth identifier path returns reference X-DORY-TOKEN mapped with this auth identifier path, this token need to be sent as value of this header X-DORY-TOKEN for GET and DELETE.

  • created secret store have default TTL of 5minutes, custom TTL can be set as URL Param in POST request by value of ttlsecond in seconds

  • first GET of secret will purge it from store, unless GET Param keep=true is provided

Tag summary

Content type

Image

Digest

Size

11.5 MB

Last updated

almost 9 years ago

docker pull abhishekkr/dory