Automatic decryption method and device for encryption configuration of cloud container cluster service, computer equipment and storage medium

By introducing the @Decrypt annotation and the Spring Boot Starter component, encrypted configuration fields are automatically identified and decrypted, solving the problem of coupling between decryption logic and configuration loading in existing technologies. This achieves efficient and secure encrypted configuration management, suitable for cloud container cluster services.

CN121051771APending Publication Date: 2025-12-02PING AN TECH (SHENZHEN) CO LTD
0 Cites 0 Cited by

Patent Information

Application Number
CN202511196547.8
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-08-22
Publication Date
2025-12-02

AI Technical Summary

Technical Problem

Existing technologies suffer from several problems in the process of reading and decrypting encrypted configurations from the configuration center. These problems include the dependence of static decryption logic on hard-coded code, coupling of decryption logic with configuration loading, inability to automatically identify encrypted fields, and lack of a unified and standardized encapsulation scheme. As a result, these technologies lead to low development efficiency, high maintenance difficulty, and high security risks.

Method used

The @Decrypt annotation mechanism is used to automatically identify and decrypt encrypted configuration fields through the Spring Boot Starter component. The decryption logic is decoupled from the configuration loading and is encapsulated into a reusable Spring Boot Starter component, which supports dynamic configuration updates.

Benefits of technology

It simplifies the development process, reduces code duplication, improves development efficiency and security, supports dynamic configuration updates, and adapts to automated configuration management in cloud environments.

✦ Generated by Eureka AI based on patent content.
Patent Text Reader

Abstract

The invention discloses a cloud container cluster service encryption configuration automatic decryption method and device, computer equipment and a storage medium, the method comprises the following steps: loading configuration information of a target application from a configuration center, the configuration information comprising at least one encryption configuration field; identifying a target field with a (at) Decrypt annotation in the configuration information, wherein the (at) Decrypt annotation is used for marking a field needing to be decrypted; decrypting the encrypted configuration field based on a preset decryption rule to obtain a decrypted configuration value; and injecting the configuration value into the target field to complete configuration loading of the target application. By implementing the method, the development process can be simplified, code repetition is reduced, and the development efficiency is improved; in addition, different items can share the same decryption logic, code redundancy is reduced, the code reuse rate is improved, and the technical scheme can be applied to the fields of finance and medical health.
Need to check novelty before this filing date? Find Prior Art