Smallest n-digit prime containing only these digits
Bash + bsd-games package, 28 bytes

18 bytes saved thanks to @Dennis.


primes 1|egrep -wm1 [$2]{$1}

Input given at the command-line as n followed by k as a non-delimited list of digits.
Try it online.