Skip to content

Instantly share code, notes, and snippets.

View neallclark's full-sized avatar

Neal Clark neallclark

  • Moodys Analytics
  • Chesterfield, UK
View GitHub Profile
@neallclark
neallclark / SecretReader.cs
Created May 6, 2017 21:52
Dotnet Docker secret reader
using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.FileProviders;
using System.IO;
namespace Common
{
public class SecretReader
{
private readonly string _secretRootPath;