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
demandé il y a 3 mois469 vues
1 réponse
0
Réponse acceptée

特定の 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
répondu il y a 3 mois

Vous n'êtes pas connecté. Se connecter pour publier une réponse.

Une bonne réponse répond clairement à la question, contient des commentaires constructifs et encourage le développement professionnel de la personne qui pose la question.

Instructions pour répondre aux questions