forked from across-protocol/relayer
-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add AWS KMS support #4
Merged
Merged
Conversation
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
ishantiw
force-pushed
the
2-add-aws-kms
branch
2 times, most recently
from
June 28, 2024 16:00
ead1231
to
ae63c68
Compare
shuse2
reviewed
Jul 1, 2024
shuse2
approved these changes
Jul 1, 2024
ishantiw
force-pushed
the
3-update-workflow
branch
from
July 2, 2024 12:43
66dc7ed
to
7ce3ece
Compare
Incede
approved these changes
Jul 2, 2024
ishantiw
added a commit
that referenced
this pull request
Jul 17, 2024
## Description - Add AWS KMS and AWS S3 dependency - Create AWS KMS util handling file retrieval from S3 and decrypting the content - Add related env variable - Update signer to also include key provided via AWS KMS ## How to test - Set env file following https://docs.across.to/relayers/running-a-relayer#configuration and then add 2 env var for AWS as below ```ts AWSKMS_CONFIG='{"mainnet":{"relayerKey": {"keyID": "","accessKeyId": "","secretAccessKey": "","region": ""}} }' AWS_S3_STORAGE_CONFIG='{"bucket": "<BUCKET_NAME>", "key": "ENCRYPTED_FILE_NAME}' ``` - `SEND_RELAYS=true yarn relay --wallet awskms --keys "relayerKey"`
ishantiw
added a commit
that referenced
this pull request
Jul 17, 2024
## Description - Add AWS KMS and AWS S3 dependency - Create AWS KMS util handling file retrieval from S3 and decrypting the content - Add related env variable - Update signer to also include key provided via AWS KMS ## How to test - Set env file following https://docs.across.to/relayers/running-a-relayer#configuration and then add 2 env var for AWS as below ```ts AWSKMS_CONFIG='{"mainnet":{"relayerKey": {"keyID": "","accessKeyId": "","secretAccessKey": "","region": ""}} }' AWS_S3_STORAGE_CONFIG='{"bucket": "<BUCKET_NAME>", "key": "ENCRYPTED_FILE_NAME}' ``` - `SEND_RELAYS=true yarn relay --wallet awskms --keys "relayerKey"`
ishantiw
added a commit
that referenced
this pull request
Aug 7, 2024
## Description - Add AWS KMS and AWS S3 dependency - Create AWS KMS util handling file retrieval from S3 and decrypting the content - Add related env variable - Update signer to also include key provided via AWS KMS ## How to test - Set env file following https://docs.across.to/relayers/running-a-relayer#configuration and then add 2 env var for AWS as below ```ts AWSKMS_CONFIG='{"mainnet":{"relayerKey": {"keyID": "","accessKeyId": "","secretAccessKey": "","region": ""}} }' AWS_S3_STORAGE_CONFIG='{"bucket": "<BUCKET_NAME>", "key": "ENCRYPTED_FILE_NAME}' ``` - `SEND_RELAYS=true yarn relay --wallet awskms --keys "relayerKey"`
ishantiw
added a commit
that referenced
this pull request
Aug 7, 2024
## Description - Add AWS KMS and AWS S3 dependency - Create AWS KMS util handling file retrieval from S3 and decrypting the content - Add related env variable - Update signer to also include key provided via AWS KMS ## How to test - Set env file following https://docs.across.to/relayers/running-a-relayer#configuration and then add 2 env var for AWS as below ```ts AWSKMS_CONFIG='{"mainnet":{"relayerKey": {"keyID": "","accessKeyId": "","secretAccessKey": "","region": ""}} }' AWS_S3_STORAGE_CONFIG='{"bucket": "<BUCKET_NAME>", "key": "ENCRYPTED_FILE_NAME}' ``` - `SEND_RELAYS=true yarn relay --wallet awskms --keys "relayerKey"`
sameersubudhi
pushed a commit
that referenced
this pull request
Sep 6, 2024
## Description - Add AWS KMS and AWS S3 dependency - Create AWS KMS util handling file retrieval from S3 and decrypting the content - Add related env variable - Update signer to also include key provided via AWS KMS ## How to test - Set env file following https://docs.across.to/relayers/running-a-relayer#configuration and then add 2 env var for AWS as below ```ts AWSKMS_CONFIG='{"mainnet":{"relayerKey": {"keyID": "","accessKeyId": "","secretAccessKey": "","region": ""}} }' AWS_S3_STORAGE_CONFIG='{"bucket": "<BUCKET_NAME>", "key": "ENCRYPTED_FILE_NAME}' ``` - `SEND_RELAYS=true yarn relay --wallet awskms --keys "relayerKey"`
sameersubudhi
pushed a commit
that referenced
this pull request
Sep 10, 2024
## Description - Add AWS KMS and AWS S3 dependency - Create AWS KMS util handling file retrieval from S3 and decrypting the content - Add related env variable - Update signer to also include key provided via AWS KMS ## How to test - Set env file following https://docs.across.to/relayers/running-a-relayer#configuration and then add 2 env var for AWS as below ```ts AWSKMS_CONFIG='{"mainnet":{"relayerKey": {"keyID": "","accessKeyId": "","secretAccessKey": "","region": ""}} }' AWS_S3_STORAGE_CONFIG='{"bucket": "<BUCKET_NAME>", "key": "ENCRYPTED_FILE_NAME}' ``` - `SEND_RELAYS=true yarn relay --wallet awskms --keys "relayerKey"`
sameersubudhi
pushed a commit
that referenced
this pull request
Sep 10, 2024
## Description - Add AWS KMS and AWS S3 dependency - Create AWS KMS util handling file retrieval from S3 and decrypting the content - Add related env variable - Update signer to also include key provided via AWS KMS ## How to test - Set env file following https://docs.across.to/relayers/running-a-relayer#configuration and then add 2 env var for AWS as below ```ts AWSKMS_CONFIG='{"mainnet":{"relayerKey": {"keyID": "","accessKeyId": "","secretAccessKey": "","region": ""}} }' AWS_S3_STORAGE_CONFIG='{"bucket": "<BUCKET_NAME>", "key": "ENCRYPTED_FILE_NAME}' ``` - `SEND_RELAYS=true yarn relay --wallet awskms --keys "relayerKey"`
sameersubudhi
pushed a commit
that referenced
this pull request
Sep 10, 2024
## Description - Add AWS KMS and AWS S3 dependency - Create AWS KMS util handling file retrieval from S3 and decrypting the content - Add related env variable - Update signer to also include key provided via AWS KMS ## How to test - Set env file following https://docs.across.to/relayers/running-a-relayer#configuration and then add 2 env var for AWS as below ```ts AWSKMS_CONFIG='{"mainnet":{"relayerKey": {"keyID": "","accessKeyId": "","secretAccessKey": "","region": ""}} }' AWS_S3_STORAGE_CONFIG='{"bucket": "<BUCKET_NAME>", "key": "ENCRYPTED_FILE_NAME}' ``` - `SEND_RELAYS=true yarn relay --wallet awskms --keys "relayerKey"`
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Description
Resolves #2
How to test
SEND_RELAYS=true yarn relay --wallet awskms --keys "relayerKey"