an ace up your sleeve
US /ən eɪs ʌp jʊər sliːv/
UK /ən eɪs ʌp jʊər sliːv/

1.
a secret advantage or resource that can be used when needed
:
•
The politician had an ace up his sleeve for the debate.
•
She always keeps an ace up her sleeve for negotiations.