AWS.AdvancedDotnetDataProviderWrapper.Authentication 2.2.0

Prefix Reserved
dotnet add package AWS.AdvancedDotnetDataProviderWrapper.Authentication --version 2.2.0
                    
NuGet\Install-Package AWS.AdvancedDotnetDataProviderWrapper.Authentication -Version 2.2.0
                    
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="AWS.AdvancedDotnetDataProviderWrapper.Authentication" Version="2.2.0" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="AWS.AdvancedDotnetDataProviderWrapper.Authentication" Version="2.2.0" />
                    
Directory.Packages.props
<PackageReference Include="AWS.AdvancedDotnetDataProviderWrapper.Authentication" />
                    
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 AWS.AdvancedDotnetDataProviderWrapper.Authentication --version 2.2.0
                    
#r "nuget: AWS.AdvancedDotnetDataProviderWrapper.Authentication, 2.2.0"
                    
#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 AWS.AdvancedDotnetDataProviderWrapper.Authentication@2.2.0
                    
#: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=AWS.AdvancedDotnetDataProviderWrapper.Authentication&version=2.2.0
                    
Install as a Cake Addin
#tool nuget:?package=AWS.AdvancedDotnetDataProviderWrapper.Authentication&version=2.2.0
                    
Install as a Cake Tool

AWS Advanced .NET Data Provider Wrapper - Authentication

This package provides the shared AWS credential-selection infrastructure used by the AWS-authenticating plugins of the AWS Advanced .NET Data Provider Wrapper (IAM authentication, AWS Secrets Manager, and custom endpoint monitoring).

AwsCredentialsManager

By default, the AWS-authenticating plugins locate AWS credentials using the AWS SDK's default credentials chain. If you would like to supply and manage your own credentials — for example an AssumeRoleAWSCredentials instance whose refresh behavior you control — you can register a custom handler with the AwsCredentialsManager:

using Amazon.Runtime;
using Amazon.SecurityToken;
using AwsWrapperDataProvider.Authentication;

// Register once at application startup. The handler receives the target endpoint and the connection
// properties, so a single handler can return different credentials per endpoint.
AwsCredentialsManager.SetCustomHandler((hostSpec, props) =>
    new AssumeRoleAWSCredentials(
        FallbackCredentialsFactory.GetCredentials(),
        "arn:aws:iam::123456789012:role/MyRole",
        "my-session"));

Return null from the handler to fall back to the AWS SDK default credentials chain. Call AwsCredentialsManager.ResetCustomHandler() to remove a previously registered handler.

The registration is process-global, so the most recently registered handler is used.

See the AWS Credentials Configuration documentation for more details.

Product Compatible and additional computed target framework versions.
.NET net8.0 is compatible.  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.  net9.0 was computed.  net9.0-android was computed.  net9.0-browser was computed.  net9.0-ios was computed.  net9.0-maccatalyst was computed.  net9.0-macos was computed.  net9.0-tvos was computed.  net9.0-windows was computed.  net10.0 was computed.  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 (3)

Showing the top 3 NuGet packages that depend on AWS.AdvancedDotnetDataProviderWrapper.Authentication:

Package Downloads
AWS.AdvancedDotnetDataProviderWrapper.Plugin.Iam

Package Description

AWS.AdvancedDotnetDataProviderWrapper.Plugin.SecretsManager

Package Description

AWS.AdvancedDotnetDataProviderWrapper.Plugin.CustomEndpoint

Package Description

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
2.2.0 162 8/5/2026
2.1.0 178 7/16/2026