Package com.github.ambry.config
Class KMSConfig
- java.lang.Object
-
- com.github.ambry.config.KMSConfig
-
public class KMSConfig extends java.lang.Object
Configuration parameters required by aKeyManagementService
. Receives the in-memory representation of a properties file and extracts parameters that are specifically required for aKeyManagementService
and presents them for retrieval through defined APIs.
-
-
Field Summary
Fields Modifier and Type Field Description java.lang.String
kmsKeyGenAlgo
The Key gen algorithm that is compatible with the key Ensure this algo goes hand in hand withCryptoService
implementationint
kmsRandomKeySizeInBits
The key size that the KMS will populate for random key generations
-
Constructor Summary
Constructors Constructor Description KMSConfig(VerifiableProperties verifiableProperties)
-
-
-
Field Detail
-
kmsKeyGenAlgo
@Config("kms.key.gen.algo") @Default("AES") public final java.lang.String kmsKeyGenAlgo
The Key gen algorithm that is compatible with the key Ensure this algo goes hand in hand withCryptoService
implementation
-
-
Constructor Detail
-
KMSConfig
public KMSConfig(VerifiableProperties verifiableProperties)
-
-