Azure.Identity.ManagedIdentityCredential
Attempts authentication using a managed identity that has been assigned to the deployment environment. This authentication type works for all Azure-hosted
environments that support managed identity. For end-to-end guidance, see user-assigned managed identity
or system-assigned managed identity.
namespace Azure.Identity
{
public class ManagedIdentityCredential : TokenCredential
{
protected ManagedIdentityCredential();
public ManagedIdentityCredential(string clientId = null, TokenCredentialOptions options = null);
public ManagedIdentityCredential(ResourceIdentifier resourceId, TokenCredentialOptions options = null);
public ManagedIdentityCredential(ManagedIdentityId id);
public ManagedIdentityCredential(ManagedIdentityCredentialOptions options);
}
}