Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Nickel Community Feature Requests related to StaticTokenCredential / token helper methods #15803

Closed
7 tasks done
joshfree opened this issue Jun 17, 2021 · 13 comments · Fixed by #17734
Closed
7 tasks done
Assignees
Labels
Azure.Identity Client This issue points to a problem in the data-plane of the library. feature-request This issue requires a new behavior in the product in order be resolved.

Comments

@joshfree
Copy link
Member

joshfree commented Jun 17, 2021

Tracking Item to review the top customer-requested enhancements from the previous semester. We will prioritize this list and fit in as many as possible in the final coding milestone of this semester (After all must-have features are completed first). See @g2vinay and @jongio

Ex unordered short list:

@sadasant
Copy link
Contributor

This is already supported Request: provide the functionality of setting tenant id for AzureCliCredential: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/identity/identity/src/credentials/azureCliCredential.ts#L93

ghost pushed a commit that referenced this issue Aug 6, 2021
…#16683)

`ChainedTokenCredential` and `DefaultAzureCredential` now expose a property named `selectedCredential`, which will store the selected credential once any of the available credentials succeeds.

Related to #15803
@sadasant
Copy link
Contributor

Regarding: Expose Credential type for DefaultAzureCredential and ChainedTokenCredential,

We merged this: #16683

However, the customer that wanted this feature was ok with logging, so we’ll revert this PR.

@sadasant
Copy link
Contributor

@g2vinay is this issue up to date? I don’t think every item here is still in the plans. I could be wrong!

@sadasant
Copy link
Contributor

@g2vinay we didn’t talk about these during our meeting yesterday:

  • Request: Add support for fetching an access token from a refresh token
  • Request: provide the functionality of building a token credential from (a: existing credential, b: tenant id) for refresh token based credentials: InteractiveBrowserCredential and DeviceCodeCredential, VisualStudioCodeCredential (request)
  • Request: provide a valid token in VisualStudioCodeCredentialBuilder without tenant id, use this token we can list the tenants (request)
  • Request: provide the functionality of listing cached account(azure environment, tenant id, user name, client id) for SharedTokenCacheCredential (request)

Are these out of our current schedule?

@joshfree
Copy link
Member Author

@g2vinay can you please update (Edit the text) this tracking issue to reflect the actual approved list of improvements we're tracking for this release month

@sadasant
Copy link
Contributor

For context, I met with @g2vinay on Friday to discuss the community tasks scoped for JS’s GA and he created the following issues: https://github.com/Azure/azure-sdk-for-js/issues?q=is%3Aopen+is%3Aissue+assignee%3Asadasant+milestone%3A%22%5B2021%5D+September%22+author%3Ag2vinay

I’ve added them to the current milestone since we have answers for them.

If I’m missing anything, I’ll follow up during next milestone.

@sadasant
Copy link
Contributor

sadasant commented Sep 2, 2021

The only remaining issue in this milestone from the list at the top is: #8436

All of the others have been moved to the next milestone by this point.

@sadasant
Copy link
Contributor

sadasant commented Sep 7, 2021

Moved to October for the last two issues remaining on this list.

@joshfree
Copy link
Member Author

** Improve Azure Identity SDK Error Messages and logging details Improve The Azure Identity Error messages and logging details #17337
** Add Support for Client Id Env Var support in Managed Identity Credential. [FEATURE REQ] Add support for AZURE_CLIENT_ID environment variable to ManagedIdentityCredential #8436

@sadasant / @KarishmaGhiya can you give an update on the last 2 open items?

@sadasant
Copy link
Contributor

@joshfree yes!

  1. Karishma will be working on improving the error messages. First, she’ll write the troubleshooting guide similar to Java’s proposal. Then, she’ll copy Java’s approach on error handling, the one that includes a link to the troubleshooting guide.
  2. There are still emails back and forward regarding what name is correct for this env variable, so I’m waiting on those emails to reach to a conclusion before we add this feature.

@sadasant
Copy link
Contributor

I’ve marked the AZURE_CLIENT_ID change as done since, based on our emails, we’ve decided not to include this change.

@joshfree
Copy link
Member Author

Can this issue be closed out now?

@sadasant
Copy link
Contributor

@joshfree not yet, this PR is still open: #17734

@github-actions github-actions bot locked and limited conversation to collaborators Apr 11, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Azure.Identity Client This issue points to a problem in the data-plane of the library. feature-request This issue requires a new behavior in the product in order be resolved.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants