From cab6f4751fad09b83b064316315444b48ec5017f Mon Sep 17 00:00:00 2001 From: rlaisqls Date: Wed, 10 May 2023 15:22:27 +0900 Subject: [PATCH] setting: (#490) encrypt algorithm yml --- dms-infrastructure/src/main/resources/application.yml | 4 ++++ .../team/aliens/dms/common/annotation/EncryptAnnotations.kt | 4 ++-- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/dms-infrastructure/src/main/resources/application.yml b/dms-infrastructure/src/main/resources/application.yml index 0070b5c0f..d598908e7 100644 --- a/dms-infrastructure/src/main/resources/application.yml +++ b/dms-infrastructure/src/main/resources/application.yml @@ -67,6 +67,10 @@ cloud: kms: key: ${KMS_ARN:asdf} +encrypt: + transformation: ${ENCRYPT_TRANSFORMATION} + algorithm: ${ENCRYPT_ALGORITHM} + sentry: dsn: ${SENTRY_DSN:asdf} traces-sample-rate: 1.0 diff --git a/dms-persistence/src/main/kotlin/team/aliens/dms/common/annotation/EncryptAnnotations.kt b/dms-persistence/src/main/kotlin/team/aliens/dms/common/annotation/EncryptAnnotations.kt index 352c32c4f..d28b9ff56 100644 --- a/dms-persistence/src/main/kotlin/team/aliens/dms/common/annotation/EncryptAnnotations.kt +++ b/dms-persistence/src/main/kotlin/team/aliens/dms/common/annotation/EncryptAnnotations.kt @@ -17,7 +17,7 @@ enum class EncryptType { } /** - * 메서드의 반환값에서 EncryptedColmn이 붙은 필드을 암호화하는 어노테이션 + * 메서드의 반환값에서 EncryptedColumn이 붙은 필드을 암호화하는 어노테이션 * @see EncryptedColumn * @see team.aliens.dms.persistence.EncryptableGenericMapper */ @@ -27,7 +27,7 @@ enum class EncryptType { annotation class Encrypt /** - * 메서드의 반환값에서 EncryptedColmn이 붙은 필드을 복호화하는 어노테이션 + * 메서드의 반환값에서 EncryptedColumn이 붙은 필드을 복호화하는 어노테이션 * @see EncryptedColumn */ @Inherited