File: .env.sample.managed_identity

package info (click to toggle)
microsoft-authentication-library-for-python 1.34.0-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 1,320 kB
  • sloc: python: 8,613; xml: 2,783; sh: 27; makefile: 19
file content (17 lines) | stat: -rw-r--r-- 709 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
# This sample can be configured to work with Microsoft Entra ID's Managed Identity.
#
# A user-assigned managed identity can be represented as a JSON blob.
# Check MSAL Python's API Reference for its syntax.
# https://msal-python.readthedocs.io/en/latest/#managed-identity
#
# Example value when using a user-assigned managed identity:
#       {"ManagedIdentityIdType": "ClientId", "Id": "your_managed_identity_id"}
# Leave it empty or absent if you are using a system-assigned managed identity.
MANAGED_IDENTITY=<managed_identity>

# Managed Identity works with resource, not scopes.
RESOURCE=<your resource>

# Required if the sample app wants to call an API.
#ENDPOINT=https://graph.microsoft.com/v1.0/me