AzureWorkloadIdentityGoogleCredential 2024.5.9.204104

Suggested Alternatives

AzureWorkloadIdentityGoogle

Additional Details

Better namespace naming in the new one, AzureWorkloadIdentityGoogleCredential is easier to read

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

// Install AzureWorkloadIdentityGoogleCredential as a Cake Tool
#tool nuget:?package=AzureWorkloadIdentityGoogleCredential&version=2024.5.9.204104

AzureWorkloadIdentityGoogleCredential

Azure to google workload identity federation Implement azure to google workload identity federation Described in the document below

https://cloud.google.com/iam/docs/workload-identity-federation-with-other-clouds

Quick overview

  • Create Azure enterprise application
  • Set application ID URI
  • Add App role
  • Create managed identity (if required)
  • Give app role to identities

Setup google workload provider

  • Select a provider: OpenID Connect (OIDC).
  • Provider name: Name for the provider. This cannot changed.
  • Issuer URL: https://sts.windows.net/TENANT_ID. Replace TENANT_ID with the tenant ID (GUID) of your Azure AD tenant.
  • Allowed audiences: api://your-application-id-uri

Add your managed identities to Google IAM 'Workload Identity User' role

principal://iam.googleapis.com/projects/{PROJECT-NUMBER}/locations/global/workloadIdentityPools/{PROVIDER-NAME}/subject/{IDENTITY-OBJECT-ID}

Instead of using a json to add to your environment, you can use AzureWorkloadIdentityGoogleCredential

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. 
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
2024.5.9.204104 95 5/9/2024
1.0.0 87 5/9/2024