Dapr Secrets

Dapr Secrets

Flyway Enterprise

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 -dapr.secrets="secret1,secret2" info

TOML Configuration File

[flyway.dapr]
secrets = ["secret1", "secret2"]

Configuration File

flyway.dapr.secrets=secret1,secret2

Environment Variable

FLYWAY_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>

Didn't find what you were looking for?