microsoft-azure-storage/src/com/microsoft/azure/storage/StorageCredentials.java
public static StorageCredentials tryParseCredentials(final String connectionString)
            throws InvalidKeyException, StorageException {
        
        return tryParseCredentials(Utility.parseAccountString(connectionString));
    }
public static StorageCredentials tryParseCredentials(final String connectionString)
            throws InvalidKeyException, StorageException {
        
        return tryParseCredentials(Utility.parseAccountString(connectionString));
    }
Tries to determine the storage credentials from a connection string.
<p>
The format for the connection string is in the pattern "<i>keyname=value</i>". Multiple key/value pairs can be
separated by a semi-colon, for example, "<i>keyname1=value1;keyname2=value2</i>". Either include an account name
with an account key or a shared access signature. If you use an account name and account key, do not include a
shared access signature, and vice versa.
<p>
The same connection string can be used as for {@link CloudStorageAccount#parse(String)} but here only the account
name, account key, and sas key/value pairs will be examined.

@param connectionString
A <code>String</code> that contains the key/value pairs that represent the storage credentials.

@return A {@link StorageCredentials} object representing the storage credentials determined from the connection
string.

@throws InvalidKeyException
If the account key specified in <code>connectionString</code> is not valid.
@throws StorageException