Interface SecretDAO

  • All Implemented Interfaces:

    
    public interface SecretDAO
    
                        

    Retrieve secret from a secured source

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Field Summary

      Fields 
      Modifier and Type Field Description
    • Constructor Summary

      Constructors 
      Constructor Description
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      abstract String getSecret(String secretId)
      abstract String createOrUpdateSecret(String secretName, Object secretObject) Create an AWS Secret if it doesn't exist.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

    • Method Detail

      • createOrUpdateSecret

         abstract String createOrUpdateSecret(String secretName, Object secretObject)

        Create an AWS Secret if it doesn't exist. Else, update it

        Parameters:
        secretName - the secret name
        secretObject - the secret object to store