Store SSL Certificates in key vault or secure place and give reference location in Kafka trigger Azure Functions

Patil, Nilesh-ZB-XT 26 Reputation points
2023-01-09T12:29:45.133+00:00

0

I am developing kafka trigger based azure functions in JAVA where the function uses below configuration for connection:

@KafkaTrigger(name = "kafkatrigger", topic = "kafka.topic", brokerList = "%BrokerList%",
consumerGroup = "default-consumer", protocol = BrokerProtocol.SSL,
sslCertificateLocation = "%sslCertificateLocation%", sslCaLocation = "%sslCaLocation%",
sslKeyLocation = "%sslKeyLocation%", sslKeyPassword = "%keyStorePassword%",
cardinality = Cardinality.ONE, dataType = "string")

So, In above configuration I do not want to upload the client private key, client public key and ca certificate through artifact on the container for security purpose. So, I want to keep the certificates at secure location like key vault, secret management and use their reference location in @KafkaTrigger annotation. How can I achieve that?

Azure Functions
Azure Functions
An Azure service that provides an event-driven serverless compute platform.
5,940 questions
{count} vote

Accepted answer
  1. MuthuKumaranMurugaachari-MSFT 22,441 Reputation points Moderator
    2023-01-17T15:04:55.2+00:00

    @Patil, Nilesh-ZB-XT Our engineering team confirmed that unfortunately adding references to certificate stored in Certificate Stores is not supported for Kafka Extension. Since this is a feature request, we would like to understand more about your requirements and please add a comment in Allow retrieving custom certificates from certificate store thread describing the same. It will really help our product team to track and plan the feature as well as hear others with similar interest.

    If you have any questions, feel free to add a comment in the thread. We would be happy to assist you.

    Please 'Accept as answer' and ‘Upvote’ if it helped so that it can help others in the community.

    0 comments No comments

0 additional answers

Sort by: Most helpful

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.