code: def _config2indy(self, config: dict) -> dict:
          
  
          assert {'name', 'id'} & {k for k in config}
          return {
              'id': config.get('name', config.get('id')),
              'storage_type': config.get('storage_type', self.default_storage_type),
              'freshness_time': config.get('freshness_time', self.default_freshness_time)
          }
docs: Given a configuration dict with indy and possibly more configuration values, return the
          corresponding indy wallet configuration dict from current default and input values.
  
          :param config: input configuration
          :return: configuration dict for indy wallet