RESOURCE AND IAM policy with SCP

0

In case if SCP is allowed and Resouce policy is allowed final decision is allowed.

What happens if SCP is not present atall . What decison is there if Resouce policy is allowed ? I guess similar decision will be there in case of IAM policy as well without SCP.

awesam
질문됨 10달 전408회 조회
2개 답변
1

When you create AWS organization, by default FullAWSAccess SCP gets created and attached to all accounts in an organization and this can not be edited but can be detached from any of the member accounts. This can only be detached if there is one other SCP already attached to that account.

Here is the content of that default SCP FullAWSAccess:

 {
   "Version": "2012-10-17",
   "Statement": [
     {
       "Effect": "Allow",
       "Action": "*",
       "Resource": "*"
     }
   ]
 }

Any action that isn't explicitly allowed by an SCP is implicitly denied and can't be delegated to users or roles in the affected accounts.

Reference: AWS SCP Inheritance

SCP doesn't grant anything but it's a guardrail, which is used to allow everything(Doesn't grant) and then deny specific resources/services based on condition.

Refer SCP permissions effect for additional details.

If you haven't already gone through this Policy Evaluation Logic doc and Permissions Chart, which you'd find super helpful to see how does this evaluation work.

Hope you find this useful.

Abhishek

profile pictureAWS
전문가
답변함 10달 전
profile picture
전문가
검토됨 10달 전
  • Do you have any additional question, please feel free to comment. Happy to help.

0

This chart explains how these policies are evaluated, Determining whether a request is allowed or denied within an account.

profile pictureAWS
전문가
kentrad
답변함 10달 전

로그인하지 않았습니다. 로그인해야 답변을 게시할 수 있습니다.

좋은 답변은 질문에 명확하게 답하고 건설적인 피드백을 제공하며 질문자의 전문적인 성장을 장려합니다.

질문 답변하기에 대한 가이드라인

관련 콘텐츠