We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents e578646 + cc76450 commit 236075bCopy full SHA for 236075b
1 file changed
src/Azure/AzureKeyVaultConfigBuilder.cs
@@ -130,7 +130,7 @@ private async Task<string> GetValueAsync(string key)
130
return secret?.Value;
131
} catch (KeyVaultErrorException kve) {
132
// Simply return null if the secret wasn't found
133
- if (kve.Body.Error.Code == "SecretNotFound")
+ if (kve.Body.Error.Code == "SecretNotFound" || kve.Body.Error.Code == "BadParameter")
134
return null;
135
136
// If there was a permission issue or some other error, let the exception bubble
0 commit comments