File tree Expand file tree Collapse file tree
src/Configuration.Providers/AwsSecretsManager Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11<Project Sdk =" Microsoft.NET.Sdk" >
22
33 <Target Name =" PreparePackageReleaseNotesFromFile" BeforeTargets =" GenerateNuspec" >
4- <ReadLinesFromFile File =" ../RELEASE-NOTES.txt" >
5- <Output TaskParameter =" Lines" ItemName =" ReleaseNoteLines" />
4+ <ReadLinesFromFile File =" ../RELEASE-NOTES.txt" >
5+ <Output TaskParameter =" Lines" ItemName =" ReleaseNoteLines" />
66 </ReadLinesFromFile >
77 <PropertyGroup >
88 <PackageDescription >$([System.IO.File]::ReadAllText("$(MSBuildProjectDirectory)/PackageDescription.txt"))</PackageDescription >
1414 <TargetFramework >netcoreapp3.1</TargetFramework >
1515 <OutputType >library</OutputType >
1616 <PackageId >BSG.Configuration.Providers.AwsSecretsManager</PackageId >
17- <Version >1.0.0</Version >
17+ <PackageLicenseExpression >MIT</PackageLicenseExpression >
18+ <Version >1.0.0</Version >
1819 <Authors >@patrickvecchio</Authors >
20+ <Copyright >Patrick R. Vecchio</Copyright >
1921 <Company >Patrick R. Vecchio</Company >
2022 <RepositoryUrl >https://github.com/patrickvecchio/CustomConfigurationProviders</RepositoryUrl >
2123 <AssemblyName >BSG.$(SolutionName).$(MSBuildProjectName)</AssemblyName >
2224 <PackageProjectUrl >https://github.com/patrickvecchio/CustomConfigurationProviders</PackageProjectUrl >
2325 <PackageTags >dotnet;microsoft-extensions-configuration;aws;aws-secrets-manager</PackageTags >
2426 <PackageReadmeFile >README.md</PackageReadmeFile >
27+ <GeneratePackageOnBuild >True</GeneratePackageOnBuild >
2528 </PropertyGroup >
2629 <ItemGroup >
2730 <PackageReference Include =" AWSSDK.SecretsManager" Version =" 3.7.2.21" />
Original file line number Diff line number Diff line change 1+ This package is a custom configuration provider that can be used in startup to replace references in appsettings files to AWS Secrets Manager secrets with the secret values in the IConfigurationRoot.
2+
3+ ** For example,**
4+ ```
5+ "Database:AwsSecret": "/dev/db/options"
6+ ```
7+ ** where the AWS Secrets Manager value is**
8+ ```
9+ {
10+ "timeoutMilliseconds": "5000",
11+ "maxPoolSize": "50"
12+ }
13+ ```
14+ ** can be turned into**
15+ ```
16+ "Database:timeoutMilliseconds" "5000",
17+ "Database:maxPoolSize": "50"
18+ ```
Original file line number Diff line number Diff line change 11This package is a custom configuration provider that can be used in startup to replace references in appsettings files to AWS Secrets Manager secrets with the secret values in the IConfigurationRoot.
22
3- **For example,**
4- ```
3+ For example,
54 "Database:AwsSecret": "/dev/db/options"
6- ```
7- **where the AWS Secrets Manager value is**
8- ```
5+
6+ where the AWS Secrets Manager value is
97 {
108 "timeoutMilliseconds": "5000",
119 "maxPoolSize": "50"
1210 }
13- ```
14- **can be turned into**
15- ```
11+
12+ can be turned into
1613 "Database:timeoutMilliseconds" "5000",
17- "Database:maxPoolSize": "50"
18- ```
14+ "Database:maxPoolSize": "50"
You can’t perform that action at this time.
0 commit comments