# Encrypted DB password into flowable-default.properties

**URL:** <https://forum.flowable.org/t/encrypted-db-password-into-flowable-default-properties/8495>\
**Category:** Uncategorized\
**Created:** [October 4, 2021, 3:55pm UTC](https://forum.flowable.org/t/encrypted-db-password-into-flowable-default-properties/8495 "2021-10-04T15:55:44Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![oda](https://avatars.discourse-cdn.com/v4/letter/o/9d8465/32.png) [@oda](https://forum.flowable.org/u/oda)\
**Post date:** [October 4, 2021, 3:55pm UTC](https://forum.flowable.org/t/encrypted-db-password-into-flowable-default-properties/8495/1 "2021-10-04T15:55:44Z")

</div>

Hello, i need to encrypt the DB password into flowable-default.properties file.

Anyone know how to do it?

Thank you

---

<div class="post-metadata">

**Author:** ![wasadigi](https://yyz1.discourse-cdn.com/flex035/user_avatar/forum.flowable.org/wasadigi/32/1474_2.png) [@wasadigi](https://forum.flowable.org/u/wasadigi)\
**Post date:** [October 5, 2021, 6:13am UTC](https://forum.flowable.org/t/encrypted-db-password-into-flowable-default-properties/8495/2 "2021-10-05T06:13:16Z")

</div>

Hi,

Are you familiar with SpringBoot and externalized configuration ([Spring Boot Features](https://docs.spring.io/spring-boot/docs/current/reference/html/features.html#features.external-config))? Essentially, it is the system that allows you to override the values in the `application.properties` file(s) in various ways (e.g. environment variables). That is the first thing that you should understand (you can start by NOT putting the credentials in the properties files, and instead setting them in environment variables in your environments).

When you are clear, you can see how Hashicorp Vault can be used in combination with SpringBoot to manage secrets: [Spring Cloud Vault](https://cloud.spring.io/spring-cloud-vault/reference/html/)

Cheers,

Olivier
