Encryption

Configuration Item Explanation

  1. dataSources: # Omit the data source configuration, please refer to the usage
  2. rules:
  3. - !ENCRYPT
  4. tables:
  5. <table-name> (+): # Encrypt table name
  6. columns:
  7. <column-name> (+): # Encrypt logic column name
  8. cipherColumn: # Cipher column name
  9. assistedQueryColumn (?): # Assisted query column name
  10. plainColumn (?): # Plain column name
  11. encryptorName: # Encrypt algorithm name
  12. # Encrypt algorithm configuration
  13. encryptors:
  14. <encrypt-algorithm-name> (+): # Encrypt algorithm name
  15. type: # Encrypt algorithm type
  16. props: # Encrypt algorithm properties
  17. # ...
  18. queryWithCipherColumn: # Whether query with cipher column for data encrypt. User you can use plaintext to query if have

Please refer to Built-in Encrypt Algorithm List for more details about type of algorithm.