Remediation
From Consoleβ
To eliminate embedded credentials and configure OAuth
authentication for your AWS CodeBuild Project:
- Locate and select the build project that currently references credentials in its source URL.
Edit
Source Configuration Under Source, chooseDisconnect from Bitbucket
to remove the existing basicβauth or Personal Access Token linkage.- Click
Connect using OAuth
. SelectConnect to Bitbucket
. When prompted, grant the required OAuth permissions to allow CodeBuild secure, tokenβbased access. - Enter or confirm your repository URL (omit any embedded credentials).
- Adjust any additional sourceβconfiguration parameters (e.g., buildβββspec path, webhook triggers).
- Click
Update
source to apply the new OAuthβbased authentication and complete remediation.