public final class EncryptionSecretOperations extends Object
EncryptionSecrets
which use the AWS SDK
operations. Isolating them here ensures that that class is not required on
the classpath.Modifier and Type | Method and Description |
---|---|
static Optional<String> |
getSSEAwsKMSKey(EncryptionSecrets secrets)
Gets the SSE-KMS key if present, else let S3 use AWS managed key.
|
static Optional<String> |
getSSECustomerKey(EncryptionSecrets secrets)
Gets the SSE-C client side key if present.
|
public static Optional<String> getSSECustomerKey(EncryptionSecrets secrets)
secrets
- source of the encryption secrets.public static Optional<String> getSSEAwsKMSKey(EncryptionSecrets secrets)
secrets
- source of the encryption secrets.Copyright © 2008–2024 Apache Software Foundation. All rights reserved.