Class FileSystemSecretStoreHeaplet

  • All Implemented Interfaces:
    Heaplet

    public class FileSystemSecretStoreHeaplet
    extends GenericHeaplet
    This heaplet represents an instance of a PropertyResolverSecretStore resolving properties from files in a directory. The FlatFileResolver resolves each property stored in its own file in some directory.
     {
           "type": "FileSystemSecretStore",
           "config": {
             "directory":                 expression                     [REQUIRED - path to the directory containing
                                                                                     the files (one file per password).]
             "format":                    expression(enum)               [OPTIONAL - PLAIN or BASE64, default is BASE64],
             "suffix":                    expression                     [OPTIONAL - the suffix such as ".secret",
                                                                                     default: empty]
           }
        }
     

    Example:

     {
           "type": "FileSystemSecretStore",
           "config": {
             "directory": "/path/to/openig/basedir/secrets"
             "format": "PLAIN",
           }
        }
     
    See Also:
    FlatFileResolver
    • Constructor Detail

      • FileSystemSecretStoreHeaplet

        public FileSystemSecretStoreHeaplet()
    • Method Detail