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
App service provides two environment variables its instance for fetching access tokens:
IDENTITY_HEADER - authentication code representing the service on the current node
IDENTITY_ENDPOINT - local endpoint corresponding to service's managed identity
These two can then be used to fetch an access token. Note that this is particular to App service and will not work for standalone VM instances. At the moment withManagedIdentity will throw an error if you try fetching access token in an app service.
App service provides two environment variables its instance for fetching access tokens:
IDENTITY_HEADER
- authentication code representing the service on the current nodeIDENTITY_ENDPOINT
- local endpoint corresponding to service's managed identityThese two can then be used to fetch an access token. Note that this is particular to App service and will not work for standalone VM instances. At the moment
withManagedIdentity
will throw an error if you try fetching access token in an app service.For more, see https://learn.microsoft.com/en-us/azure/service-fabric/how-to-managed-identity-service-fabric-app-code#acquiring-an-access-token-using-rest-api
The text was updated successfully, but these errors were encountered: