# Secure the APIs

**URL:** <https://discourse.sst.dev/t/secure-the-apis/2179>\
**Category:** Chapter Comments\
**Created:** [November 11, 2020, 9:10pm UTC](https://discourse.sst.dev/t/secure-the-apis/2179 "2020-11-11T21:10:56Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![jayair](https://yyz2.discourse-cdn.com/flex032/user_avatar/discourse.sst.dev/jayair/32/9_2.png) [@jayair](https://discourse.sst.dev/u/jayair)\
**Post date:** [November 11, 2020, 9:10pm UTC](https://discourse.sst.dev/t/secure-the-apis/2179/1 "2020-11-11T21:10:56Z")

</div>

Link to chapter - [https://serverless-stack.com/chapters/secure-the-apis.html](https://serverless-stack.com/chapters/secure-the-apis.html)

---

<div class="post-metadata">

**Author:** ![msb](https://avatars.discourse-cdn.com/v4/letter/m/6a8cbe/32.png) [@msb](https://discourse.sst.dev/u/msb)\
**Post date:** [April 11, 2021, 2:24am UTC](https://discourse.sst.dev/t/secure-the-apis/2179/2 "2021-04-11T02:24:34Z")

</div>

Is there an example to make aws\_iam authorizer work using httpApi event?

---

<div class="post-metadata">

**Author:** ![jayair](https://yyz2.discourse-cdn.com/flex032/user_avatar/discourse.sst.dev/jayair/32/9_2.png) [@jayair](https://discourse.sst.dev/u/jayair)\
**Post date:** [May 15, 2021, 10:51pm UTC](https://discourse.sst.dev/t/secure-the-apis/2179/3 "2021-05-15T22:51:50Z")

</div>

Hmm I’m not sure I get what you mean.

---

<div class="post-metadata">

**Author:** ![heyysaiii](https://yyz2.discourse-cdn.com/flex032/user_avatar/discourse.sst.dev/heyysaiii/32/1176_2.png) [@heyysaiii](https://discourse.sst.dev/u/heyysaiii)\
**Post date:** [May 23, 2021, 6:23pm UTC](https://discourse.sst.dev/t/secure-the-apis/2179/4 "2021-05-23T18:23:12Z")

</div>

When running  
`$ serverless invoke local --function create --path mocks/create-event.json`

from chapter [Secure the APIs | Serverless Stack](https://serverless-stack.com/chapters/secure-the-apis.html),  
i found the bellow error.

```auto
 Serverless Error ----------------------------------------
 
  Invalid service configuration: "provider.name" property is missing
 
  Get Support --------------------------------------------
     Docs: docs.serverless.com
     Bugs: github.com/serverless/serverless/issues
     Issues: forum.serverless.com
 
  Your Environment Information ---------------------------
     Operating System: win32
     Node Version: 14.17.0
     Framework Version: 2.41.2
     Plugin Version: 5.0.0
     SDK Version: 4.2.2
     Components Version: 3.9.2

```

Please help in solving this.
