r/SpringBoot • u/Fad1126 • Oct 31 '25
Question application.properties and github
hi everyone,
how I can manage sensitive data inside application.properties while i want to push the project to github? what the way used in full-stack spring boot projects.
23
Upvotes
-3
u/michaelzki Oct 31 '25
Another simple way:
Save the template as application.properties.example on remote
Add application.properties in your .gitignore
Then add your sensitive data on local application.properties
application.properties will not be pushed to remote