Avro.Aws.Auth
0.1.0
dotnet add package Avro.Aws.Auth --version 0.1.0
NuGet\Install-Package Avro.Aws.Auth -Version 0.1.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="Avro.Aws.Auth" Version="0.1.0" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Avro.Aws.Auth" Version="0.1.0" />
<PackageReference Include="Avro.Aws.Auth" />
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 Avro.Aws.Auth --version 0.1.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: Avro.Aws.Auth, 0.1.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 Avro.Aws.Auth@0.1.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=Avro.Aws.Auth&version=0.1.0
#tool nuget:?package=Avro.Aws.Auth&version=0.1.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
Avro AWS Authentication
AWS authentication and credential management for .NET applications. This package provides a flexible way to manage AWS credentials and configuration in your .NET applications.
Features
- Environment variable support for credentials (
AWS_ACCESS_KEY_ID,AWS_SECRET_ACCESS_KEY,AWS_SESSION_TOKEN) - Region management with fallback (
AWS_REGION,AWS_DEFAULT_REGION) - IAM role support via
AWS_ROLE_ARN - GitHub Actions OIDC integration
- Dependency injection support
- Async operations
- Comprehensive XML documentation
Installation
dotnet add package Avro.Aws.Auth
Usage
using Avro.Aws.Auth;
using Avro.Aws.Abstractions;
// Basic usage with environment variables
var authManager = new AwsAuthManager();
string accessKeyId = await authManager.GetAccessKeyIdAsync();
string region = await authManager.GetRegionAsync();
// Custom credential provider
public class CustomCredentialProvider : IAwsCredentialProvider
{
public Task<string> GetAccessKeyIdAsync() => Task.FromResult("your-key");
public Task<string> GetSecretAccessKeyAsync() => Task.FromResult("your-secret");
public Task<string?> GetSessionTokenAsync() => Task.FromResult<string?>(null);
}
// Using dependency injection
var authManager = new AwsAuthManager(new CustomCredentialProvider());
Environment Variables
AWS_ACCESS_KEY_ID- AWS access keyAWS_SECRET_ACCESS_KEY- AWS secret keyAWS_SESSION_TOKEN- Optional session token for temporary credentialsAWS_REGION- Primary AWS region settingAWS_DEFAULT_REGION- Fallback AWS region settingAWS_ROLE_ARN- Optional IAM role ARN to assume
License
This project is licensed under the MIT License - see the LICENSE file for details.
| Product | Versions 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.
-
net10.0
- Avro.Aws.Abstractions (>= 0.0.1)
- AWSSDK.SecurityToken (>= 0.1.0)
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 |
|---|---|---|
| 0.1.0 | 199 | 10/1/2025 |