Skip to content
Docs Try Aspire

BuildImageSecretValue Constructors

Record Constructors 1 member
Represents a resolved build secret with its value and type.
Constructor(string?, BuildImageSecretType) Section titled Constructor(string?, BuildImageSecretType)
Represents a resolved build secret with its value and type.
public record BuildImageSecretValue
{
public BuildImageSecretValue(
string? Value,
BuildImageSecretType Type)
{
// ...
}
}
Value string? The resolved secret value. For BuildImageSecretType.Environment secrets, this is the secret content. For BuildImageSecretType.File secrets, this is the file path.
Type BuildImageSecretType The type of the build secret, indicating whether it is environment-based or file-based.