{"repo":"microlinkhq/openkey","free":true,"listed":false,"github":"https://github.com/microlinkhq/openkey","clone":"git clone https://github.com/microlinkhq/openkey.git","description":"Fast Redis-backed authentication and rate-limiting layer for SaaS APIs and dashboards.","language":"JavaScript","stars":16,"topics":["api-key","auth","authorization","middleware","quota","rate-limit","redis","saas","security","token"],"license":"MIT","category":"auth-billing-email","readme_excerpt":"A scalable, cost-efficient, and high-performance authentication service Tired of not owning the authentication flow of your SaaS? openkey is a 200 lines backed in Redis for control authentication flow. You can deploy to any cloud provider, no vendor lock-in, being cheap at any scale & focused in performance to authenticate requests. Installation First, Install openkey from your preferred node package manager: CLI openkey is also available as CLI when you install it globally in your system: After that, you can access to any command from your terminal: Usage After installation, initialize openkey : you can prepend all the keys by passing prefix : These will allow you to acess to openkey core concepts: plans , keys , usage , and stats . .plans It represents the quota, rate limit, and throttle information specified as a plan. .create It creates a new plan: The options accepted are: - id string : The id of the plan, it cannot contain whitespaces. - period string : The time window which the limit applies. It accepts ms syntax. - limit number : The target maximum number of requests that can be made in a given time period. - metadata object : A flat object containing additional information. Pass null or '' to remove all the metadata fields. Any other field provided will be omitted. Returns : an object with the options specified, plus: - createdAt number : The timestamp when the object was created. - updatedAt number : The last timestamp when the object was modified. .list It retrieve","default_branch":null,"files":null,"tree":[],"storefront":"/r/microlinkhq","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/microlinkhq/openkey/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}