diff --git a/internal/config/config.go b/internal/config/config.go index 98e80dea5f..c2df294814 100644 --- a/internal/config/config.go +++ b/internal/config/config.go @@ -1121,7 +1121,7 @@ type AzureSEVSNP struct { AMDRootKey Certificate `json:"amdRootKey" yaml:"amdRootKey"` // description: | // AMD Signing Key certificate used to verify the SEV-SNP VCEK / VLEK certificate. - AMDSigningKey Certificate `json:"amdSigningKey" yaml:"amdSigningKey" validate:"len=0"` + AMDSigningKey Certificate `json:"amdSigningKey,omitempty" yaml:"amdSigningKey,omitempty" validate:"len=0"` } // setWantLatestToFalse sets the WantLatest field to false for all versions in order to unmarshal the numerical versions instead of the string "latest".