Skip to content

A password manager for Cloudflare Workers and Workers KV.

License

Notifications You must be signed in to change notification settings

colisys/cfpwdmgr

Repository files navigation

CF PWDMGR

A password manager for Cloudflare Workers and Workers KV.

Features

  • Minimum viable product
  • Encrypt and decrypt passwords using AES-256, in client-side JavaScript
  • Import and export passwords in JSON format, encrypted with AES-256
  • Access passwords from anywhere in the world
  • Live and elegant UI

Usage

  1. Set up a Workers KV namespace
$ npx wrangler kv namespace create MASTERKEYS
$ npx wrangler kv namespace create TOKENS
$ npx wrangler kv namespace create PWDVAULT
  1. Fill each namespace id in wrangler.jsonc under root directory
...
  "kv_namespaces": [
    { "binding": "MASTERKEYS", "id": "<MASTERKEYS id here>" },
    { "binding": "TOKENS", "id": "<TOKENS id here>" },
    { "binding": "PWDVAULT", "id": "<PWDVAULT id here>" }
  ]
...
  1. Setup an Encryption salt for AES-256
$ npx wrangler secret put SALT "<SALT HERE>"
  1. Deploy the worker to Cloudflare
$ npx wrangler deploy

That's it! You can now access the password manager at https://<your-worker-name>.workers.dev/.

About

A password manager for Cloudflare Workers and Workers KV.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published