Spring boot 从credhub加载属性并在PCF清单中使用
我有一个PCF清单文件(在spring boot项目中),其中添加了jasypt加密机密码。我需要将此密码移动到PCF credhub并从那里加载密码。是否有可能加载PCF credhub中添加的属性并在清单文件中读取它Spring boot 从credhub加载属性并在PCF清单中使用,spring-boot,pcf,Spring Boot,Pcf,我有一个PCF清单文件(在spring boot项目中),其中添加了jasypt加密机密码。我需要将此密码移动到PCF credhub并从那里加载密码。是否有可能加载PCF credhub中添加的属性并在清单文件中读取它 --- applications: - name: (artifact_id) routes: - route: (artifact_id)-(space).test.com memory: 1GB instances: 1 en
---
applications:
- name: (artifact_id)
routes:
- route: (artifact_id)-(space).test.com
memory: 1GB
instances: 1
env:
SPRING_PROFILES_ACTIVE: dev
JAVA_OPTS: '-Djasypt.encryptor.password=test@123'
运气好吗?运气好吗?