Implement hashicorp vault
This commit is contained in:
		| @@ -23,8 +23,8 @@ namespace Core.Blueprint.KeyVault.Configuration | ||||
|             { | ||||
|                 var vaultSettings = configuration.GetSection("Vault").Get<VaultOptions>(); | ||||
|  | ||||
|                 if (string.IsNullOrEmpty(vaultSettings?.Address) || string.IsNullOrEmpty(vaultSettings.Token) || | ||||
|                     string.IsNullOrEmpty(vaultSettings?.SecretPath) || string.IsNullOrEmpty(vaultSettings.SecretMount)) | ||||
|                 if (string.IsNullOrEmpty(vaultSettings?.Address) || string.IsNullOrEmpty(vaultSettings.Token) | ||||
|                     || string.IsNullOrEmpty(vaultSettings.SecretMount)) | ||||
|                 { | ||||
|                     throw new ArgumentNullException("Vault options are not configured correctly."); | ||||
|                 } | ||||
|   | ||||
		Reference in New Issue
	
	Block a user