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

KeyVault Keys Readme and Samples issues #12388

Closed
Melanie-Ma opened this issue Jun 22, 2020 · 4 comments
Closed

KeyVault Keys Readme and Samples issues #12388

Melanie-Ma opened this issue Jun 22, 2020 · 4 comments
Assignees
Labels
Client This issue points to a problem in the data-plane of the library. Docs KeyVault

Comments

@Melanie-Ma
Copy link
Contributor

Melanie-Ma commented Jun 22, 2020

Section Link:
image

Reason:
image

Suggestion:

.vaultUrl("https://myvault.azure.net/")
.credential(new DefaultAzureCredentialBuilder().build())
.httpLogOptions(new HttpLogOptions().setLogLevel(HttpLogDetailLevel.BODY_AND_HEADERS))
.httpClient(HttpClient.createDefault())
.buildAsyncClient();

Section Link:
image

Suggestion:
Update client key to client secret.
3.
Section Link:
image

Reason:
Click on 'Encrypt Asynchronously' is unresponsive.

Suggestion:
It's should jump to the link: https://github.com/Azure/azure-sdk-for-java/tree/azure-security-keyvault-keys_4.1.4/sdk/keyvault/azure-security-keyvault-keys#encrypt-asynchronously

@ghost ghost added needs-triage Workflow: This is a new issue that needs to be triaged to the appropriate team. customer-reported Issues that are reported by GitHub users external to the Azure organization. question The issue doesn't require a change to the product in order to be resolved. Most issues start as that labels Jun 22, 2020
@Melanie-Ma
Copy link
Contributor Author

@jongio , for notification.

@joshfree joshfree added Client This issue points to a problem in the data-plane of the library. KeyVault labels Jun 22, 2020
@ghost ghost removed the needs-triage Workflow: This is a new issue that needs to be triaged to the appropriate team. label Jun 22, 2020
@joshfree joshfree added Docs and removed customer-reported Issues that are reported by GitHub users external to the Azure organization. question The issue doesn't require a change to the product in order to be resolved. Most issues start as that labels Jun 22, 2020
@joshfree
Copy link
Member

@vcolin7 PTAL

@vcolin7
Copy link
Member

vcolin7 commented Jun 23, 2020

  1. I tested the suggested code and it didn't work for me. The correct code would need to remove the addPolicy() line and keep the call to credential():

    .vaultUrl("https://myvault.azure.net/")
    .credential(new DefaultAzureCredentialBuilder().build())
    .httpLogOptions(new HttpLogOptions().setLogLevel(HttpLogDetailLevel.BODY_AND_HEADERS))
    .httpClient(HttpClient.createDefault())
    .buildAsyncClient();

    Since the given Credential object will be added to the pipeline in a KeyVaultCredentialPolicy by the Builder.

  2. Agreed.

  3. Agreed.

@vcolin7
Copy link
Member

vcolin7 commented Jun 24, 2020

The same issue from point number 2 is also present in the Certificates README but both have already been corrected in master.

openapi-sdkautomation bot referenced this issue in AzureSDKAutomation/azure-sdk-for-java Feb 4, 2021
[NetAppFiles] Anf 9085 update swagger rest api to 2020 11 01 (#12388)
openapi-sdkautomation bot referenced this issue in AzureSDKAutomation/azure-sdk-for-java Feb 4, 2021
[NetAppFiles] Anf 9085 update swagger rest api to 2020 11 01 (#12388)
@github-actions github-actions bot locked and limited conversation to collaborators Apr 12, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Client This issue points to a problem in the data-plane of the library. Docs KeyVault
Projects
None yet
Development

No branches or pull requests

3 participants