How can i configure a private key for saml authentification via a custom provider?

my idp needs requests to be signed and i have a private key for signing reuqests and i don’t know how to configure it ?