Open sivawba opened 2 years ago
It's not possible yet. FreeTDS doesn't support Azure AD login (Now rebranded as Microsoft Entra ID) at the moment.
We need to wait until FreeTDS adds support, and then TinyTDS will be able to add it.
Here's the relevant FreeTDS issue.
Environment
TinyTDS Version and Information
FreeTDS Version
Description
Stack:
We are trying to port a Rails application to Azure cloud and would like to use Azure Service Principal or Managed Identity instead of the
database.yml
username/password, while connecting to Azure SQL-MIIs it possible to do this without specifying username/password in database.yml by using
access_token
from Azure IMDS endpoint as shown here for Python?Any pointers on how to accomplish this would be greatly helpful. Thanks again for a great library that is helping us move forward with the port.