Class AWSSecretTransformer

  • All Implemented Interfaces:
    org.github.gestalt.config.processor.config.transform.Transformer

    public final class AWSSecretTransformer
    extends java.lang.Object
    implements org.github.gestalt.config.processor.config.transform.Transformer
    Allows you to substitute an aws secret using ${awsSecret:secretName:secretKey}.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void applyConfig​(org.github.gestalt.config.processor.config.ConfigNodeProcessorConfig config)  
      java.lang.String name()  
      org.github.gestalt.config.utils.GResultOf<java.lang.String> process​(java.lang.String path, java.lang.String secretNameKey, java.lang.String rawValue)  
      • Methods inherited from class java.lang.Object

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

      • AWSSecretTransformer

        public AWSSecretTransformer()
    • Method Detail

      • name

        public java.lang.String name()
        Specified by:
        name in interface org.github.gestalt.config.processor.config.transform.Transformer
      • applyConfig

        public void applyConfig​(org.github.gestalt.config.processor.config.ConfigNodeProcessorConfig config)
        Specified by:
        applyConfig in interface org.github.gestalt.config.processor.config.transform.Transformer
      • process

        public org.github.gestalt.config.utils.GResultOf<java.lang.String> process​(java.lang.String path,
                                                                                   java.lang.String secretNameKey,
                                                                                   java.lang.String rawValue)
        Specified by:
        process in interface org.github.gestalt.config.processor.config.transform.Transformer