juspay / juspay/hyperswitch

[REFACTOR] Enable runtime flag for `kms` feature

Open
#3,250 0 comments 0 reactions 1 assignee Claimed by @Chethan-rao View on GitHub
C-refactor
Dominant language
Rust
Stars
43.7k
Forks
5.1k
Avg merge
2d 20h
Merged PRs (30d)
205

Description

### 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
- [x] #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?

- [X] I have read the [Contributing Guidelines](https://github.com/juspay/hyperswitch/blob/main/docs/CONTRIBUTING.md)

### Are you willing to submit a PR?

Yes, I am willing to submit a PR!

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.