Skip to content
Vegha Docs

AWS SigV4

AWS APIs require requests to be signed with Signature Version 4 (SigV4). Vegha computes the signature for you when you select AWS SigV4 in the Authorization tab.

FieldDescription
Access Key IDYour AWS access key identifier
Secret Access KeyThe secret paired with the access key
Session TokenOptional — required only for temporary (STS) credentials
RegionThe AWS region of the service, for example us-east-1
ServiceThe AWS service name, for example s3 or execute-api

Vegha uses these values to derive a signing key and add the Authorization header (plus the required X-Amz-* headers) at send time.

The region and service must match the endpoint you are calling. For Amazon API Gateway the service is execute-api; for Amazon S3 it is s3. Using the wrong region or service produces a signature-mismatch error from AWS.

If you are using temporary credentials from AWS STS — for example from an assumed role — supply the Session Token field as well as the access key and secret. Leave it blank for long-lived IAM user keys.

All fields accept {{variable}} interpolation, so you can keep credentials in an environment and switch them per account:

Access Key ID: {{aws_access_key_id}}
Secret Access Key: {{aws_secret_access_key}}
Region: {{aws_region}}
Service: execute-api

For the secret access key, prefer a secret:// reference so the real value is resolved at send time and never written to your .bru files:

Secret Access Key: secret://aws-secrets-manager/dev/api#aws-secret

See Secret variables and the Secret managers overview.