Redgate Summit – The Database DevOps Transformation Watch now
PASS Data Community Summit logo

PASS Data Community Summit

A hybrid conference in Seattle and online

15-18 November

Flyway Documentation

Poll

Dapr Secrets

Flyway Teams

Description

A comma-separated list of paths to key-value secrets in a Dapr Secret Store that contain Flyway configurations.

If multiple secrets specify the same configuration parameter, then the last secret takes precedence.

Usage

Commandline

./flyway -plugins.dapr.secrets="secret1,secret2" info

Configuration File

flyway.plugins.dapr.secrets=secret1,secret2

Environment Variable

FLYWAY_PLUGINS_DAPR_SECRETS=secret1,secret2

API

DaprConfigurationExtension daprConfigurationExtension = configuration.getPluginRegister().getPlugin(DaprConfigurationExtension.class)
daprConfigurationExtension.setDaprSecrets("secret1", "secret2");

Gradle

flyway {
    pluginConfiguration [
        daprSecrets: ['secret1', 'secret2']
    ]
}

Maven

<configuration>
    <pluginConfiguration>
        <daprSecrets>secret1,secret2</daprSecrets>
    </pluginConfiguration>
</configuration>