Language

GoogleArtifactRegistryCacheAuthentication(String, String, String) Constructor

Definition

Initializes a new instance of GoogleArtifactRegistryCacheAuthentication.

public GoogleArtifactRegistryCacheAuthentication(string projectNumber, string workloadIdentityPool, string workloadIdentityProvider);
new Azure.ResourceManager.ContainerRegistry.Models.GoogleArtifactRegistryCacheAuthentication : string * string * string -> Azure.ResourceManager.ContainerRegistry.Models.GoogleArtifactRegistryCacheAuthentication
Public Sub New (projectNumber As String, workloadIdentityPool As String, workloadIdentityProvider As String)

Parameters

projectNumber
String

The Google Cloud Platform project that is configured for authentication Permissions should be granted to principal://iam.googleapis.com/projects/{ProjectNumber}/locations/global/workloadIdentityPools/{WorkloadIdentityPool}/providers/{WorkloadIdentityProvider}/subject/{ManagedIdentityPrincipal}

workloadIdentityPool
String

The Google Cloud platform workload identity pool used for authentication.

workloadIdentityProvider
String

The Google Cloud Platform workload identity provider used for authentication.

Exceptions

projectNumber, workloadIdentityPool or workloadIdentityProvider is null.

Applies to