Skip to content

Support Azure Managed Identities to authenticate to Azure SQL DB #281

Open
@mnowrot

Description

@mnowrot

Feature Request

Is your feature request related to a problem? Please describe

I'd like to use passwordless authentication to my AzureSQL database. So far I'm unable to do it. My question on StackOverflow remains unanswered so far.

Describe the solution you'd like

Indicate the name of the managed identity I want to use to connect in the driver settings. The driver, possibly with support of external libraries should attempt to authenticate with this managed identity. Both System- and User-assigned managed identities shall be supported.

Describe alternatives you've considered

So far, I fell back to using usernname/password authentication. An alternative would be to use the JDBC driver which supports this authentication style.

Teachability, Documentation, Adoption, Migration Strategy

I'd consider introducing a property to driver settings:
azureManagedIdentityClientId

Authentication should be performed if the given managed identity is assigned to the azure resource from which I'm attempting to authenticate (a Virtual Machine, Azure Container App, etc.)

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions