GitHub OAuth app - AWS CodeBuild (original) (raw)

Connect GitHub using OAuth (console)

Connect GitHub using OAuth (console)

To use the console to connect your project to GitHub using an OAuth app, do the following when you create a project. For information, see Create a build project (console).

  1. For Source provider, chooseGitHub.
  2. For Credential, do one of the following:
    • Choose to use account credentials to apply your account's default source credential to all projects.
      1. If you aren't connected to GitHub, choose Manage account credential.
      2. For Credential type, choose OAuth app.
    • If you chose to use account level credentials for Service, choose which service you'd like to use to store your token and do the following:
      1. If you choose to use Secrets Manager, you can choose to use an existing secret connection or create a new secret, and then choose Save. For more information how to create a new secret, see Create and store a token in a Secrets Manager secret.
      2. If you choose to use CodeBuild and then choose Save.
    • Select Use override credentials for this project only to use a custom source credential to override your account's credential settings.
      1. From the populated credential list, choose one of the options under OAuth app.
      2. You can also create new OAuth app token by selecting create a new Oauth app token connection in the description.

To review your authorized OAuth apps, navigate to Applications on GitHub, and verify that an application named AWS CodeBuild (`region`) owned by aws-codesuite is listed.

GitHub and GitHub Enterprise Server access token

Bitbucket access

Did this page help you? - Yes

Thanks for letting us know we're doing a good job!

If you've got a moment, please tell us what we did right so we can do more of it.

Did this page help you? - No

Thanks for letting us know this page needs work. We're sorry we let you down.

If you've got a moment, please tell us how we can make the documentation better.