part #2
This commit is contained in:
@@ -0,0 +1,14 @@
|
||||
using System;
|
||||
using Microsoft.Extensions.Options;
|
||||
using StellaOps.Cryptography;
|
||||
|
||||
namespace StellaOps.Cryptography.DependencyInjection;
|
||||
|
||||
internal sealed class CryptoComplianceOptionsPostConfigure : IPostConfigureOptions<CryptoComplianceOptions>
|
||||
{
|
||||
public void PostConfigure(string? name, CryptoComplianceOptions options)
|
||||
{
|
||||
ArgumentNullException.ThrowIfNull(options);
|
||||
options.ApplyEnvironmentOverrides();
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user