This document describes how to configure the storage backend mechanisms for Flipt v2.
default
identifier and storage backend for you automatically if you don’t specify one.
In the following example, we’ve defined two storage backends:
staging
is a local storage backend that will serve Flipt flag state from a local directory.development
is a memory storage backend that will serve Flipt flag state from an in-memory store.default
and serve Flipt flag state from the current working directory.
default
and serve Flipt flag state from an in-memory store.
staging
in memory and will sync flag state to and from the remote repository.
poll_interval
basic
ssh
access_token
credentials
configuration section and use identifiers to reference the credentials in the configuration.
storage.git.authentication.ssh
configuration section:
insecure_ignore_host_key
is not encouraged for production use, and is
false
by default. Instead, you are advised to put the key fingerprint in the
known hosts file where you are running Flipt. For example, for GitHub you can
do ssh-keyscan github.com >> ~/.ssh/known_hosts
on the Flipt host.