Skip to content

ConfigUtilities Methods

Utilities class for working with configuration.

RedactConnectionStringInfo(string)

static
View source
public static string RedactConnectionStringInfo(string connectionString)
Prints the DataConnectionString, without disclosing any credential info such as the Azure Storage AccountKey, SqlServer password or AWS SecretKey.

Parameters

connectionStringstring
The connection string to print.

Returns

The string representation of the DataConnectionString with account credential info redacted.