sqlserver icon indicating copy to clipboard operation
sqlserver copied to clipboard

Azure Managed Identity support

Open natemccallum opened this issue 3 years ago • 0 comments

Your Question

With the update to the driver (microsoft/go-mssqldb) I'd like to use connecting with Managed Identities. That method appears to require a connector passed to sql.OpenDB rather than the driver and DSN passed to sql.Open. Is connecting with Azure Managed Identities possible? https://github.com/microsoft/go-mssqldb/blob/main/examples/azuread-accesstoken/managed_identity.go

The document you expected this should be explained

https://gorm.io/docs/connecting_to_the_database.html

Expected answer

Yes or No and if yes, a sample.

natemccallum avatar Nov 22 '22 16:11 natemccallum