Interface S3AesProvider
public interface S3AesProvider
Interface for providing
SecretKey
when configuring S3EncryptionClient
.
Required when encrypting files server side with AES. Secret Key should be stored in secure storage, for example AWS
Secrets Manager.- Since:
- 3.3.0
- Author:
- Matej Nedic
-
Method Summary
Modifier and TypeMethodDescriptionProvides SecretKey that will be used to configureS3EncryptionClient
.
-
Method Details
-
generateSecretKey
SecretKey generateSecretKey()Provides SecretKey that will be used to configureS3EncryptionClient
. Advised to fetch and return SecretKey in this method from Secured Storage.- Returns:
- KeyPair that will be used for encryption/decryption.
-