DotNetAwsEnv 1.1.1

dotnet add package DotNetAwsEnv --version 1.1.1                
NuGet\Install-Package DotNetAwsEnv -Version 1.1.1                
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="DotNetAwsEnv" Version="1.1.1" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add DotNetAwsEnv --version 1.1.1                
#r "nuget: DotNetAwsEnv, 1.1.1"                
#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.
// Install DotNetAwsEnv as a Cake Addin
#addin nuget:?package=DotNetAwsEnv&version=1.1.1

// Install DotNetAwsEnv as a Cake Tool
#tool nuget:?package=DotNetAwsEnv&version=1.1.1                

DotNetAwsEnv

DotNetAwsEnv Build License: MIT NuGet version

A .NET library to load AWS parameter store variables into the environment. This is based on the aws-env project for loading data into the environment.

Installation

Available on NuGet

Visual Studio:

PM> Install-Package DotNetAwsEnv

.NET CLI:

dotnet add package DotNetAwsEnv

Usage

Load parameters file

Load() or LoadAsync() will automatically search for variables in parameter store and inject them into the environment.

DotNetAwsEnv.AwsEnv.Load("ssm/path/prefix");
await DotNetAwsEnv.AwsEnv.LoadAsync("ssm/path/prefix", cancellationToken);

Using .NET Configuration provider

Integrating with the usual ConfigurationBuilder can be used as well:

var configuration = new ConfigurationBuilder()
    .AddDotNetAwsEnv("ssm/path/prefix")
    .Build();

This will inject these variables into the Configuration Provider and can be used across the application with IConfiguration.

Product Compatible and additional computed target framework versions.
.NET net7.0 is compatible.  net7.0-android was computed.  net7.0-ios was computed.  net7.0-maccatalyst was computed.  net7.0-macos was computed.  net7.0-tvos was computed.  net7.0-windows was computed.  net8.0 was computed.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.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.1.1 9,835 4/21/2023
1.1.0 167 4/21/2023
1.0.0 232 4/21/2023