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 file 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.
access to environments can be restricted to some users,
see Manage members for more information on the subject.
see Manage members for more information on the subject.
Switching environment
You can check which environment you are on with ks env switch
.
You change the current environment with ks env switch [dev|staging|prod]
.