fix: throw MissingSecret
when secret missing
#10305
Merged
MissingSecret
when secret missing
#10305