The file doc/samples/AzureKeyVaultProviderLegacyExample_2_0.cs has been deleted as of #4323 (it was already commented out and marked TODO for removal).
The MS Docs page still shows this legacy sample inline:
https://learn.microsoft.com/en-us/sql/connect/ado-net/sql/azure-key-vault-example?view=sql-server-ver17#legacy-callback-implementation-design-example-with-v20
Action needed: Request removal of the "Legacy callback implementation design example with v2.0+" section from the MS Docs page (in the MicrosoftDocs/sql-docs repo), as the API it demonstrates is no longer supported.
The modern replacement sample is doc/samples/AzureKeyVaultProviderExample_2_0.cs which uses Azure.Identity (TokenCredential-based).
The file
doc/samples/AzureKeyVaultProviderLegacyExample_2_0.cshas been deleted as of #4323 (it was already commented out and marked TODO for removal).The MS Docs page still shows this legacy sample inline:
https://learn.microsoft.com/en-us/sql/connect/ado-net/sql/azure-key-vault-example?view=sql-server-ver17#legacy-callback-implementation-design-example-with-v20
Action needed: Request removal of the "Legacy callback implementation design example with v2.0+" section from the MS Docs page (in the
MicrosoftDocs/sql-docsrepo), as the API it demonstrates is no longer supported.The modern replacement sample is
doc/samples/AzureKeyVaultProviderExample_2_0.cswhich usesAzure.Identity(TokenCredential-based).