Azure / Azure/azure-sdk-for-java

[FEATURE REQ] Add description of how to override the default TokenCredential bean

Open
#41,650 3 comments 0 reactions 1 assignee Claimed by @rujche View on GitHub
azure-spring azure-spring-docs Client needs-team-attention
Dominant language
Java
Stars
2.6k
Forks
2.2k
Avg merge
2d 8h
Merged PRs (30d)
178

Description

**Is your feature request related to a problem? Please describe.**
Transferred from https://github.com/microsoft/spring-cloud-azure/issues/989

In Spring Cloud Azure 4.x/5.x we provided a default `TokenCredential` bean named `AzureContextUtils.DEFAULT_TOKEN_CREDENTIAL_BEAN_NAME` and users could provide their own bean with this name to override the default one. We should mention it in our doc.

**Describe the solution you'd like**
Add a section in our refdoc on how to use it.

**Describe alternatives you've considered**
N/A

**Additional context**
N/A

**Information Checklist**

- [x] Description Added
- [x] Expected solution specified

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.