# vault server
quarkus.vault.url=https://localhost:8200
quarkus.vault.authentication.userpass.username=bob
quarkus.vault.authentication.userpass.password=sinclair
quarkus.vault.secret-config-kv-path=config
quarkus.vault.log-confidentiality-level=low
quarkus.vault.tls.skip-verify=true

quarkus.vault.credentials-provider.static-ds.kv-path=config
quarkus.vault.credentials-provider.dynamic-ds.database-credentials-role=mydbrole

# static through named credentials provider
quarkus.datasource.staticDS.driver=org.postgresql.Driver
quarkus.datasource.staticDS.url=jdbc:postgresql://localhost:6543/mydb
quarkus.datasource.staticDS.username=postgres
quarkus.datasource.staticDS.credentials-provider=static-ds

# dynamic through named credentials provider
quarkus.datasource.dynamicDS.driver=org.postgresql.Driver
quarkus.datasource.dynamicDS.url=jdbc:postgresql://localhost:6543/mydb
quarkus.datasource.dynamicDS.username=postgres
quarkus.datasource.dynamicDS.credentials-provider=dynamic-ds
quarkus.datasource.dynamicDS.credentials-provider-type=vault-credentials-provider

quarkus.log.category."io.quarkus.vault".level=DEBUG
quarkus.log.category."io.quarkus.vault.runtime.vault".level=DEBUG

#quarkus.log.min-level=DEBUG
#quarkus.log.level=DEBUG
#quarkus.log.console.level=DEBUG
