1 write to PasswordParameter
Aspire.Hosting.Elasticsearch (1)
ElasticsearchResource.cs (1)
30PasswordParameter = password;
4 references to PasswordParameter
Aspire.Hosting.Elasticsearch (2)
ElasticsearchBuilderExtensions.cs (1)
91context.EnvironmentVariables["ELASTIC_PASSWORD"] = elasticsearch.PasswordParameter;
ElasticsearchResource.cs (1)
55ReferenceExpression.Create($"http://{UserName}:{PasswordParameter}@{PrimaryEndpoint.Property(EndpointProperty.Host)}:{PrimaryEndpoint.Property(EndpointProperty.Port)}");
Aspire.Hosting.Elasticsearch.Tests (2)
AddElasticsearchTests.cs (1)
152Assert.Equal($"http://elastic:{elasticsearch.Resource.PasswordParameter.Value}@localhost:27020", connectionString);
ElasticsearchFunctionalTests.cs (1)
85var password = elasticsearch1.Resource.PasswordParameter.Value;