Repository navigation
docs: add AWS China (aws-cn) IAM setup - #170
marcuswhitaker-c1 wants to merge 7 commits into
Conversation
Trust policies and resource ARNs elsewhere on the page are commercial-partition only and cannot be saved in an aws-cn account. Add a China IAM section covering static keys, assume-role, IRSA and Organizations child-account roles, and point to it from the C1-hosted trust policy section. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com> Co-authored-by: c1-squire-dev[bot] <c1-squire-dev[bot]@users.noreply.github.com>
Superseded — see the current review report for commit
|
Superseded — see the current review report for commit
|
There was a problem hiding this comment.
Blocking issues found — see the full review report
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com> Co-authored-by: c1-squire-dev[bot] <c1-squire-dev[bot]@users.noreply.github.com>
Superseded — see the current review report for commit
|
Superseded — see the current review report for commit
|
There was a problem hiding this comment.
No blocking issues found — see the full review report
Superseded by a completed review with no blocking issues; current audit evidence persisted in CI.
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com> Co-authored-by: c1-squire-dev[bot] <c1-squire-dev[bot]@users.noreply.github.com>
Superseded — see the current review report for commit
|
Superseded — see the current review report for commit
|
There was a problem hiding this comment.
No blocking issues found — see the full review report
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com> Co-authored-by: c1-squire-dev[bot] <c1-squire-dev[bot]@users.noreply.github.com>
Superseded — see the current review report for commit
|
Superseded — see the current review report for commit
|
There was a problem hiding this comment.
No blocking issues found — see the full review report
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com> Co-authored-by: c1-squire-dev[bot] <c1-squire-dev[bot]@users.noreply.github.com>
Connector PR Review: docs: add AWS China (aws-cn) IAM setup⏳ Provisional — deeper review still in progress. Blocking Issues: 0 | Suggestions: 2 | Threads Resolved: 0 Review SummaryThe new commit adds an "Other China-specific things to check" list to Security IssuesNone found. Correctness IssuesNone found. Suggestions
|
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com> Co-authored-by: c1-squire-dev[bot] <c1-squire-dev[bot]@users.noreply.github.com>
Superseded — see the current review report for commit
|
Superseded — see the current review report for commit
|
There was a problem hiding this comment.
No blocking issues found — see the full review report
…dance Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com> Co-authored-by: c1-squire-dev[bot] <c1-squire-dev[bot]@users.noreply.github.com>
Superseded — see the current review report for commit
|
Connector PR Review: docs: add AWS China (aws-cn) IAM setupBlocking Issues: 0 | Suggestions: 0 | Threads Resolved: 0 Review SummaryThis PR changes only docs. It adds an AWS China (
I scanned the full PR diff (one file, Security IssuesNone found. Correctness IssuesNone found. SuggestionsNone. Resolved prior findings
Reviewed commit: |
There was a problem hiding this comment.
No blocking issues found — see the full review report
Summary
The China section added in f0afde3 documents regions, env vars, and the self-hosted constraint, but the page gives an
aws-cnadmin no usable IAM setup. Every trust policy names the commercial principalarn:aws:iam::765656841499:role/ConductorOneService, which IAM in anaws-cnaccount rejects at save time (MalformedPolicyDocument: Invalid principal in policy). The permissions policies also hardcodearn:aws:inResourceARNs, which can save cleanly and silently match nothing.This adds an AWS China IAM setup section and a pointer from the C1-hosted trust-policy section:
sts:AssumeRolecannot cross partitions).arn:aws-cn:replacements for the resource-scoped permissions statements.sts:ExternalId; issuer and audience read from the user's own cluster.OrganizationAccountAccessRole(orBATON_IAM_ASSUME_ROLE_NAME) and must not carry ansts:ExternalIdcondition.Docs only. Connector behavior was checked, not changed:
aws_client_factory.gobuilds the child role ARN in the connector's partition and sets only session name and duration;connector.goskips external-ID validation unlessglobal-role-arnis set.Open items
aws-cnis unconfirmed. The doc tells users to match theClientIDListon their own OIDC provider. Worth confirming with a China account.aws-cnaccount.🤖 Generated with Claude Code