Skip to content

Commit 469bfb4

Browse files
authored
[Identity] - Remove await from README (Azure#14651)
This small PR just removes an `await` call that doesn't make sense outside of async functions. Using a client is also not necessary to demonstrate how to create one. Resolves Azure#14002
1 parent 8d8353d commit 469bfb4

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

sdk/identity/identity/README.md

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -139,9 +139,6 @@ const credential = new DefaultAzureCredential();
139139

140140
// Create authenticated client
141141
const client = new KeyClient(vaultUrl, credential);
142-
143-
// Use service from authenticated client
144-
const getResult = await client.getKey("MyKeyName");
145142
```
146143

147144
### Specifying a user assigned managed identity with the `DefaultAzureCredential`

0 commit comments

Comments
 (0)