use of com.azure.core.http.policy.FixedDelay in project lowkey-vault by nagyesta.
the class AbstractLowkeyVaultContainerTest method verifyConnectionIsWorking.
protected void verifyConnectionIsWorking(final String vaultUrl, final HttpClient httpClient, final TokenCredential credential) {
final SecretClient secretClient = new SecretClientBuilder().vaultUrl(vaultUrl).credential(credential).httpClient(httpClient).serviceVersion(SecretServiceVersion.V7_2).retryPolicy(new RetryPolicy(new FixedDelay(0, Duration.ZERO))).buildClient();
final KeyVaultSecret secret = secretClient.setSecret(NAME, VALUE);
Assertions.assertNotNull(secret);
}
Aggregations