Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Azure response timeout configurable #888

Merged
merged 4 commits into from
Aug 28, 2023

Conversation

gfukushima
Copy link
Contributor

@gfukushima gfukushima commented Aug 24, 2023

PR Description

This PR adds a CLI option to customise the timeout of the http client used in Azure KeyVault library.

Fixed Issue(s)

Fixes #797

Documentation

  • I thought about documentation and added the doc-change-required label to this PR if updates are required.

Changelog

  • I thought about adding a changelog entry, and added one if I deemed necessary.

Testing

  • I thought about testing these changes in a realistic/non-local environment.

@@ -67,7 +68,7 @@
void connectingWithInvalidClientSecretThrowsException() {
final AzureKeyVault azureKeyVault =
createUsingClientSecretCredentials(
CLIENT_ID, "invalid", TENANT_ID, VAULT_NAME, azureExecutor);
CLIENT_ID, "invalid", TENANT_ID, VAULT_NAME, azureExecutor, AZURE_DEFAULT_TIMEOUT);

Check failure

Code scanning / CodeQL

Hard-coded credential in API call

Hard-coded value flows to [sensitive API call](1).
@gfukushima gfukushima added the doc-change-required Indicates an issue or PR that requires doc to be updated label Aug 24, 2023
Copy link
Contributor

@jframe jframe left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@gfukushima gfukushima merged commit 73a5741 into Consensys:master Aug 28, 2023
@bgravenorst bgravenorst removed the doc-change-required Indicates an issue or PR that requires doc to be updated label Aug 31, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Timeout when loading keys from Azure vault
3 participants