You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[Identity] Update README regarding user-assigned MI (#37595)
Examples were added to demonstrate how to authenticate with a
user-assigned managed identity using and object ID and resource ID.
Signed-off-by: Paul Van Eck <[email protected]>
These examples demonstrate authenticating `SecretClient` from the [`azure-keyvault-secrets`](https://github.com/Azure/azure-sdk-for-python/tree/main/sdk/keyvault/azure-keyvault-secrets) library with `ManagedIdentityCredential`.
166
+
167
+
165
168
#### Authenticate with a user-assigned managed identity
166
169
170
+
To authenticate with a user-assigned managed identity, you must specify one of the following IDs for the managed identity.
171
+
172
+
##### Client ID
173
+
174
+
```python
175
+
from azure.identity import ManagedIdentityCredential
0 commit comments