Configure your signing key and S3 bucket
These instructions are for a production environment where validator keys exist in AWS's Key Management Service and validator signatures are posted publicly in an S3 bucket.
If you're only intending to run a validator for testing or development purposes, consider the Local setup instead.
Follow the instructions for AWS KMS keys to generate an AWS IAM user and KMS key. You will use this user and key in the following steps.
Your validator will post their signatures to this bucket.
- 1.Go to AWS's S3 in the AWS console.
- 2.On the right, click the orange "Create Bucket" button
- 3.Pick an informative bucket name, such as
- 4.Consider choosing the same region as the KMS key you created in the previous step.
- 5.Keep the recommended "ACLs disabled" setting for object ownership.
- 6.Configure public access settings so that relayers can read your signatures
- 1.Uncheck "Block all public access"
- 2.Check the first two options that block access via access control lists
- 3.Leave the last two options unchecked, we will be granting public read access via a bucket policy
- 4.Acknowledge that these settings may result in public access to your bucket
- 7.The remaining default settings are fine, click the orange "Create bucket" button on the bottom
Your validator IAM user will need write permissions, and it should be publicly readable by relayers.
- 1.Navigate back to "Identity and Access Management (IAM)" in the AWS console
- 2.Under "IAM resources" you should see at least one "User", click into that
- 3.Click on the name of the user that you provisioned earlier (e.g.
- 4.Copy the "User ARN" to your clipboard, it should look something like
- 5.Navigate back to "S3" in the AWS console
- 6.Click on the name of the bucket you just created
- 7.Just under the name of the bucket, click "Permissions"
- 8.Scroll down to "Bucket policy" and click "Edit"
- 9.Enter the following contents. The Bucket ARN is shown just above where you enter the policy