1 write to PasswordParameter
Aspire.Hosting.MySql (1)
MySqlServerResource.cs (1)
23
PasswordParameter
= password;
7 references to PasswordParameter
Aspire.Hosting.MySql (4)
MySqlBuilderExtensions.cs (3)
59
context.EnvironmentVariables[PasswordEnvVarName] = resource.
PasswordParameter
;
137
context.EnvironmentVariables.Add("PMA_PASSWORD", singleInstance.
PasswordParameter
.Value);
162
writer.WriteLine($"$cfg['Servers'][$i]['password'] = '{mySqlInstance.
PasswordParameter
.Value}';");
MySqlServerResource.cs (1)
41
$"Server={PrimaryEndpoint.Property(EndpointProperty.Host)};Port={PrimaryEndpoint.Property(EndpointProperty.Port)};User ID=root;Password={
PasswordParameter
}");
Aspire.Hosting.MySql.Tests (3)
AddMySqlTests.cs (2)
23
Assert.Equal("Aspire.Hosting.ApplicationModel.UserSecretsParameterDefault", mysql.Resource.
PasswordParameter
.Default?.GetType().FullName);
33
Assert.NotEqual("Aspire.Hosting.ApplicationModel.UserSecretsParameterDefault", mysql.Resource.
PasswordParameter
.Default?.GetType().FullName);
MySqlFunctionalTests.cs (1)
135
var password = mysql1.Resource.
PasswordParameter
.Value;