Skip to content

Commit

Permalink
AWS KMS TS Signer (MystenLabs#16139)
Browse files Browse the repository at this point in the history
## Description 

Describe the changes or additions included in this PR.

## Test Plan 

How did you test the new or updated feature?

---
If your changes are not user-facing and do not break anything, you can
skip the following section. Otherwise, please briefly describe what has
changed under the Release Notes section.

### Type of Change (Check all that apply)

- [ ] protocol change
- [ ] user-visible impact
- [ ] breaking change for a client SDKs
- [ ] breaking change for FNs (FN binary must upgrade)
- [ ] breaking change for validators or node operators (must upgrade
binaries)
- [ ] breaking change for on-chain data layout
- [ ] necessitate either a data wipe or data migration

### Release notes

---------

Co-authored-by: Manolis Liolios <[email protected]>
  • Loading branch information
jnaulty and manolisliolios authored Oct 31, 2024
1 parent f78c7b0 commit b3f3925
Show file tree
Hide file tree
Showing 17 changed files with 899 additions and 191 deletions.
5 changes: 5 additions & 0 deletions .changeset/fair-meals-burn.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@mysten/kms': patch
---

Introduces @mysten/kms which initially exposes a Sui AWS KMS signer
11 changes: 9 additions & 2 deletions .github/workflows/turborepo.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,13 +19,14 @@ jobs:
- name: Install Nodejs
uses: actions/setup-node@60edb5dd545a775178f52524783378180af0d1f8 # [email protected]
with:
node-version: '18'
node-version: '20'
- name: Run audit
run: pnpm audit --prod --audit-level high

build:
name: Lint, Build, and Test
runs-on: ubuntu-latest
environment: sui-typescript-aws-kms-test-env
steps:
- name: Checkout
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # Pin v4.1.1
Expand All @@ -37,7 +38,7 @@ jobs:
- name: Install Nodejs
uses: actions/setup-node@60edb5dd545a775178f52524783378180af0d1f8 # [email protected]
with:
node-version: '18'
node-version: '20'
cache: 'pnpm'
- name: Install dependencies
run: pnpm install --frozen-lockfile
Expand All @@ -60,6 +61,12 @@ jobs:
- name: Build
run: pnpm turbo build
- name: Test
env:
AWS_ACCESS_KEY_ID: ${{ secrets.AWS_KMS_TEST_KEY_ID}}
AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_KMS_TEST_SECRET_ACCESS_KEY }}
AWS_REGION: ${{ vars.AWS_KMS_AWS_REGION }}
AWS_KMS_KEY_ID: ${{ secrets.AWS_KMS_TEST_KMS_KEY_ID }}
E2E_AWS_KMS_TEST_ENABLE: "true"
run: pnpm turbo test

# Pack wallet extension and upload it as an artifact for easy developer use:
Expand Down
Loading

0 comments on commit b3f3925

Please sign in to comment.