• Name: LaunchDarkly
  • Category: Feature flag manager

Configuration

Configu needs to be authorized to access your LaunchDarkly project. You must specify an sdkKey that corresponds to an SDK key of an environment of some LaunchDarkly project and a context that has a key or a targetingKey that identifies the subject (end-user, or client service) of a flag evaluation. You may also configure ldOptions to customize the LaunchDarkly client.

Usage

.configu store declaration

stores:
  my-store:
    type: launch-darkly
    configuration:
      sdkKey: example-sdkKey
      context:
        targetingKey: default

CLI examples

Upsert command

configu upsert --store "my-store" --set "test" --schema "./start.cfgu.json" \
    -c "GREETING=hey" \
    -c "SUBJECT=configu"

Eval and export commands

configu eval --store "my-store" --set "test" --schema "./start.cfgu.json" \
 | configu export

References