@ -160,6 +160,39 @@ Setting values should be configured under the `Settings` section as like in this
> `IConfiguration` is an .NET Core service and it can read values not only from the `appsettings.json`, but also from the environment, user secrets... etc. See [Microsoft's documentation](https://docs.microsoft.com/en-us/aspnet/core/fundamentals/configuration/) for more.
#### Encrypting Setting Values in the Application Configuration
You have to use the `ISettingEncryptionService` to encrypt the setting values when the `IsEncrypted` property of a setting definition is set to `true`, which means that the setting value should be encrypted in the `appsettings.json`.
Example of injecting the `ISettingEncryptionService` into a class and encrypting the plain text: