AWS – AWS CodeBuild now supports using GitHub Apps to access source repositories
AWS CodeBuild now integrates with GitHub Apps as the authentication method to access your repositories. A GitHub App connection can be set as the default authentication method for all projects, or can be specified for an individual project source.
With GitHub Apps, you can use short-lived tokens with fine-grained permissions, and have control over which repositories the app can access. In a CodeBuild project, GitHub App connections are established via AWS CodeConnections, where you can further limit the access to the connections by using IAM roles and resource policies.
The new feature is available in all regions where AWS CodeBuild is supported except in China (Beijing), China (Ningxia). For more information about the AWS Regions where CodeBuild is available, see the AWS Regions page.
To get started, create a GitHub App connection and configure it in your CodeBuild project . To learn more about how CodeBuild connects to your repositories, see access your source provider in CodeBuild.
Read More for the details.