Hangfire.PostgreSql icon indicating copy to clipboard operation
Hangfire.PostgreSql copied to clipboard

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

Open alexmaie opened this issue 7 months ago • 3 comments

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

alexmaie avatar Apr 12 '25 16:04 alexmaie

Hi friends,

Any feedback on this PR :D ?

alexmaie avatar Apr 25 '25 08:04 alexmaie

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.

azygis avatar Apr 26 '25 07:04 azygis

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

alexmaie avatar Apr 26 '25 11:04 alexmaie

Hi friends, Wanted to circle back to this PR since it was created for some time now, and would like to merge it before I forget everything related to it :D

alexmaie avatar Sep 10 '25 12:09 alexmaie