Skip to content

document SCP enforcement for cross-account access#716

Open
HarshCasper wants to merge 1 commit into
mainfrom
doc-295-doc-iam-enforce-scps-during-cross-account-access
Open

document SCP enforcement for cross-account access#716
HarshCasper wants to merge 1 commit into
mainfrom
doc-295-doc-iam-enforce-scps-during-cross-account-access

Conversation

@HarshCasper

Copy link
Copy Markdown
Member

Fixes DOC-295

@cloudflare-workers-and-pages

Copy link
Copy Markdown

Deploying localstack-docs with  Cloudflare Pages  Cloudflare Pages

Latest commit: adc2009
Status: ✅  Deploy successful!
Preview URL: https://cc1a78d1.localstack-docs.pages.dev
Branch Preview URL: https://doc-295-doc-iam-enforce-scps.localstack-docs.pages.dev

View logs

@viren-nadkarni viren-nadkarni left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks great, thanks for updating this!

I think it's also worth updating the IAM Coverage page.

Also, my PR on SCPs in Policy Simulator is close to merge. If you prefer, you can put these docs in this PR together.

Comment on lines +94 to +95
When IAM enforcement is enabled, LocalStack checks SCPs together with identity-based policies.
A request goes through only if both the principal's identity-based policies and the SCPs covering its account allow the action.

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
When IAM enforcement is enabled, LocalStack checks SCPs together with identity-based policies.
A request goes through only if both the principal's identity-based policies and the SCPs covering its account allow the action.
When IAM enforcement is enabled, LocalStack checks SCPs together with other applicable policies.
A request goes through only if both the principal's policies, resource's policies and the SCPs covering its account allow the action on the resource.

Other policies are also checked apart from identity based policies: resource-based policies, permission boundaries, etc.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants