Skip to content

Commit

Permalink
Update MI msg. (Azure#9958)
Browse files Browse the repository at this point in the history
  • Loading branch information
jongio authored Feb 21, 2020
1 parent 73ea633 commit 8eb5530
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions sdk/identity/Azure.Identity/src/ManagedIdentityClient.cs
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@ internal class ManagedIdentityClient
{
private const string AuthenticationResponseInvalidFormatError = "Invalid response, the authentication response was not in the expected format.";
private const string MsiEndpointInvalidUriError = "The environment variable MSI_ENDPOINT contains an invalid Uri.";
internal const string MsiUnavailableError = "ManagedIdentityCredential authentication unavailable, no managed identity endpoint found.";
internal const string IdentityUnavailableError = "ManagedIdentityCredential authentication unavailable, the requested identity has not been assigned to this resource.";
internal const string MsiUnavailableError = "ManagedIdentityCredential authentication unavailable. No Managed Identity endpoint found.";
internal const string IdentityUnavailableError = "ManagedIdentityCredential authentication unavailable. The requested identity has not been assigned to this resource.";

// IMDS constants. Docs for IMDS are available here https://docs.microsoft.com/en-us/azure/active-directory/managed-identities-azure-resources/how-to-use-vm-token#get-a-token-using-http
private static readonly Uri s_imdsEndpoint = new Uri("http://169.254.169.254/metadata/identity/oauth2/token");
Expand Down

0 comments on commit 8eb5530

Please sign in to comment.