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

[Key Vault Keys] Fixed wrong method in a readme sample #11601

Merged
merged 1 commit into from
Oct 2, 2020

Conversation

sadasant
Copy link
Contributor

@sadasant sadasant commented Oct 2, 2020

The readme sample for the sign method of the CryptographyClient was using signData.

Fixes #11493

@zzhxiaofeng thank you!

Reviews appreciated.

The readme sample for the `sign` method of the CryptographyClient was using `signData`.

Fixes #11493

@zzhxiaofeng thank you!

Reviews appreciated.
@sadasant sadasant self-assigned this Oct 2, 2020
@ghost ghost added the KeyVault label Oct 2, 2020
@@ -641,7 +641,7 @@ async function main() {
let digest = hash.update(signatureValue).digest();
console.log("digest: ", digest);

const signResult = await cryptographyClient.signData("RS256", digest);
const signResult = await cryptographyClient.sign("RS256", digest);
Copy link
Contributor Author

@sadasant sadasant Oct 2, 2020

Choose a reason for hiding this comment

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

Copy link
Contributor Author

Choose a reason for hiding this comment

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

@sadasant sadasant merged commit c7f70e6 into master Oct 2, 2020
@sadasant sadasant deleted the keyvault-keys/fix11493 branch October 2, 2020 14:15
openapi-sdkautomation bot pushed a commit to AzureSDKAutomation/azure-sdk-for-js that referenced this pull request Nov 19, 2020
[ACR] SystemData and new readonly KeyVaultProperties (Azure#11601)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Azure Key Vault Keys Readme Issue
2 participants