Flipt v2 supports the ability to configure multiple environments, allowing the user to switch between them in the UI as well as at evaluation time. Environments are unique to other Flipt resources in that they are not created or managed via the Flipt API or UI. Instead, they are defined in the Flipt server configuration file as they are tightly coupled to the storage configuration.Documentation Index
Fetch the complete documentation index at: https://docs.flipt.io/llms.txt
Use this file to discover all available pages before exploring further.
Identifiers
Each environment has an identifier that is used to reference the environment in the configuration and in the UI/API and is used to determine the environment that will be used when evaluating flags. Identifiers can be any string value but must be unique. Flipt creates adefault identifier and environment for you automatically if you don’t specify one.
Storage
Each environment has a storage configuration field that is used to determine the storage backend that will be used for the environment. The storage configuration is a reference to the storage backend that will be used for the environment.local environment will use the local storage backend as defined in the storage configuration.

Directories
Each environment has an optionaldirectory configuration field that is used to determine the directory that will be used to store the environment’s resources.
This is only required if multiple environments share the same storage backend, as Flipt needs to know where to ultimately store the state without conflicting with other environments.
foo and bar environments will use the same local storage backend but will store their resources in different directories.
Default
Each environment has a default configuration field that is used to determine if the environment is the default environment. The default environment is the environment that will be used when no other environment is specified.local environment will be used. This will also be the environment that is selected in the UI by default.
Branching
You can create branches from an existing environment. Branches are a complete copy of the base environment and are completely independent of each other after creation. Branches are created in the UI or API and do not require any additional configuration.
Source Control Management
Source Control Management is a paid feature and requires a commercial license.

- GitHub (including GitHub Enterprise)
- GitLab (including GitLab Self-Managed)
- Bitbucket (including Bitbucket Server/Data Center)
- Azure DevOps (including Azure DevOps Server)
- Gitea
