Skip to content
DocsTry Aspire
DocsTry

BuildImageSecretValue Constructors

RecordConstructors1 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)
{
// ...
}
}
Valuestring?The resolved secret value. For BuildImageSecretType.Environment secrets, this is the secret content. For BuildImageSecretType.File secrets, this is the file path.
TypeBuildImageSecretTypeThe type of the build secret, indicating whether it is environment-based or file-based.