View on GitHub

SQL Commander

Lightweight Microsoft SQL Explorer.

SQL Commander auth validation notes

This document records the auth validation scenarios for SQL Commander.

Validated scenarios

SQL username/password

Validated against local SQL Server using SQL authentication.

Example connection string:

Data Source=localhost;Initial Catalog=master;User ID=sa;Password=<password>;Pooling=True;MultipleActiveResultSets=False;Encrypt=Mandatory;TrustServerCertificate=True;Application Name=SQL Commander;Connect Timeout=30;Command Timeout=300;

Azure Default Credential

Validated from local SQL Commander against Azure SQL using the signed-in Azure CLI account.

Connection string shape:

Data Source=tcp:<server-name>.database.windows.net,1433;Initial Catalog=<database-name>;Authentication=Active Directory Default;Encrypt=True;TrustServerCertificate=False;Application Name=SQL Commander;Connect Timeout=30;Command Timeout=300;

Observed success indicators:

System-assigned Managed Identity

Validated from Azure App Service with system-assigned managed identity against Azure SQL.

Connection string shape:

Data Source=tcp:<server-name>.database.windows.net,1433;Initial Catalog=<database-name>;Authentication=Active Directory Managed Identity;Encrypt=True;TrustServerCertificate=False;Application Name=SQL Commander;Connect Timeout=30;Command Timeout=300;

Observed success indicators:

Temporary validation environment

The validation used a short-lived Azure SQL database and Azure App Service Free plan. The temporary resource group was deleted after validation to control cost.

Current limitations