Skip to content
DocsTry Aspire
DocsTry

BuildImageSecretValue Properties

RecordProperties2 members
Represents a resolved build secret with its value and type.
The type of the build secret, indicating whether it is environment-based or file-based.
public BuildImageSecretType Type { get; init; }
ValueSection titled Valuenullablestring?
The resolved secret value. For BuildImageSecretType.Environment secrets, this is the secret content. For BuildImageSecretType.File secrets, this is the file path.
public string? Value { get; init; }