23 references to WithPasswordAuthentication
Aspire.Hosting.Azure.PostgreSQL (1)
AzurePostgresExtensions.cs (1)
340? builder.WithPasswordAuthentication(userName, password)
Aspire.Hosting.Azure.Tests (19)
AzureContainerAppsTests.cs (4)
335var pgdb = builder.AddAzurePostgresFlexibleServer("pg").WithPasswordAuthentication().AddDatabase("db"); 413var pgdb = builder.AddAzurePostgresFlexibleServer("pg").WithPasswordAuthentication().AddDatabase("db"); 1460.WithPasswordAuthentication() 1491.WithPasswordAuthentication()
AzureDeployerTests.cs (1)
1291.WithPasswordAuthentication()
AzureEnvironmentResourceExtensionsTests.cs (2)
730.WithPasswordAuthentication(); 4058.WithPasswordAuthentication();
AzurePostgresExtensionsTests.cs (8)
58builder.AddAzurePostgresFlexibleServer("pg").WithPasswordAuthentication().RunAsContainer(); 88postgres.WithPasswordAuthentication(userName, password); 231postgres.WithPasswordAuthentication(usr, pwd); 241postgres.WithPasswordAuthentication(usr, pwd); 316.WithPasswordAuthentication(); // Auto-generates username and password 368.WithPasswordAuthentication(userName: user, password: pass) 406.WithPasswordAuthentication(); 665postgres.WithPasswordAuthentication();
AzurePostgresFlexibleServerConnectionPropertiesTests.cs (1)
48var postgres = builder.AddAzurePostgresFlexibleServer("postgres").WithPasswordAuthentication();
AzurePostgresFlexibleServerDatabaseConnectionPropertiesTests.cs (1)
54var postgres = builder.AddAzurePostgresFlexibleServer("postgres").WithPasswordAuthentication();
ExistingAzureResourceTests.cs (1)
233.WithPasswordAuthentication(existingUserName, existingPassword);
PublicApiTests\PostgreSQLPublicApiTests.cs (1)
115var action = () => builder.WithPasswordAuthentication();
BicepSample.AppHost (1)
AppHost.cs (1)
71.WithPasswordAuthentication(administratorLogin, administratorLoginPassword)
CdkSample.AppHost (1)
AppHost.cs (1)
48.WithPasswordAuthentication(pgsqlAdministratorLogin, pgsqlAdministratorLoginPassword)
WaitForSandbox.AppHost (1)
AppHost.cs (1)
7.WithPasswordAuthentication()