# Accessing AWT Signature authentication via pm.sendRequest

**URL:** <https://community.postman.com/t/accessing-awt-signature-authentication-via-pm-sendrequest/63944>\
**Category:** Help Hub\
**Tags:** authentication\
**Created:** [July 10, 2024, 8:30pm UTC](https://community.postman.com/t/accessing-awt-signature-authentication-via-pm-sendrequest/63944 "2024-07-10T20:30:17Z")\
**Posts on this page:** 1\
**Showing post:** 7

<div class="post-metadata">

**Author:** ![navigation-particip2](https://avatars.discourse-cdn.com/v4/letter/n/8e7dd6/32.png) [@navigation-particip2](https://community.postman.com/u/navigation-particip2)\
**Post date:** [July 15, 2024, 7:56am UTC](https://community.postman.com/t/accessing-awt-signature-authentication-via-pm-sendrequest/63944/7 "2024-07-15T07:56:21Z")

</div>

You superstar Mike, that reference to the code was exactly the lead that I needed. From there I was able to find the registration of the security handlers within postman and I found that pm.sendRequest is wired up there. The following are the runes that I needed and I share incase anybody else ever requires them:

```auto
pm.sendRequest({
    url: "https://ssm.eu-central-1.amazonaws.com",
    method: "POST",
    header: {
        'Content-Type': 'application/x-amz-json-1.1',
        'X-Amz-Target': 'AmazonSSM.GetParameter'
    },
    auth: {
        type: "awsv4",
        "awsv4": {
            "accessKey": "$ACCESSKEY",
            "secretKey": "$SECRET",
            "region": "eu-central-1",
            "service": "ssm",
            "sessionToken": "$SESSION_TOKEN"
        }
    },
    body: .....
}, function (err, response) {
    ....
});

```

Happy days, I am so pleased that it is working. Thank you for your help everybody.

---

_[View the full topic](https://community.postman.com/t/accessing-awt-signature-authentication-via-pm-sendrequest/63944)._
