Support for multiple named database backends, new secrets format