1 implementation of WithServicePrincipal
Aspire.Hosting.Radius (1)
CloudProviders\AzureRadiusProviderBuilder.cs (1)
28public IAzureRadiusProviderBuilder WithServicePrincipal(
20 references to WithServicePrincipal
Aspire.Hosting.Radius.Tests (20)
CloudProviders\AdditiveCompatibilityTests.cs (1)
27azure => azure.WithServicePrincipal(
CloudProviders\ConflictingCredentialsTests.cs (6)
26.WithAzureProvider(SubA, "rg-dev", azure => azure.WithServicePrincipal(TenantId, ClientId, secret)); 46.WithAzureProvider(SubA, "rg-dev", azure => azure.WithServicePrincipal(TenantId, ClientId, secret)); 48.WithAzureProvider(SubB, "rg-prod", azure => azure.WithServicePrincipal(TenantId, ClientId, secret)); 82.WithAzureProvider(SubA, "rg-dev", azure => azure.WithServicePrincipal(TenantId, ClientId, secret)); 84.WithAzureProvider(SubB, "rg-prod", azure => azure.WithServicePrincipal(TenantId.ToUpperInvariant(), ClientId.ToUpperInvariant(), secret)); 99.WithAzureProvider(SubA, "rg", azure => azure.WithServicePrincipal(TenantId, ClientId, secret))
CloudProviders\CredentialModeOverrideTests.cs (2)
28azure.WithServicePrincipal(TenantId, ClientId, secret); 62env.WithAzureProvider(SubId, Rg, azure => azure.WithServicePrincipal(TenantId, ClientId, secret));
CloudProviders\MultiEnvironmentProvidersTests.cs (3)
26azure => azure.WithServicePrincipal(TenantId, ClientId, secret)); 45azure => azure.WithServicePrincipal(TenantId, ClientId, secret)) 62azure => azure.WithServicePrincipal(TenantId, ClientId, secret));
CloudProviders\WithAzureProviderTests.cs (5)
26azure => azure.WithServicePrincipal(ValidTenantId, ValidClientId, secret)); 50azure => azure.WithServicePrincipal(ValidTenantId, ValidClientId, secret))); 63azure => azure.WithServicePrincipal(ValidTenantId, ValidClientId, secret))); 97azure => azure.WithServicePrincipal("bad", ValidClientId, secret))); 110azure => azure.WithServicePrincipal(ValidTenantId, "", secret)));
Publishing\ProviderScopeBicepEmissionTests.cs (2)
25azure => azure.WithServicePrincipal(TenantId, ClientId, secret)); 105azure => azure.WithServicePrincipal(TenantId, ClientId, secret))
Publishing\RadCredentialArgumentTests.cs (1)
27azure => azure.WithServicePrincipal(TenantId, ClientId, secret));