go-gorm / go-gorm/sqlserver

Azure Managed Identity support

Open
#78 0 comments 1 reaction 1 assignee Claimed by @jinzhu View on GitHub
Dominant language
Go
Stars
66
Forks
52
PR merge metrics
No merged PRs in 30d

Description

## 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.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.