Dapr Resolver
Published 15 January 2025
Per-environment Dapr secret management configuration.
Values can be inlined in the environment configuration using ${dapr.key}
.
Settings
Setting | Required | Type | Description |
---|---|---|---|
url |
Yes | String | The REST API URL of your Dapr sidecar. |
Usage
Flyway Desktop
This can't be set in a config file via Flyway Desktop, although it will be honoured.
Command-line
./flyway info \
-environment='development' \
-environments.development.url='jdbc:postgresql:${dapr.dbhost}/${dapr.dbname}' \
-environments.development.user='${dapr.username}' \
-environments.development.password='${dapr.password}' \
-environments.development.resolvers.dapr.url="http://localhost:3500/v1.0/secrets/my-secrets-store"
TOML Configuration File
[environments.development.resolvers.dapr]
url = "http://localhost:3500/v1.0/secrets/my-secrets-store"
[environments.development]
url = "jdbc:postgresql:${dapr.dbhost}/${dapr.dbname}"
user = "${dapr.username}"
password = "${dapr.password}"