Skip to content

Commit

Permalink
[key vault] doc changes (#13004)
Browse files Browse the repository at this point in the history
  • Loading branch information
iscai-msft authored Aug 10, 2020
1 parent dc8cb54 commit c78e49c
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 6 deletions.
2 changes: 1 addition & 1 deletion sdk/keyvault/azure-keyvault-keys/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -151,9 +151,9 @@ This section contains code snippets covering common tasks:
* [Update an existing Key](#update-an-existing-key "Update an existing Key")
* [Delete a Key](#delete-a-key "Delete a Key")
* [List Keys](#list-keys "List Keys")
* [Perform cryptographic operations](#cryptographic-operations)
* [Asynchronously create a Key](#asynchronously-create-a-key "Asynchronously create a Key")
* [Asynchronously list Keys](#asynchronously-list-keys "Asynchronously list Keys")
* [Perform cryptographic operations](#cryptographic-operations)
### Create a Key
[create_rsa_key](https://aka.ms/azsdk/python/keyvault-keys/docs#azure.keyvault.keys.KeyClient.create_rsa_key) and
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -393,8 +393,9 @@ def verify(self, algorithm, digest, signature, **kwargs):
:param algorithm: verification algorithm
:type algorithm: :class:`~azure.keyvault.keys.crypto.SignatureAlgorithm`
:param bytes digest:
:param bytes signature:
:param bytes digest: Pre-hashed digest corresponding to **signature**. The hash algorithm used must be
compatible with **algorithm**.
:param bytes signature: signature to verify
:rtype: :class:`~azure.keyvault.keys.crypto.VerifyResult`
Example:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -344,8 +344,9 @@ async def verify(
:param algorithm: verification algorithm
:type algorithm: :class:`~azure.keyvault.keys.crypto.SignatureAlgorithm`
:param bytes digest:
:param bytes signature:
:param bytes digest: Pre-hashed digest corresponding to **signature**. The hash algorithm used must be
compatible with **algorithm**.
:param bytes signature: signature to verify
:rtype: :class:`~azure.keyvault.keys.crypto.VerifyResult`
Example:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -224,7 +224,7 @@ async def backup_secret(self, name: str, **kwargs: "Any") -> bytes:
:class:`~azure.core.exceptions.ResourceNotFoundError` if the secret doesn't exist,
:class:`~azure.core.exceptions.HttpResponseError` for other errors
Example:
Example:
.. literalinclude:: ../tests/test_samples_secrets_async.py
:start-after: [START backup_secret]
:end-before: [END backup_secret]
Expand Down

0 comments on commit c78e49c

Please sign in to comment.