Using Azure Key Vault Secret client library for Python I got the secret for the certificate which has an extracted private key.
-----BEGIN PRIVATE KEY
{private_key_value}
-----END PRIVATE KEY-----
-----BEGIN CERTIFICATE-----
{certificate_value}
-----END CERTIFICATE-----
Is there package already made to get the two values (certificate and private key) separately for this scenario, or how can I extract them from the string? I need this to add a ssl_server_credenetials
for my gRPC server, which takes - A list of pairs of the form [PEM-encoded private key, PEM-encoded certificate chain] Python gRPC