# ConfigUtilities Methods

[Type overview](/orleans/docs/api/csharp/microsoft.orleans.core/orleans.runtime.configuration.configutilities/)

## RedactConnectionStringInfo(string) {#redactconnectionstringinfo-string-fb8e3ffe}

[Dedicated page](/orleans/docs/api/csharp/microsoft.orleans.core/orleans.runtime.configuration.configutilities/methods/redactconnectionstringinfo-string-fb8e3ffe/)

[Source](https://github.com/dotnet/orleans/blob/e4e752cedecc2976811db49802c7a999b1f1c704/src/Orleans.Core/Configuration/ConfigUtilities.cs#L237-L262)

```csharp
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

- `connectionString` (`string`): The connection string to print.

### Returns

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