Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

使用spring.config.import时,不能使用 jasypt-spring-boot-starter 解密密码 #3913

Open
liqiang7070 opened this issue Nov 29, 2024 · 2 comments

Comments

@liqiang7070
Copy link

liqiang7070 commented Nov 29, 2024

---:shared-configs 已经不推荐使用,未来版本会废弃,统一通过spring.config.import进行导入

如上述描述,spring.config.import启动时,没有加载bean,也就不能使用 jasypt-spring-boot-starter 解密nacos的账号和密码了,是否会提供一个推荐方案。

@liqiang7070 liqiang7070 changed the title 使用config.import 不能使用 jasypt-spring-boot-starter 解密密码 使用spring.config.import时,不能使用 jasypt-spring-boot-starter 解密密码 Nov 29, 2024
@shiyiyue1102
Copy link
Contributor

可以使用nacos的加解密插件,在SCA层加解密是无感的,https://nacos.io/zh-cn/docs/v2/plugin/config-encryption-plugin.html

@liqiang7070
Copy link
Author

需要加密和解密的是连接nacos的用户名和密码。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants