Tedious driver connect SQL Server that enabled Always Encrypted

My database is running on Azure SQL and I enabled secure enclaves and enclave type is VBS. The master key is stored in Azure Key Vault. I can query the column that encrypted via SSMS with check “Enable Always Encryption (column encryption” option, and will show login page when query data in the table that has encrypted columns and shows the actual data correctly.

The application is using tedious to connect Azure SQL, but I got the result with the encrypted value instead of decrypted value. I cannot find the document how to configure the connection string on tedious to Always Encrypted database.

How to connect the database with tedious package and decrypted the encrypted column in NodeJs?

Note: I connected Azure by “az login” command before starting the application.

Read more here: Source link