Skip to content

Instantly share code, notes, and snippets.

@albertoaflores
Last active April 22, 2017 15:05
Show Gist options
  • Save albertoaflores/92f273699b458dffd266e736cd8db5a2 to your computer and use it in GitHub Desktop.
Save albertoaflores/92f273699b458dffd266e736cd8db5a2 to your computer and use it in GitHub Desktop.
Sample bootstrap.yml file for Spring Boot application that decrypts properties in the client side.
spring:
application:
name: survey-service
cloud:
config:
uri: http://localhost:8888
label: 1.0.0
encrypt:
keyStore:
location: file://${user.home}/workspace/keys/server.jks
alias: mytestkey
secret: changeme
password: letmein
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment