# Populating liquibase.properties values from Spring Boot application.properties

**URL:** <https://forum.liquibase.org/t/populating-liquibase-properties-values-from-spring-boot-application-properties/7453>\
**Category:** General Discussion\
**Created:** [October 21, 2022, 4:24am UTC](https://forum.liquibase.org/t/populating-liquibase-properties-values-from-spring-boot-application-properties/7453 "2022-10-21T04:24:25Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![eusean.woon](https://avatars.discourse-cdn.com/v4/letter/e/8491ac/32.png) [@eusean.woon](https://forum.liquibase.org/u/eusean.woon)\
**Post date:** [October 21, 2022, 4:24am UTC](https://forum.liquibase.org/t/populating-liquibase-properties-values-from-spring-boot-application-properties/7453/1 "2022-10-21T04:24:26Z")

</div>

I am using `liquibase-maven-plugin` in a Spring Boot & maven project. I feel it will be more intuitive for developers to have functions they can run without starting an application.

The application.properties values of the project are retrieved from a config server. These values include the username, password and url for the connection to the db. I am looking to do something like:

in application.properties:

```auto
spring.datasource.url=${server.datasource.url}
spring.datasource.username=${server.datasource.username}
spring.datasource.password=${server.datasource.password}
spring.datasource.driver-class-name=${server.datasource.driver-class-name}
spring.liquibase.change-log=classpath:db/db-master-changelog.xml

```

and in liquibase.properties:

```auto
changeLogFile:db/db-master-changelog.xml
url:${spring.datasource.url}
username:${spring.datasource.username}
password:${spring.datasource.password}
driver:${spring.datasource.driver-class-name}

```

But obviously its not how it works. I was wondering if there is a way to achieve something like this?

An alternative would be to run the commands with the values as arguments (-Dliquibase.url=…) but that is kinda tedious and verbose.

---

<div class="post-metadata">

**Author:** ![tabbyfoo](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.liquibase.org/tabbyfoo/32/748_2.png) [@tabbyfoo](https://forum.liquibase.org/u/tabbyfoo)\
**Post date:** [October 27, 2022, 7:45pm UTC](https://forum.liquibase.org/t/populating-liquibase-properties-values-from-spring-boot-application-properties/7453/2 "2022-10-27T19:45:23Z")

</div>

Hi there @eusean.woon! This is a great suggestion. We don’t currently offer this functionality, but you can submit it as a feature request on our idea board - [https://ideas.liquibase.com](https://ideas.liquibase.com)

---

<div class="post-metadata">

**Author:** ![Pooja](https://avatars.discourse-cdn.com/v4/letter/p/a5b964/32.png) [@Pooja](https://forum.liquibase.org/u/Pooja)\
**Post date:** [June 16, 2023, 1:00am UTC](https://forum.liquibase.org/t/populating-liquibase-properties-values-from-spring-boot-application-properties/7453/3 "2023-06-16T01:00:32Z")

</div>

@tabbyfoo is it possible to externalize the changets to spring cloud config server?  
I have a micro service for liquibase, i do not wan to deploy my war everytimt i have a changeset. is it possible for it to pick changeset from some other place and just restart?
