Skip to content

Instantly share code, notes, and snippets.

@rajeevshukla
Last active July 26, 2020 16:44
Show Gist options
  • Save rajeevshukla/fd09cd8d5dbfbe9901fa29c7e9bb19d6 to your computer and use it in GitHub Desktop.
Save rajeevshukla/fd09cd8d5dbfbe9901fa29c7e9bb19d6 to your computer and use it in GitHub Desktop.
spring:
application:
name: spring-cloud-vault
cloud:
vault:
token: s.lL1wRFK79QQQRflLyIS3WyYm
scheme: http
host: http://127.0.0.1
port: 8200
# custom property (appSecurityKey) which would be fetched from vault server and assigned to app.security.key. You can configure this in application.yml too.
# it is not mandatory to be present inside bootstrap.yml
app:
security:
key: ${appSecurityKey}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment