CmdID / aws / aws codebuild
aws codebuild import-source-credentials
Imports the source repository credentials for an CodeBuild project that has its source code stored in a GitHub, GitHub Enterprise, GitLab, GitLab Self Managed, or Bitbucket repository. AWS CLI reference
5 options Its page in the AWS CLI reference
Options
--auth-typeThe type of authentication used to connect to a GitHub, GitHub Enterprise, GitLab, GitLab Self Managed, or Bitbucket repository.--server-typeThe source provider used for this project.--should-overwriteSet to false to prevent overwriting the repository source credentials.--tokenFor GitHub or GitHub Enterprise, this is the personal access token.--usernameThe Bitbucket username when the authType is BASIC_AUTH.