document SCP enforcement for cross-account access#716
Open
HarshCasper wants to merge 1 commit into
Open
Conversation
Deploying localstack-docs with
|
| 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 |
viren-nadkarni
approved these changes
Jun 17, 2026
viren-nadkarni
left a comment
Member
There was a problem hiding this comment.
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. |
Member
There was a problem hiding this comment.
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.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Fixes DOC-295