ManagedIdentityId Class

Definition

Class to store configuration for a managed identity enabled on a resource. For a system assigned managed identity use ManagedIdentityId.SystemAssigned. For user assigned managed identity use ManagedIdentityId.WithUserAssignedClientId("clientId") or ManagedIdentityId.WithUserAssignedResourceId("resourceId") or ManagedIdentityId.WithUserAssignedObjectId("objectid"). For more details see https://aka.ms/msal-net-managed-identity

public class ManagedIdentityId
type ManagedIdentityId = class
Public Class ManagedIdentityId
Inheritance
ManagedIdentityId

Properties

SystemAssigned

Create an instance of ManagedIdentityId for a system assigned managed identity.

Methods

WithUserAssignedClientId(String)

Create an instance of ManagedIdentityId for a user assigned managed identity from a client id.

WithUserAssignedObjectId(String)

Create an instance of ManagedIdentityId for a user assigned managed identity from an object id.

WithUserAssignedResourceId(String)

Create an instance of ManagedIdentityId for a user assigned managed identity from a resource id.

Applies to