skip to main content
Using the driver : Data encryption : Always Encrypted : Connection string example
  

Try DataDirect Drivers Now
Connection string example
The following connection strings configure the driver to use Always Encrypted with the minimum required properties.
For connections using Azure Key Vault:
"jdbc:datadirect:sqlserver://MyServer:1433;
AEKeystorePrincipalId=789f8b4c-7a4a-445d-6oe9-7bec14625645;
AEKeyStoreClientSecret=ABcdEFg/hiJkLmNOPqR01stUvWxyzYx2wvUTsrQpO=;
ColumnEncryption=Enabled;"
For connections Java KeyStore:
"jdbc:datadirect:sqlserver://MyServer:1433;
AEKeystoreLocation=/usr/java/jre/lib/security/cacerts;AEKeystoreSecret=secret;
ColumnEncryption=Enabled;"