jasypt-spring-boot-samples
jasypt-spring-boot-samples copied to clipboard
Decryption not working with Spring vault and spring boot 3.2.4
spring:
config:
import: vault://
cloud:
vault:
authentication: approle
app-role:
app-role-path: approle
role-id: ${encrypted-role-id}
secret-id: ${encrypted-secret-id}
kv:
backend: spring-boot-test
enabled: true
profile-separator: /
default-context: saml
enabled: true
uri: https://test.test.com
scheme: https
encrypted-role-id: ENC(encryptedtext)
encrypted-secret-id: ENC(encryptedtext)
<dependency>
<groupId>com.github.ulisesbocchio</groupId>
<artifactId>jasypt-spring-boot-starter</artifactId>
<version>3.0.5</version>
</dependency>
<dependency>
<groupId>com.github.ulisesbocchio</groupId>
<artifactId>jasypt-spring-boot-starter</artifactId>
<version>3.0.5</version>
</dependency>
The encrypted string is being passed in as the role id when trying to login, can you please help me out.