azure.identity.DefaultAzureCredential.get_token docs do not explain scopes arg.
See original GitHub issueWhat are scopes
?
azure.identity.DefaultAzureCredential
and other Credential classes have the method get_token
with the arguments scopes
and tenant_id
, both of type str. It is not precisely explained what these arguments are or how they may be obtained.
It would be valuable to have a precise description here in the documentation or an example.
Document Details
⚠ Do not edit this section. It is required for learn.microsoft.com ➟ GitHub issue linking.
- ID: ca1bf974-4052-598a-7197-f052ee3985ed
- Version Independent ID: 948fc19f-f68d-258d-53b1-390cb34969f8
- Content: azure.identity.DefaultAzureCredential class
- Content Source: docs-ref-autogen/azure-identity/azure.identity.DefaultAzureCredential.yml
- GitHub Login: @lmazuel
- Microsoft Alias: lmazuel
Issue Analytics
- State:
- Created 10 months ago
- Comments:7 (2 by maintainers)
Top Results From Across the Web
DefaultAzureCredential fails when multiple accounts ... - GitHub
Describe the bug I am using v1.0 of Azure.Identity on both .NET Framework and .NET Core and am attempting to connect to a...
Read more >azure.identity.DefaultAzureCredential class - Microsoft Learn
A default credential capable of handling most Azure SDK authentication scenarios. The identity it uses depends on the environment. When an access token...
Read more >Azure Identity client library for .NET - Microsoft Learn
The Azure Identity library provides Azure Active Directory (Azure AD) token authentication support across the Azure SDK.
Read more >DefaultAzureCredential Class (Azure.Identity) - Microsoft Learn
Blobs client library using the DefaultAzureCredential, deployed to an Azure resource with a user assigned managed identity configured.
Read more >Azure Identity client library for JavaScript | Microsoft Learn
Note: DefaultAzureCredential is intended to simplify getting started with the SDK by handling common scenarios with reasonable default behaviors ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Can you include the link you just sent to the scopes section in the documentation at least?
Hi @mhangaard, since you haven’t asked that we “
/unresolve
” the issue, we’ll close this out. If you believe further discussion is needed, please add a comment “/unresolve
” to reopen the issue.