Skip to content

CLI chamber init

Jeff Felchner edited this page Jan 14, 2018 · 3 revisions

chamber init can be used to initialize a new application/project with everything that Chamber needs in order to run properly. This includes:

  • Creating a public/protected/private keypair
  • Setting the proper permissions on the newly created keypair
  • Adding the private key to the project's .gitignore file
  • Creating a template settings.yml file

Example: Simple

This generates a single default keypair. It's what most people will want to start off with.

chamber init

Example: Multiple Keys for Multiple Namespaces

This generates a default key, a key for production as well as a key for my local machine whose hostname is quakeroats.

chamber init --namespaces="production quakeroats"

Example: Signature Verification

If you want to create the special keys used for signature verification you'll need to pass the --signature flag.

If other options are passed, those keys will be generated in addition to the signature keys.

chamber init --signature --namespaces="production"
Clone this wiki locally