Skip to content

#397 - Add support for Azure Postgresql Server with Managed Identities #399

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

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

alexmaie
Copy link

In Azure we have the concept of managed identities which allows identities to connect without a password. This is handled by requesting a token from azure for a specific resource. An identity can be an azure resource ( VM, app service, etc ) or a user.

Work:

  • created a new assembly in order to isolate the nuget requirements for Azure Tokens: Hangfire.PostgreSql.Azure
  • implemented a factory so that users can easily plugin and override settings
  • introduced Hangfire.PostgreSql.Azure.Tests for the new assembly. Added a test to make sure that we can connect to a database by using the setup
  • updated readme

* created a new assembly in order to isolate the requirements for Azure Tokens: Hangfire.PostgreSql.Azure
* implemented a factory so that users can easily plugin
* introduced Hangfire.PostgreSql.Azure.Tests for the new assembly tests
* updated readme
@alexmaie
Copy link
Author

Hi friends,

Any feedback on this PR :D ?

@azygis
Copy link
Collaborator

azygis commented Apr 26, 2025

Hey, this will have to wait, but feel free to just use what you have. I'm currently in the process of major refactoring and will release v2. This package will probably go out together with it.

In terms of feedback, brief look doesn't raise any pain points. Good work. Will need to check the branch out when it's time and see how it behaves. Not sure how the versioning should work when it's kinda same nuget push. Will have to think about it.

@alexmaie
Copy link
Author

Hi @azygis

thanks for the reply. I understand that this topic does not have a high priority right now. I just wanted to get some feedback sooner then later why I have everything fresh in my head in case some changes are needed.

If it's the same nuget push for versioning, I would suggest to keep the versions in sync between them, similar to Hangfire.Core and Hangfire.SqlServer

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants