Pregunta

Is it possible to use LDAP authentication with Liquibase?

If not, how have others solved the problem of automating changes to production database schemas using Liquibase (yet still keeping the database credentials secure)?

¿Fue útil?

Solución

LDAP is used for server-side authentication. Not all databases support it, for example MySQL only supports it in it's Enterprise version.

Securing the credentials, used by clients like liquibase, falls into two categories:

  1. Protecting data in transit
  2. Protecting credentials at rest

To protect credentials in transit, I'd recommend using a JDBC driver which supports SSL. Some JDBC drivers support this feature, for example MySQL. Another approach is to tunnel the JDBC traffic over a SSH tunnel.

Protecting credentials at rest (in configuration files) is more difficult and depends on how you plan to invoke liquibase. If you're using ANT, I'd suggest using the answer to this question on how to read encrypted property files.

Licenciado bajo: CC-BY-SA con atribución
No afiliado a StackOverflow
scroll top