Currently we handle responses from IMDS under certain conditions by throwing CredentialUnavailableException. The purpose of this exception is to indicate to chained credentials, such as DefaultAzureCredential, that the credential selection process should not terminate and continue attempting credentials along the chain.
Please validate in our managed identity probe request implementation that any request, either successful or unsuccessful, containing content other than valid json should result in throwing CredentialUnavailableException.
Currently we handle responses from IMDS under certain conditions by throwing
CredentialUnavailableException. The purpose of this exception is to indicate to chained credentials, such asDefaultAzureCredential, that the credential selection process should not terminate and continue attempting credentials along the chain.Please validate in our managed identity probe request implementation that any request, either successful or unsuccessful, containing content other than valid json should result in throwing
CredentialUnavailableException.