Skip to content

Commit 5926b11

Browse files
committed
Managed Identity implementation
Fix docs Adjusting error message and docs Fix typo
1 parent 52b1fc5 commit 5926b11

File tree

6 files changed

+761
-0
lines changed

6 files changed

+761
-0
lines changed

docs/index.rst

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -168,3 +168,23 @@ You may want to catch them to provide a better error message to your end users.
168168

169169
.. autoclass:: msal.IdTokenError
170170

171+
172+
Managed Identity
173+
================
174+
MSAL supports
175+
`Managed Identity <https://learn.microsoft.com/en-us/azure/active-directory/managed-identities-azure-resources/overview>`_.
176+
177+
You can create one of these two kinds of managed identity configuration objects:
178+
179+
.. autoclass:: msal.SystemAssignedManagedIdentity
180+
:members:
181+
182+
.. autoclass:: msal.UserAssignedManagedIdentity
183+
:members:
184+
185+
And then feed the configuration object into a :class:`ManagedIdentityClient` object.
186+
187+
.. autoclass:: msal.ManagedIdentityClient
188+
:members:
189+
190+
.. automethod:: __init__

msal/__init__.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,3 +34,8 @@
3434
from .oauth2cli.oidc import Prompt, IdTokenError
3535
from .token_cache import TokenCache, SerializableTokenCache
3636
from .auth_scheme import PopAuthScheme
37+
from .managed_identity import (
38+
SystemAssignedManagedIdentity, UserAssignedManagedIdentity,
39+
ManagedIdentityClient,
40+
)
41+

0 commit comments

Comments
 (0)