Skip to main content

Data Service Encrypt Tool

1. Introduction

This document will guide you on how to encrypt file *.yml Data Service.

2.File Encrypt

1776047623395-661.png

3. How to use

  • Requirements: Java 8 or later
  • Use the Encrypt Tool (provided by akaBot)

1776047678106-518.png

Enter the following information:

  • The string to be encrypted
  • Encryption password: use the same password for all strings to be encrypted
  • Encryption algorithm: default is PBEWITHHMACSHA256ANDAES_256

Update the information in the application.yml file:

password: <the Secret string generated by the tool>

1776047785456-188.png

Configure the encryption information in application-dev.yml and application-prod.yml:

  • Replace the encrypted value with: ENC(Encrypted text from the tool)

Example:

1776047831075-980.png