credential scopes discussion
See original GitHub issueAll languages should be able to support a list of credential scopes (with flag --credential-scopes
), so users won’t have to pass credential scopes themselves. Agree with @lmazuel that in ARM mode, we should default the credential scope to https://management.azure.com/.default
, since that’s always the case for ARM mode.
Issue Analytics
- State:
- Created 3 years ago
- Reactions:1
- Comments:6 (6 by maintainers)
Top Results From Across the Web
Does 'scope:' do anything when using Client Credentials?
In the following code snippet, scope: does not seem to do anything. I have functions for getting the configuration of my tenant, applications, ......
Read more >What Are Scopes and How Do They Relate to Claims? | Curity
In this article we take a closer look at scopes and discuss how to handle them properly. What are Scopes? A scope is...
Read more >Need of scope in OAuth Client Credentials Flow
In case a client is requesting the access token for just a specific use case for which only a subset of scopes is...
Read more >Scope of credential store since version 0.10.x - Boundary
Migrations during upgrade to version 0.10.x remove associations between targets and credential libraries that are not in the same project scope.
Read more >How to use the SCOPE DISCUSSION FORUM - Global Site
Log into SCOPE DISCUSSION FORUM · Use the login button at the top-right hand side of the screen · Log in with your...
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
yep! currently some languages are doing this themselves, go into it a little bit in the
credential-scopes
section of flag docs. Since there’s this different behavoir and we want unified, would be nice for autorest core to handle it.side note: if users input
--azure-arm --credential-scopes=myscopes
, we should respect their inputted credential scopes and not override tohttps://management.azure.com/.default
.@jianghaolu didn’t think about having a parameterized credential scope. I like the idea of adding
/.default
to the end of credential scopes and warning users this is what we’re doing. It seems like a good default 😉