Add printing of fetched secrets. Added debug logging