How to add an IAM policy to restrict HTTP request methods and only allow POST to be used HTTP要求メソッドを制限し、POSTのみを使用できるようにIAMポリシーを追加する方法

0

I want add an IAM policy to restrict HTTP request methods and only allow POST to be used,whitch conditional key can be used

profile picture
Dgk
asked 3 months ago469 views
1 Answer
0
Accepted Answer

特定の HTTP リクエストメソッドを使ったアクセスのみを許可する IAM ポリシーを実現できる条件キーはございません [1,2] 。

[1] https://docs.aws.amazon.com/IAM/latest/UserGuide/reference_policies_condition-keys.html : AWS global condition context keys

[2] https://docs.aws.amazon.com/IAM/latest/UserGuide/reference_policies_iam-condition-keys.html : IAM and AWS STS condition context keys

特定の HTTP リクエストメソッドを使ったアクセスのみ許可することで実現したいご要件がございましたら、その詳細と背景を添えて AWS サポートへ技術サポートケースを作成いただけますでしょうか。下記のリンクよりサポートケースを作成いただけます。 https://console.aws.amazon.com/support/home#/case/create

どうぞよろしくお願いいたします。

AWS
answered 3 months ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions