mirror of
https://github.com/juspay/hyperswitch.git
synced 2025-10-29 09:07:09 +08:00
refactor(configs): make kms module and KmsDecrypt pub (#1274)
This commit is contained in:
committed by
GitHub
parent
28f0d1f535
commit
f0db9937c7
@ -1,5 +1,5 @@
|
||||
mod defaults;
|
||||
#[cfg(feature = "kms")]
|
||||
pub(super) mod kms;
|
||||
pub mod kms;
|
||||
pub mod settings;
|
||||
mod validations;
|
||||
|
||||
@ -6,7 +6,7 @@ use crate::configs::settings;
|
||||
|
||||
#[async_trait::async_trait]
|
||||
// This trait performs inplace decryption of the structure on which this is implemented
|
||||
pub(crate) trait KmsDecrypt {
|
||||
pub trait KmsDecrypt {
|
||||
async fn decrypt_inner(self, kms_config: &kms::KmsConfig) -> CustomResult<Self, kms::KmsError>
|
||||
where
|
||||
Self: Sized;
|
||||
|
||||
Reference in New Issue
Block a user