1回答
- 新しい順
- 投票が多い順
- コメントが多い順
0
API Gateway supports only a single authorization method per route. If need something which is more complex than what API Gateway supports (Cognito or IAM), you will need to use a Lambda authorizer. In the authorizer you can check the source (based on maybe some secret header that you pass from the client) and if it is not your client, you check for the other token.
関連するコンテンツ
- AWS公式更新しました 2年前
You can use both Cognito and API keys, however, if you specify that API keys are required, they will be required for everyone.
Not really, but it is not very different than passing an API key.