Applicatin.yml sql password encrypt

How can I encrypt the sql server password to the application.yml file.

Hi @Rasim_Savas,

Encryption of passwords in the application properties file does not seem to be in the scope of the Camunda product.
In case you are using Spring Boot Starter or Camunda Run (build on top of Spring Boot), you can check options for encryption for Spring Boot applications.
Here is one example that I found, but I haven’t tested it myself:

Best,
Yana

@Yana
I’m passing the datasource in the PreInit method my own dasource class with the engine plugin classes. so I don’t use any hidden properties in yaml file. Is this approach appropriate?

You can do that. I am not sure whether it’s a popular approach but still as long it’s working for you, at the moment I don’t see against reasons.

now we using own encrypt jar file for sql strings… at the configs in another java Bean methods. so we put the custom encrypt and custom datasource object pass the Java class…