<PackageReference Include="System.Configuration.ConfigurationManager" Version="9.0.0-preview.5.24306.7" />

ProtectedConfiguration

public static class ProtectedConfiguration
Provides access to the protected-configuration providers for the current application's configuration file.
public const string DataProtectionProviderName = "DataProtectionConfigurationProvider"

The name of the data protection provider.

public const string ProtectedDataSectionName = "configProtectedData"

The name of the protected data section.

public const string RsaProviderName = "RsaProtectedConfigurationProvider"

The name of the RSA provider.

public static string DefaultProvider { get; }

Gets the name of the default protected-configuration provider.

Gets a collection of the installed protected-configuration providers.