There’s also a petition:
I recently got a warranty replacement keyboard for my 10.5” iPP, and found out Apple is/was doing out of warranty replacements for first generation iPP Smart Cover keyboards. .
https://appleinsider.com/articles/18/04/13/apple-offers-up-extended-repair-program-for-defective-ipad-pro-smart-keyboards