Skip to content

Commit

Permalink
User constants
Browse files Browse the repository at this point in the history
  • Loading branch information
ulvii committed Mar 18, 2020
1 parent 372ea3f commit 9808a13
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -150,11 +150,11 @@ public static void setup() throws Exception {
if (null == akvProvider) {
File file = null;
try {
file = new File("mssql-jdbc.properties");
file = new File(Constants.MSSQL_JDBC_PROPERTIES);
try (OutputStream os = new FileOutputStream(file);) {
Properties props = new Properties();
// Append to the list of hardcoded endpoints.
props.setProperty("AKVTrustedEndpoints", ";vault.azure.net");
props.setProperty(Constants.AKV_TRUSTED_ENDPOINTS_KEYWORD, ";vault.azure.net");
props.store(os, "");
}
akvProvider = new SQLServerColumnEncryptionAzureKeyVaultProvider(applicationClientID, applicationKey);
Expand Down

0 comments on commit 9808a13

Please sign in to comment.