EonaCat Env Load and write environment variables for secure information storage
$ dotnet add package EonaCat.EnvEasy Environment variable loading for protection.
Allows you to use it with :
TIP: Put your .env files inside your Version Control ignore file so sensitive content is never written to your code repository.
As a default the following order is traversed for file loading:
It is also possible to specify your own env filenames using the Settings
The static Getter can be used to retrieve Environment variables from the System Environment.
The following settings can be set: EnvFilePaths IgnoreExceptions TrimValues StopSearchOnFilenames TraverseDirectories TraverseLevels Encoding
The default traversion level is 6