confluent-kafka-python icon indicating copy to clipboard operation
confluent-kafka-python copied to clipboard

Oauth/OIDC Azure IMDS metadata based authentication for Schema Registry

Open emasab opened this issue 2 months ago • 7 comments

What

Implement metadata based authentication with Azure IMDS returning an OAuth/OIDC token. Implementation is for both the synchronous and asynchronous client. Before implementing the feature did a refactor to make it more maintainable to add new authentication methods.

Checklist

  • [ ] Contains customer facing changes? Including API/behavior changes
  • [x] Unit tests are present, similar to those present to OAuth/OIDC with client_credentials

References

JIRA:

Test & Review

Run the normal test suite. An example in present for how to use the SR authentication methods and the Kafka one as well.

Open questions / Follow-ups

emasab avatar Sep 19 '25 16:09 emasab