-
Notifications
You must be signed in to change notification settings - Fork 83
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: migrate aws kms flow to v5 (#626)
* feat: migrate aws kms flow to v5 * chore: revert hardcoded test backend wallet address * Shared signature logic + move function defintions inside body * remove twAddress override * feat: GCP KMS + refactor - use multiple wallet types simultaneously - resourcePath or ARN is source of truth: treat config AWS/GCP details as "default" - credentials override * add unit tests for kms accounts with prool * fix .env file ordering for tests * bugfix: split awn arn correctly * ignore engines globally (temp fix) * fix yarnrc * Address CR Comments * tests for AWS ARN and GCP KMS * always store kms credentials in WalletDetails * modify healthCheck function to include HETEROGENEOUS_WALLET_TYPES feature * remove bad comment * refactor invalid check --------- Signed-off-by: Prithvish Baidya <[email protected]>
- Loading branch information
Showing
42 changed files
with
2,988 additions
and
500 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
--ignore-engines true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
5 changes: 5 additions & 0 deletions
5
src/prisma/migrations/20241003051028_wallet_details_credentials/migration.sql
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
-- AlterTable | ||
ALTER TABLE "wallet_details" ADD COLUMN "awsKmsAccessKeyId" TEXT, | ||
ADD COLUMN "awsKmsSecretAccessKey" TEXT, | ||
ADD COLUMN "gcpApplicationCredentialEmail" TEXT, | ||
ADD COLUMN "gcpApplicationCredentialPrivateKey" TEXT; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.