AWS_ACCESS_KEY_ID and AWS_SECRET_ACCESS_KEY in the Validator’s environment. These steps also apply when you use Google Cloud KMS for checkpoint signing. Create an IAM user
Create an S3 bucket
- Go to AWS’s S3 in the AWS console.
- On the right, click the orange “Create Bucket” button
-
Pick an informative bucket name, such as
hyperlane-validator-signatures-${validator_name}-${chain_name} - Choose a region and use that region in the checkpoint syncer settings.
- Keep the recommended “ACLs disabled” setting for object ownership.
-
Configure public access settings so that the relayer can read your signatures
- Uncheck “Block all public access”
- Check the first two options that block access via access control lists
- Leave the last two options unchecked, we will be granting public read access via a bucket policy
- Acknowledge that these settings may result in public access to your bucket
- The remaining default settings are fine, click the orange “Create bucket” button on the bottom
Configure S3 bucket permissions
Grant the Validator’s IAM role or user write access. Relayers read signed checkpoints without AWS credentials.- In IAM, copy the ARN of the role or user that runs the Validator.
- In the S3 bucket’s Permissions tab, edit the Bucket policy.
- Paste the policy below and replace
${BUCKET_ARN}and${VALIDATOR_IAM_ARN}with your own ARNs.