24 references to SecretText
Aspire.Hosting (8)
ApplicationModel\ParameterResource.cs (1)
169InputType = Secret ? InputType.SecretText : InputType.Text,
ApplicationModel\ResourceCommandService.cs (2)
588var value = argument.Value = argument.InputType == InputType.SecretText 620case InputType.SecretText:
Ats\InteractionExports.cs (1)
187return InteractionInputBuilder.Create(name, InputType.SecretText, options);
Dashboard\DashboardService.cs (2)
266Aspire.Hosting.InputType.SecretText => Aspire.DashboardService.Proto.V1.InputType.SecretText, 280Aspire.DashboardService.Proto.V1.InputType.SecretText => InputType.SecretText,
InteractionService.cs (1)
593case InputType.SecretText:
ParameterResourceBuilderExtensions.cs (1)
267InputType = options.InputType ?? (parameter.Secret ? InputType.SecretText : InputType.Text),
Aspire.Hosting.Azure (2)
Provisioning\Internal\PublishModeProvisioningContextProvider.cs (2)
187InputType = InputType.SecretText, 286InputType = InputType.SecretText,
Aspire.Hosting.Tests (10)
AddParameterTests.cs (2)
482Assert.Equal(InputType.SecretText, input.InputType); 666Assert.Equal(InputType.SecretText, input.InputType);
InteractionServiceTests.cs (4)
512[InlineData(InputType.SecretText, 10)] 644new InteractionInput { Name = "Password", Label = "Password", InputType = InputType.SecretText }, 857new InteractionInput { Name = "Password", Label = "Password", InputType = InputType.SecretText } 871new InputDto("Password", "testpass", InputType.SecretText)
Orchestrator\ParameterProcessorTests.cs (2)
233Assert.Equal(InputType.SecretText, input.InputType); 503Assert.Equal(InputType.SecretText, secretInput.InputType);
ResourceCommandServiceTests.cs (2)
669InputType = InputType.SecretText, 680InputType = InputType.SecretText,
Publishers.AppHost (1)
DistributedApplicationBuilderExtensions.cs (1)
175InputType = InputType.SecretText,
Stress.AppHost (3)
CommandResources.cs (2)
247InputType = InputType.SecretText, 350.Where(i => i.InputType is InputType.Text or InputType.SecretText or InputType.Choice)
InteractionCommands.cs (1)
240new InteractionInput { Name = "Password", InputType = InputType.SecretText, Label = "Password", Placeholder = "Enter password", Required = true, MaxLength = 20 },