use of com.quorum.tessera.config.DefaultKeyVaultConfig in project tessera by ConsenSys.
the class KeyVaultConfigValidatorTest method validAzureConfig.
@Test
public void validAzureConfig() {
DefaultKeyVaultConfig config = new DefaultKeyVaultConfig();
config.setKeyVaultType(KeyVaultType.AZURE);
config.setProperty("url", "someurl");
assertThat(keyVaultConfigValidator.isValid(config, context)).isTrue();
}
use of com.quorum.tessera.config.DefaultKeyVaultConfig in project tessera by ConsenSys.
the class KeyVaultConfigValidatorTest method validAWSConfig.
@Test
public void validAWSConfig() {
DefaultKeyVaultConfig config = new DefaultKeyVaultConfig();
config.setKeyVaultType(KeyVaultType.AWS);
config.setProperty("endpoint", "http://someurl");
assertThat(keyVaultConfigValidator.isValid(config, context)).isTrue();
}
Aggregations