Utilities for managing a Firebase encrypted with firecrypt
Last updated 2 years ago by pkaminski .
MIT · Repository · Bugs · Original npm · Tarball
$ cnpm install firecrypt-tools 
SYNC missed versions from official npm registry.

A command-line tool for rotating the encryption key of a Firebase database that has been encrypted with firecrypt. It can also remove the encryption altogether, or add it to an unencrypted database.

You should ensure that nobody accesses the database while the keys are being rotated. Also be careful that any parts of your database not explicitly described in the firecrypt rules files but situated under an encrypted key are small enough to be read and written in a single chunk.


  -f, --firebase database   The unique id of the target realtime database (required).
  -a, --auth secret         A master secret to authenticate with for the target database (required).
  -s, --spec file           The firecrypt rules JSON file (required).
  -o, --oldKey base64key    The old encryption key to be replaced.
  -n, --newKey base64key    The new encryption key to use.
  -h, --help                Display these usage instructions.
  -v, --verbose             Turn on verbose logging messages for debugging
Maintainers (1)
Today 0
This Week 0
This Month 1
Last Day 0
Last Week 1
Last Month 4
Dependencies (13)
Dev Dependencies (0)
Dependents (0)

Copyright 2014 - 2018 © |