A secret witness (or anonymous witness) is a witness which is granted anonymity in a trial by the juridical authority. The identity of the witness is not disclosed to the defendant and the general public except the secret witness agrees to it. It is a juridical procedure currently often used in Turkish law. Prominent examples are the case against Andrew Brunson and the Ergenekon trials. In several trials against politicians of the Peoples' Democratic Party (HDP) secret witnesses are also used. Following the attempted coup d'état in 2016, secret witnesses were used in many trials.