简体   繁体   中英

Generating AWS signature in Groovy for soapUI

I am new to groovy scripting and I have to test AWS Rest API for which Authorization (consist of access_key and signature) is required. Request if anyone have working code available. It is PUT call on AWS S3.

I have tried searching and unable to find the same.

If you can afford it, the latest versions of soapUI Pro have AWS signing built it.

Otherwise, you'll have to write your own following the steps at Examples: Signature Calculations in AWS Signature Version 4 . There's an example at Signature4 signing for elastic search in aws in Java, but it's easy enough to call from Groovy.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM