# ConfigUtilities.RedactConnectionStringInfo(string?)

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

[Source](https://github.com/dotnet/orleans/blob/6a0e937f544c35ffcf11b37e4c2b7de5a1580a03/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.
