ExitAWS CodeConnections: authorized repository access for pipelines1 / 9
Explanation

One reference, three independent gates

How provider authorization, connection readiness, and IAM permissions jointly govern a pipeline's access to a repository through a connection ARN. · advanced

AWS CodeConnections lets a pipeline reference an authorized provider integration through a connection ARN, rather than embedding a developer's personal access token. The ARN identifies the connection; it is not a credential and does not itself grant repository access.

Access depends on three independent gates: provider authorization must cover the repository, the connection must be AVAILABLE, and the consuming AWS principal must have effective IAM permission to use that connection. Passing one gate cannot compensate for failing another.

For GitHub, provider authorization includes the appropriate GitHub App installation and its repository access. AWS IAM controls which AWS principals can use the connection, not which repositories the GitHub installation exposes. These are separate authorization boundaries.

GateWhat it establishesWhat it does not establish
Provider authorizationRepository access at providerAWS role permission
Connection readinessCompleted connection setupAccess to every repository
IAM authorizationPrincipal may use connectionProvider repository permission