1 write to PasswordParameter
Aspire.Hosting.MySql (1)
MySqlServerResource.cs (1)
23PasswordParameter = password;
7 references to PasswordParameter
Aspire.Hosting.MySql (4)
MySqlBuilderExtensions.cs (3)
59context.EnvironmentVariables[PasswordEnvVarName] = resource.PasswordParameter; 137context.EnvironmentVariables.Add("PMA_PASSWORD", singleInstance.PasswordParameter.Value); 162writer.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)
23Assert.Equal("Aspire.Hosting.ApplicationModel.UserSecretsParameterDefault", mysql.Resource.PasswordParameter.Default?.GetType().FullName); 33Assert.NotEqual("Aspire.Hosting.ApplicationModel.UserSecretsParameterDefault", mysql.Resource.PasswordParameter.Default?.GetType().FullName);
MySqlFunctionalTests.cs (1)
135var password = mysql1.Resource.PasswordParameter.Value;