Neolution.AzureSqlFederatedIdentity
0.0.1
Prefix Reserved
Replaced by Csag.WorkloadIdentity. It gives passwordless tokens for Azure SQL as before, from a managed identity or a Google identity, and also covers Blob Storage and SignalR. Its README has a migration section for users of this package.
dotnet add package Neolution.AzureSqlFederatedIdentity --version 0.0.1
NuGet\Install-Package Neolution.AzureSqlFederatedIdentity -Version 0.0.1
<PackageReference Include="Neolution.AzureSqlFederatedIdentity" Version="0.0.1" />
<PackageVersion Include="Neolution.AzureSqlFederatedIdentity" Version="0.0.1" />
<PackageReference Include="Neolution.AzureSqlFederatedIdentity" />
paket add Neolution.AzureSqlFederatedIdentity --version 0.0.1
#r "nuget: Neolution.AzureSqlFederatedIdentity, 0.0.1"
#:package Neolution.AzureSqlFederatedIdentity@0.0.1
#addin nuget:?package=Neolution.AzureSqlFederatedIdentity&version=0.0.1
#tool nuget:?package=Neolution.AzureSqlFederatedIdentity&version=0.0.1
Neolution.AzureSqlFederatedIdentity
Federated identity integration for Azure SQL using Google Cloud IAM Credentials and Azure AD.
Features
- Obtain Azure SQL access tokens using Google service accounts
- Automatic token refresh and caching
- Easy integration with ASP.NET Core and .NET worker services
Getting Started
Install the NuGet package:
dotnet add package Neolution.AzureSqlFederatedIdentityConfigure your
appsettings.json:{ "Neolution.AzureSqlFederatedIdentity": { "TenantId": "<your-azure-ad-tenant-id>", "ClientId": "<your-azure-ad-client-id>", "Google": { "ServiceAccountEmail": "<your-gcp-service-account-email>" } } }Register the services in your
Program.cs:builder.Services.AddAzureSqlFederatedIdentity(builder.Configuration);
License
MIT
Contributing
Contributions are welcome! Please open issues or pull requests.
| Product | Versions 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. |
-
net8.0
- Azure.Identity (>= 1.14.0)
- Google.Cloud.Iam.Credentials.V1 (>= 2.4.0)
- Microsoft.Data.SqlClient (>= 6.0.2)
- Microsoft.Extensions.Caching.Memory (>= 8.0.1)
- Microsoft.Extensions.Configuration.Binder (>= 8.0.2)
- Microsoft.Extensions.Hosting.Abstractions (>= 8.0.1)
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.0.1 | 1,535 | 6/16/2025 | |
| 0.0.1-alpha.3 | 255 | 6/16/2025 | |
| 0.0.1-alpha.2 | 251 | 6/16/2025 | |
| 0.0.1-alpha.1 | 319 | 6/16/2025 |