Aspirerelease/17.0
Watch Aspire live streamsDocsTry Aspire

CreateSecretInput

Method
📦 Aspire.Hosting v17.0.0
func (InteractionService) CreateSecretInput(
name string,
options ...*CreateInteractionInputOptions,
) InteractionInputBuilder

Signature

methodCreateSecretInput
Creates a secret (masked) text input.
CreateSecretInput(
name string,
options ...*CreateInteractionInputOptions,
) InteractionInputBuilder
namestring
options...*CreateInteractionInputOptionsOptional settings, described under Options.

Optional parameters are passed as the existing *CreateInteractionInputOptions struct.

InteractionInputBuilder

Returns a handle; failures surface later via Err().

Applies to

This method applies to the following types: