No1.DockerSecretsResolver 1.0.2

dotnet add package No1.DockerSecretsResolver --version 1.0.2
                    
NuGet\Install-Package No1.DockerSecretsResolver -Version 1.0.2
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="No1.DockerSecretsResolver" Version="1.0.2" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="No1.DockerSecretsResolver" Version="1.0.2" />
                    
Directory.Packages.props
<PackageReference Include="No1.DockerSecretsResolver" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add No1.DockerSecretsResolver --version 1.0.2
                    
#r "nuget: No1.DockerSecretsResolver, 1.0.2"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package No1.DockerSecretsResolver@1.0.2
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=No1.DockerSecretsResolver&version=1.0.2
                    
Install as a Cake Addin
#tool nuget:?package=No1.DockerSecretsResolver&version=1.0.2
                    
Install as a Cake Tool

No1.DockerSecretsResolver

Reads all settings and place that value of docker secrets in the configurations.

This library provides 2 methods to check if a key is a docker secrets and puts the secret in the configuration.

ConfigurationExtensions.ProcessDockerSecrets.

(or configuration.ProcessDockerSecrets if you import using No1.DockerSecretsResolver;)

This method reads all keys in configurations, and if the key has not been skipped, processes it with ProcessDockerSecretKey method.

ConfigurationExtensions.ProcessDockerSecretKey

(or configuration.ProcessDockerSecretKey if you import using No1.DockerSecretsResolver;)

This method processes specific key and if:

  • Key's value started with /run/secrets/
  • Specified file in value exists

Then reads the file and put secret in:

  • The key itself, if key does not end with _FILE (ignores case) suffix. (such as Connection::ConnectionString)
  • Another key without _FILE suffix, if key ends with _FILE (ignores case) suffix. (so if the key was Connection::ConnectionString_FILE, the secret will be placed in Connection::ConnectionString)
Product Compatible and additional computed target framework versions.
.NET net10.0 is compatible.  net10.0-android was computed.  net10.0-browser was computed.  net10.0-ios was computed.  net10.0-maccatalyst was computed.  net10.0-macos was computed.  net10.0-tvos was computed.  net10.0-windows was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
1.0.2 122 6/14/2026