Fix domain generation without secret option in .yml config