Secure enclave touch ups (#1964)

This commit is contained in:
Cheena Malhotra
2023-03-23 20:59:38 -07:00
committed by GitHub
parent 8b7600eb5b
commit 3ef3a0f022
6 changed files with 47 additions and 20 deletions

View File

@@ -1428,6 +1428,10 @@ namespace Microsoft.SqlTools.ServiceLayer.Connection
switch (connectionDetails.SecureEnclaves.ToUpper())
{
case "ENABLED":
if (string.IsNullOrEmpty(connectionDetails.EnclaveAttestationProtocol))
{
throw new ArgumentException(SR.ConnectionServiceConnStringMissingAttestationProtocolWithSecureEnclaves);
}
break;
case "DISABLED":
break;