25 references to SecretText
Aspire.Hosting (8)
ApplicationModel\ParameterResource.cs (1)
604InputType = 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)
294Aspire.Hosting.InputType.SecretText => Aspire.DashboardService.Proto.V1.InputType.SecretText, 308Aspire.DashboardService.Proto.V1.InputType.SecretText => InputType.SecretText,
InteractionService.cs (1)
643case InputType.SecretText:
ParameterResourceBuilderExtensions.cs (1)
297InputType = options.InputType ?? (parameter.Secret ? InputType.SecretText : InputType.Text),
Aspire.Hosting.Azure (2)
Provisioning\Internal\PublishModeProvisioningContextProvider.cs (2)
218InputType = InputType.SecretText, 317InputType = InputType.SecretText,
Aspire.Hosting.Tests (10)
AddParameterTests.cs (2)
826Assert.Equal(InputType.SecretText, input.InputType); 1063Assert.Equal(InputType.SecretText, input.InputType);
InteractionServiceTests.cs (4)
616[InlineData(InputType.SecretText, 10)] 748new InteractionInput { Name = "Password", Label = "Password", InputType = InputType.SecretText }, 961new InteractionInput { Name = "Password", Label = "Password", InputType = InputType.SecretText } 975new InputDto("Password", "testpass", InputType.SecretText)
Orchestrator\ParameterProcessorTests.cs (2)
310Assert.Equal(InputType.SecretText, input.InputType); 664Assert.Equal(InputType.SecretText, secretInput.InputType);
ResourceCommandServiceTests.cs (2)
671InputType = InputType.SecretText, 682InputType = InputType.SecretText,
Publishers.AppHost (1)
DistributedApplicationBuilderExtensions.cs (1)
173InputType = InputType.SecretText,
Stress.AppHost (4)
CommandResources.cs (2)
248InputType = InputType.SecretText, 351.Where(i => i.InputType is InputType.Text or InputType.SecretText or InputType.Choice)
InteractionCommands.cs (2)
256new InteractionInput { Name = "Password", InputType = InputType.SecretText, Label = "Password", Description = "The password for the reservation. Maximum 20 characters.", Placeholder = "Enter password", Required = true, MaxLength = 20 }, 311InputType = InputType.SecretText,