David Marshall has signed a new three-year deal at Cardiff.
The goalkeeper, 27, still had 12 months remaining on his contract but has been rewarded by boss Malky Mackay, who restored him as first-choice stopper last season in his first campaign at the helm.
Mackay told the club's official website: "I'm delighted to get David signed up.
"I've gone on record before to say I consider him to be one of the best three goalkeepers in the Championship. His consistency was immense last season and I think a confidence has been instilled in him by Jim Hollman (goalkeeping coach) and myself, with us telling him he is our number one.
"The work Jim has done with David last season has seen his potential flourish. I want him now to push even further and establish himself in that Scotland squad where he should be."
Back-up keeper Tom Heaton has already been told he will not be offered a new deal this summer, with free agent Joe Lewis tipped to arrive from Peterborough and challenge Marshall for the number one spot.