-
Notifications
You must be signed in to change notification settings - Fork 2k
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
Add Tracing context in Key Vault secrets package #4549
Conversation
378ec93
to
02894d1
Compare
b0026ce
to
329be81
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Go through with an eye to reduce duplication, simplify, and to standardise naming.
...re-keyvault-secrets/src/main/java/com/azure/security/keyvault/secrets/SecretAsyncClient.java
Outdated
Show resolved
Hide resolved
...re-keyvault-secrets/src/main/java/com/azure/security/keyvault/secrets/SecretAsyncClient.java
Outdated
Show resolved
Hide resolved
...re-keyvault-secrets/src/main/java/com/azure/security/keyvault/secrets/SecretAsyncClient.java
Outdated
Show resolved
Hide resolved
...re-keyvault-secrets/src/main/java/com/azure/security/keyvault/secrets/SecretAsyncClient.java
Outdated
Show resolved
Hide resolved
...vault/azure-keyvault-keys/src/main/java/com/azure/security/keyvault/keys/KeyAsyncClient.java
Outdated
Show resolved
Hide resolved
...vault/azure-keyvault-keys/src/main/java/com/azure/security/keyvault/keys/KeyAsyncClient.java
Outdated
Show resolved
Hide resolved
...re-keyvault-secrets/src/main/java/com/azure/security/keyvault/secrets/SecretAsyncClient.java
Outdated
Show resolved
Hide resolved
...re-keyvault-secrets/src/main/java/com/azure/security/keyvault/secrets/SecretAsyncClient.java
Outdated
Show resolved
Hide resolved
...t/azure-keyvault-secrets/src/main/java/com/azure/security/keyvault/secrets/SecretClient.java
Outdated
Show resolved
Hide resolved
@@ -36,14 +36,14 @@ public static void main(String[] args) throws InterruptedException, IllegalArgum | |||
.expires(OffsetDateTime.now().plusYears(1))); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It would be nice to have a couple of samples showing usage of Response < T > in Hello World area.
Processing the headers info + secret info
Doesn't have to be everywhere.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
KeyVault API responses don't seem to have a lot of information on the headers that could be useful for showing in samples.
I just added something that could validate the operation using the status code information in
the response.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yeah that is fine for now, the goal is to show the use of Response
extracting key , and looking at whatever header info is given.
@JonathanGiles , |
Not at present. I would like to initially have this in our wiki which I have slowly been setting up here. Feel free to add new pages and links - we can flesh the whole thing out between now and GA. |
T
withResponse<T>
"overload in sync and async Key vault secretsclient.Closes: #4476