CmdID / aws / aws codebuild
aws codebuild delete-source-credentials
Deletes a set of GitHub, GitHub Enterprise, or Bitbucket source credentials. AWS CLI reference
1 example 1 option Its page in the AWS CLI reference
Examples
To disconnect from a source provider and remove its access tokens.
The following delete-source-credentials example disconnects from a source provider and removes its tokens. The ARN of source credentials used to connect to the source provider determines which source credentials.
aws codebuild delete-source-credentials --arn arn-of-your-credentialsIdentify--arnThe Amazon Resource Name (ARN) of the token.Its output
{
"arn": "arn:aws:codebuild:your-region:your-account-id:token/your-server-type"
}For more information, see Access your source provider in CodeBuild in the AWS CodeBuild User Guide.
Options
--arnThe Amazon Resource Name (ARN) of the token.