Skip to content

entraid: add support for azure identity #2901

New issue

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

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

Already on GitHub? # to your account

Merged
merged 1 commit into from
Mar 5, 2025

Conversation

bobymicroby
Copy link
Member

@bobymicroby bobymicroby commented Feb 21, 2025

This PR adds support for using Azure Identity's credential classes with Redis Enterprise Entra ID authentication.
The main changes include:

  • Add a new factory method createForDefaultAzureCredential to enable using Azure Identity credentials
  • Add @azure/identity as a dependency to support the new authentication flow
  • Add support for DefaultAzureCredential, EnvironmentCredential, and any other TokenCredential implementation
  • Create a new AzureIdentityProvider to support DefaultAzureCredential
  • Update documentation and README with usage examples for DefaultAzureCredential
  • Add integration tests for the new authentication methods
  • Include a sample application demonstrating interactive browser authentication
  • Export constants for Redis scopes / credential mappers to simplify authentication configuration

@bobymicroby bobymicroby changed the title entraid: add support for azure identity [wip] entraid: add support for azure identity Feb 21, 2025
@bobymicroby bobymicroby force-pushed the default-azure-credential branch 4 times, most recently from 3ac99d5 to 2febd9d Compare March 4, 2025 09:36
This PR adds support for using Azure Identity's credential classes with Redis Enterprise Entra ID authentication.
The main changes include:

- Add a new factory method createForDefaultAzureCredential to enable using Azure Identity credentials
- Add @azure/identity as a dependency to support the new authentication flow
- Add support for DefaultAzureCredential, EnvironmentCredential, and any other TokenCredential implementation
- Create a new AzureIdentityProvider to support DefaultAzureCredential
- Update documentation and README with usage examples for DefaultAzureCredential
- Add integration tests for the new authentication methods
- Include a sample application demonstrating interactive browser authentication
- Export constants for Redis scopes / credential mappers to simplify authentication configuration
@bobymicroby bobymicroby force-pushed the default-azure-credential branch from 2febd9d to e00efe5 Compare March 4, 2025 09:39
@bobymicroby bobymicroby changed the title [wip] entraid: add support for azure identity entraid: add support for azure identity Mar 4, 2025
@bobymicroby bobymicroby requested a review from htemelski March 4, 2025 09:43
@bobymicroby bobymicroby merged commit 8b4ed00 into redis:master Mar 5, 2025
11 checks passed
florian-schunk pushed a commit to florian-schunk/node-redis that referenced this pull request Jun 18, 2025
This PR adds support for using Azure Identity's credential classes with Redis Enterprise Entra ID authentication.
The main changes include:

- Add a new factory method createForDefaultAzureCredential to enable using Azure Identity credentials
- Add @azure/identity as a dependency to support the new authentication flow
- Add support for DefaultAzureCredential, EnvironmentCredential, and any other TokenCredential implementation
- Create a new AzureIdentityProvider to support DefaultAzureCredential
- Update documentation and README with usage examples for DefaultAzureCredential
- Add integration tests for the new authentication methods
- Include a sample application demonstrating interactive browser authentication
- Export constants for Redis scopes / credential mappers to simplify authentication configuration
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants