check secret