@Test void testInvalidToken() { VaultConfigSource vaultConfigSource = VaultConfigSource.builder() .config(c -> c.token("zzzzzz")) .config(c -> c.address("http: .addSecretsPath("secrets/unknown/path") .build(); assertThrows(ConfigSourceNotAvailableException.class, vaultConfigSource::loadConfig); }
public static Builder builder() { return new Builder(); }
VaultConfigSource implements ConfigSource { public static Builder builder() { return new Builder(); } }
VaultConfigSource implements ConfigSource { public static Builder builder() { return new Builder(); } private  VaultConfigSource(VaultInvoker vault, Collection<String> secretsPaths); }
VaultConfigSource implements ConfigSource { public static Builder builder() { return new Builder(); } private  VaultConfigSource(VaultInvoker vault, Collection<String> secretsPaths); @Override Map<String, ConfigProperty> loadConfig(); static Builder builder(); }
VaultConfigSource implements ConfigSource { public static Builder builder() { return new Builder(); } private  VaultConfigSource(VaultInvoker vault, Collection<String> secretsPaths); @Override Map<String, ConfigProperty> loadConfig(); static Builder builder();  }