The hyperbola ${x^2 \over a^2} - {y^2 \over b^2} = 1$ has the asymptotes $y = \pm {b \over a} x$. Hence $\tan {\alpha \over 2} = {b \over a}$ or ${a \over b}$ according to your choice of the angle between the asymptotes. Then just use the identity $\sec^2 x = 1 + \tan^2 x$.
If you want $\sec {\alpha \over 2}$ to be in terms of $e$, then you'll have to choose $\alpha$ to be that angle between the asymptotes which contains the $x$-axis. Then, you'll get
$$
\sec {\alpha\over 2} = e.
$$
For a method to find the equation of the pair of asymptotes to a hyperbola:
Let the equation of the hyperbola be:
$$
ax^2 + 2hxy + by^2 + 2gx + 2fy + c = 0.
$$
Note that the equation of a hyperbola and its pair of asymptotes differ only in their constant terms. So, we write the equation of the pair of asymptotes as:
$$
ax^2 + 2hxy + by^2 + 2gx + 2fy + \lambda = 0
$$
If the above equation is the equation of a pair of straight lines then $h^2 ≠ ab$ and,
$$
ab\lambda + 2fgh - af^2 - bg^2 - \lambda h^2 = 0.
$$
You get the value of $\lambda$ from here.