1.0.2 • Published 2 years ago

paste-story-kgs v1.0.2

Weekly downloads
-
License
MIT
Repository
-
Last release
2 years ago

Key Generation Service (KGS)

Requirements

  • Wrangler CLI for Cloudflare Workers deployment
  • Miniflare CLI for testing cron trigger locally

Installation

npm ci

Development

To test out the cron trigger locally, run the following:

# At terminal 1
miniflare

# At terminal 2
curl "http://localhost:8787/.mf/scheduled"

Note that no actual keys will be created on your actual Cloudflare KV namespaces (not even preview). By default, KV data is stored in memory.

Deployment

The deployment of this project is done using GitHub Actions CI/CD. For more details, check out kgs.yml.

Alternatively, to publish any new changes to your Cloudflare Worker, run wrangler publish.

Before publishing your code you need to edit wrangler.toml file and add your Cloudflare account_id - more information about configuring and publishing your code can be found in the documentation.

References

1.0.2

2 years ago

1.0.1

2 years ago

1.0.0

2 years ago