In Reid's commutative algebra, there is a proof of equivalent conditions of Noetherian rings, especially (1) The set of ideals of $A$ has the a.c.c. $\Rightarrow$ (2) Every ideal in $A$ is finitely generated. I highlighted the sentence that I'm curious about.
Proof) Pick $f_1 \in I$, then if possible $f_2 \in I \setminus (f_1)$, and so on. At each step, if $I \neq (f_1, \cdots, f_k)$, pick $f_{k+1} \in I \setminus (f_1,\cdots,f_k)$. Then by the a.c.c., the chain of ideals $(f_1) \subset (f_1,f_2) \subset \cdots \subset (f_1,\cdots,f_k) \subset \cdots$ must break off at some stage, and this can only happen if $(f_1,\cdots,f_k)=I$. This proof involves an implicit appeal to the axiom of choice.
Where the axiom of choice is used? Is it from constructing the infinite ascending chain?
You are using the Axiom of Dependent Choice to guarantee that there is a sequence of choices of elements $f_i$ that you can make. At no point can you guarantee that you are done, since the generating sets may be unbounded (that is, it's possible that for every $n$ there is an ideal that requires at least $n+1$, though finitely many, elements to be generated).
A way to see it more clearly (and not be dazzled by the fact that you seem to only need to make finitely many choices) is to prove the contrapositive: suppose that $A$ has an ideal $I$ that is not finitely generated. Then proceed as above, using the Axiom of (Dependent) Choice to ensure that you can select the entire sequence $f_1,\ldots,f_n,\ldots$ of elements with the property that $(f_1,\ldots,f_n)\neq(f_1,\ldots,f_n,f_{n+1})$ for each $n$, to get a strictly increasing infinite sequence of ideals. You really do need the Axiom of Dependent Choice here, because you do need to make all the (infinitely many) choices.
Of course, the full force of Choice is used when proving that a ring has ACC on ideals if and only if every nonempty set of ideals has maximal elements.