Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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 @@ -117,7 +117,6 @@ print(ec_key.key_material.kty)
key = key_client.get_key("key-name")

print(key.name)
print(key.value)
```

### Update an existing Key
Expand Down Expand Up @@ -217,6 +216,7 @@ Key Vault clients raise exceptions defined in azure-core. For more detailed infr

For example, if you try to retrieve a key after it is deleted a `404` error is returned, indicating resource not found. In the following snippet, the error is handled gracefully by catching the exception and displaying additional information about the error.
```python
from azure.core.exceptions import ResourceNotFoundError
try:
key_client.get_key("deleted_key")
except ResourceNotFoundError as e:
Expand Down
1 change: 1 addition & 0 deletions sdk/keyvault/azure-keyvault-secrets/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -199,6 +199,7 @@ Key Vault clients raise exceptions defined in azure-core. For more detailed infr

For example, if you try to retrieve a secret after it is deleted a `404` error is returned, indicating resource not found. In the following snippet, the error is handled gracefully by catching the exception and displaying additional information about the error.
```python
from azure.core.exceptions import ResourceNotFoundError
try:
secret_client.get_secret("deleted_secret")
except ResourceNotFoundError as e:
Expand Down