She wouldn't tell me the secret.

Literal

She [topic-は] secret [object-を] reveal did-not-for-me.

あかしてくれなかった — あかす ('to reveal') + てくれない (didn't do the favor of). The negative benefactive highlights the speaker's disappointment at not receiving the information.