Skip to content
Docs Try Aspire

BuildImageSecretValue Properties

Record Properties 2 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; }
Value Section titled Value nullable string?
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; }