Easily leverage AWS Rest API calls with the Send HTTP request step using the AWS SigV4 Authorization type. You can securely and quickly integrate with AWS to easily automate all your AWS cloud needs with one step.
Save Access Keys in Torq's Custom Secrets
Get AWS Access Information
Root User: Create an access key from within the AWS root user.
AWS Management: Navigate to AWS Management Console > Security Credentials and click Access Keys.
Create Access Key: Click Create access key, review the security recommendations, and choose Create access key.
You can create two keys per user.
Retrieve Access Key: Navigate to the Retrieve Access Key page and click the newly created key.
Retrieve Secret: Under Secret access key, click Show and copy both the access key ID and secret key. Save them somewhere secure for later use in Torq.
Finalize: Click Done.
Securely Save the Access Information in Torq
Navigate to Integration: Go to Build > Integrations > Custom Secrets and click Add.
Create AWS Access Key ID Secret:
Add Another Secret: Click Add Instance again to add another secret.
Create AWS Secret Access Secret:
Under Secret Name, give the secret a meaningful name, such as
Secret Access AWS SigV4
.Under Secret Value, paste the secret access you copied earlier from AWS.
Click Add.
Authorize Calls with AWS SigV4
Drag & Drop: Drag and drop the Send HTTP request step into your workflow.
Fill in Parameters:
Paste the call request URL under URL.
Pick the appropriate call method.
Under Authorization, pick AWS SigV4.
Authorize:
Under AWS access key ID, navigate to
$.secrets
and pick the Access Key secret you created earlier.Under AWS secret access, navigate to
$.secrets
and pick the Secret Access secret you created earlier.Choose the AWS service you want to use from the dropdown menu or from the workflow context. The dropdown options include:
S3
EC2
Lambda
IAM
DynamoDB
GuardDuty
WAF
Choose the relevant AWS region from the dropdown menu or pass it through the workflow context.
Note that some regions require the region to be included in both the endpoint (URL) and the selection. Ex.
https://s3.amazonaws.com/
works if the region isus-east-1
but will fail if the region ismx-central-1
, unless the endpoint is updated to e.ghttps://s3.mx-central-1.amazonaws.com/
.
Execute: Click Execute to test the step, and then check the Execution Log to see if everything is running as expected.