Environments

When starting a new project, Keystone creates three environments:

  • dev, a local development environment (itโ€™s the default);
  • staging, for test and pre-productions setups;
  • prod, the production environment.

You can see them as branches in a git tree. Each secret and files exist in all three of them, but values or content may differ from one to another.
For example, the secret SALT may have the value dev-salt, in the dev environment, staging-salt in the staging one, and '/atariea\$^ in the prod one.

Switching environment

You can check which environment you are on with ks env.
You change the current environment with ks env [dev|staging|prod].

Edit this page on GitHub