hyperswitch icon indicating copy to clipboard operation
hyperswitch copied to clipboard

[REFACTOR] Enable runtime flag for `kms` feature

Open Chethan-rao opened this issue 1 year ago • 0 comments

Feature Description

Tracking issue for refactoring kms to include compile time + runtime time flag

Current implementation - We are building 2 docker images, one image contains all the release features including kms, s3, etc and other without these features which are getting pushed to the public docker hub. This was to ensure that anyone who wants to try out Hyperswitch locally by pulling the pre-built docker image, it shouldn't be a hassle for him/her to setup kms (add kms encrypted values in config). For this very reason we were pushing 2 docker images which was a temporary solution

Possible Implementation

Providing support for enabling or disabling kms feature in runtime so that we no longer have to build 2 images.

Tasks

  • [x] #3251
  • [ ] #4195
  • [x] #3535
  • [x] #3628
  • [x] #3302

Have you spent some time checking if this feature request has been raised before?

  • [X] I checked and didn't find a similar issue

Have you read the Contributing Guidelines?

Are you willing to submit a PR?

Yes, I am willing to submit a PR!

Chethan-rao avatar Jan 04 '24 20:01 Chethan-rao