Class SopsConfigurationProvider
- Namespace
- Nops.Configuration
- Assembly
- Nops.Configuration.dll
IConfigurationProvider that loads SOPS-encrypted files and exposes them as key-value pairs. Supports YAML, JSON, Dotenv, INI, and Binary formats.
public class SopsConfigurationProvider : ConfigurationProvider, IConfigurationProvider, IDisposable
- Inheritance
-
SopsConfigurationProvider
- Implements
- Inherited Members
Constructors
SopsConfigurationProvider(SopsConfigurationOptions)
Create a new SOPS configuration provider.
public SopsConfigurationProvider(SopsConfigurationOptions options)
Parameters
optionsSopsConfigurationOptions
Methods
Dispose()
Stop watching the file.
public void Dispose()
Load()
Load and decrypt the SOPS file, populating the Data dictionary. A missing file is tolerated only when Optional is set; every other failure throws.
public override void Load()