@@ -47,7 +47,7 @@ class KeyClient(KeyVaultClientBase):
4747 @distributed_trace
4848 def create_key (self , name , key_type , ** kwargs ):
4949 # type: (str, Union[str, azure.keyvault.keys.KeyType], **Any) -> KeyVaultKey
50- """Create a key or, if `name` is already in use, create a new version of the key.
50+ """Create a key or, if `` name` ` is already in use, create a new version of the key.
5151
5252 Requires keys/create permission.
5353
@@ -109,7 +109,7 @@ def create_key(self, name, key_type, **kwargs):
109109 @distributed_trace
110110 def create_rsa_key (self , name , ** kwargs ):
111111 # type: (str, **Any) -> KeyVaultKey
112- """Create a new RSA key or, if `name` is already in use, create a new version of the key
112+ """Create a new RSA key or, if `` name` ` is already in use, create a new version of the key
113113
114114 Requires the keys/create permission.
115115
@@ -143,7 +143,7 @@ def create_rsa_key(self, name, **kwargs):
143143 @distributed_trace
144144 def create_ec_key (self , name , ** kwargs ):
145145 # type: (str, **Any) -> KeyVaultKey
146- """Create a new elliptic curve key or, if `name` is already in use, create a new version of the key.
146+ """Create a new elliptic curve key or, if `` name` ` is already in use, create a new version of the key.
147147
148148 Requires the keys/create permission.
149149
@@ -177,7 +177,7 @@ def create_ec_key(self, name, **kwargs):
177177 @distributed_trace
178178 def create_oct_key (self , name , ** kwargs ):
179179 # type: (str, **Any) -> KeyVaultKey
180- """Create a new octet sequence (symmetric) key or, if `name` is already in use, create a new version of the key.
180+ """Create a new octet sequence (symmetric) key or, if `` name`` is in use, create a new version of the key.
181181
182182 Requires the keys/create permission.
183183
@@ -210,10 +210,11 @@ def create_oct_key(self, name, **kwargs):
210210 @distributed_trace
211211 def begin_delete_key (self , name , ** kwargs ):
212212 # type: (str, **Any) -> DeletedKey
213- """Delete all versions of a key and its cryptographic material. Requires keys/delete permission.
213+ """Delete all versions of a key and its cryptographic material.
214214
215- When this method returns Key Vault has begun deleting the key. Deletion may take several seconds in a vault
216- with soft-delete enabled. This method therefore returns a poller enabling you to wait for deletion to complete.
215+ Requires keys/delete permission. When this method returns Key Vault has begun deleting the key. Deletion may
216+ take several seconds in a vault with soft-delete enabled. This method therefore returns a poller enabling you to
217+ wait for deletion to complete.
217218
218219 :param str name: The name of the key to delete.
219220 :returns: A poller for the delete key operation. The poller's `result` method returns the
@@ -254,7 +255,9 @@ def begin_delete_key(self, name, **kwargs):
254255 @distributed_trace
255256 def get_key (self , name , version = None , ** kwargs ):
256257 # type: (str, Optional[str], **Any) -> KeyVaultKey
257- """Get a key's attributes and, if it's an asymmetric key, its public material. Requires keys/get permission.
258+ """Get a key's attributes and, if it's an asymmetric key, its public material.
259+
260+ Requires keys/get permission.
258261
259262 :param str name: The name of the key to get.
260263 :param str version: (optional) A specific version of the key to get. If not specified, gets the latest version
@@ -278,7 +281,9 @@ def get_key(self, name, version=None, **kwargs):
278281 @distributed_trace
279282 def get_deleted_key (self , name , ** kwargs ):
280283 # type: (str, **Any) -> DeletedKey
281- """Get a deleted key. Possible only in a vault with soft-delete enabled. Requires keys/get permission.
284+ """Get a deleted key. Possible only in a vault with soft-delete enabled.
285+
286+ Requires keys/get permission.
282287
283288 :param str name: The name of the key
284289 :returns: The deleted key
@@ -327,7 +332,9 @@ def list_deleted_keys(self, **kwargs):
327332 @distributed_trace
328333 def list_properties_of_keys (self , ** kwargs ):
329334 # type: (**Any) -> ItemPaged[KeyProperties]
330- """List identifiers and properties of all keys in the vault. Requires keys/list permission.
335+ """List identifiers and properties of all keys in the vault.
336+
337+ Requires keys/list permission.
331338
332339 :returns: An iterator of keys without their cryptographic material or version information
333340 :rtype: ~azure.core.paging.ItemPaged[~azure.keyvault.keys.KeyProperties]
@@ -351,7 +358,9 @@ def list_properties_of_keys(self, **kwargs):
351358 @distributed_trace
352359 def list_properties_of_key_versions (self , name , ** kwargs ):
353360 # type: (str, **Any) -> ItemPaged[KeyProperties]
354- """List the identifiers and properties of a key's versions. Requires keys/list permission.
361+ """List the identifiers and properties of a key's versions.
362+
363+ Requires keys/list permission.
355364
356365 :param str name: The name of the key
357366 :returns: An iterator of keys without their cryptographic material
@@ -385,7 +394,6 @@ def purge_deleted_key(self, name, **kwargs):
385394 This method is only necessary for purging a key before its
386395 :py:attr:`~azure.keyvault.keys.DeletedKey.scheduled_purge_date`.
387396
388-
389397 Requires keys/purge permission.
390398
391399 :param str name: The name of the deleted key to purge
@@ -448,7 +456,9 @@ def begin_recover_deleted_key(self, name, **kwargs):
448456 @distributed_trace
449457 def update_key_properties (self , name , version = None , ** kwargs ):
450458 # type: (str, Optional[str], **Any) -> KeyVaultKey
451- """Change a key's properties (not its cryptographic material). Requires keys/update permission.
459+ """Change a key's properties (not its cryptographic material).
460+
461+ Requires keys/update permission.
452462
453463 :param str name: The name of key to update
454464 :param str version: (optional) The version of the key to update. If unspecified, the latest version is updated.
@@ -500,7 +510,9 @@ def update_key_properties(self, name, version=None, **kwargs):
500510 @distributed_trace
501511 def backup_key (self , name , ** kwargs ):
502512 # type: (str, **Any) -> bytes
503- """Back up a key in a protected form useable only by Azure Key Vault. Requires keys/backup permission.
513+ """Back up a key in a protected form useable only by Azure Key Vault.
514+
515+ Requires keys/backup permission.
504516
505517 This is intended to allow copying a key from one vault to another. Both vaults must be owned by the same Azure
506518 subscription. Also, backup / restore cannot be performed across geopolitical boundaries. For example, a backup
@@ -526,7 +538,9 @@ def backup_key(self, name, **kwargs):
526538 @distributed_trace
527539 def restore_key_backup (self , backup , ** kwargs ):
528540 # type: (bytes, **Any) -> KeyVaultKey
529- """Restore a key backup to the vault. Requires keys/restore permission.
541+ """Restore a key backup to the vault.
542+
543+ Requires keys/restore permission.
530544
531545 This imports all versions of the key, with its name, attributes, and access control policies. If the key's name
532546 is already in use, restoring it will fail. Also, the target vault must be owned by the same Microsoft Azure
@@ -558,9 +572,9 @@ def restore_key_backup(self, backup, **kwargs):
558572 @distributed_trace
559573 def import_key (self , name , key , ** kwargs ):
560574 # type: (str, JsonWebKey, **Any) -> KeyVaultKey
561- """Import a key created externally. Requires keys/import permission.
575+ """Import a key created externally.
562576
563- If `name` is already in use, the key will be imported as a new version.
577+ Requires keys/import permission. If `` name` ` is already in use, the key will be imported as a new version.
564578
565579 :param str name: Name for the imported key
566580 :param key: The JSON web key to import
0 commit comments