Skip to content
Permalink
Browse files
Merge pull request #502 from jelmini/OAK-9704
OAK-9704 Fix Utils#getConnectionString
  • Loading branch information
smiroslav committed Feb 23, 2022
2 parents bd8a55f + 69842a3 commit 74299ff98b9aecef34646a223009f35f5d08dfc6
Showing 1 changed file with 4 additions and 0 deletions.
@@ -153,6 +153,10 @@ private static String getConnectionStringForSas(String sasUri, String blobEndpoi
}
}

public static String getConnectionString(final String accountName, final String accountKey) {
return getConnectionString(accountName, accountKey, null);
}

public static String getConnectionString(final String accountName, final String accountKey, String blobEndpoint) {
StringBuilder connString = new StringBuilder("DefaultEndpointsProtocol=https");
connString.append(";AccountName=").append(accountName);

0 comments on commit 74299ff

Please sign in to comment.