Class KMSConfig


  • public class KMSConfig
    extends java.lang.Object
    Configuration parameters required by a KeyManagementService.

    Receives the in-memory representation of a properties file and extracts parameters that are specifically required for a KeyManagementService 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 with CryptoService implementation
      int kmsRandomKeySizeInBits
      The key size that the KMS will populate for random key generations
    • Method Summary

      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • 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 with CryptoService implementation
      • kmsRandomKeySizeInBits

        @Config("kms.random.key.size.in.bits")
        @Default("256")
        public final int kmsRandomKeySizeInBits
        The key size that the KMS will populate for random key generations