MicrosoftDocs / azure-docs-sdk-python

Azure Python SDK documentation, hosted on docs.microsoft.com.

Home Page:https://docs.microsoft.com/python/api

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Credentials objects are imported from azure.common.credentials but doc'd under msrestazure

kraigb opened this issue · comments

(From MicrosoftDocs/azure-dev-docs#97)

In code (for example, what's shown on the SDK authentication page, and what's in the SDK test code), one uses statements like the following to import Credentials classes from azure.common.credentials:

from azure.common.credentials import ServicePrincipalCredentials

However, ServicePrincipalCredentials and other credentials classes don't appear in the documentation for azure.common.credentials. Instead, they're documented only under msrestazure.azure_active_directory.

It seems like these classes should appear in the reference under azure.common.credentials because that's there people will look for them based on the code.

We're now documenting authentication with azure-identity