CodeBuild Source Credential

CodeBuild Source Credential in AWS is a resource that stores authentication details for connecting AWS CodeBuild to external source code repositories such as GitHub, GitHub Enterprise, or Bitbucket. It allows CodeBuild projects to securely access private repositories by managing tokens or credentials, eliminating the need to embed sensitive information directly in build specifications.

aws.codebuild_source_credentials

Fields

TitleIDTypeData TypeDescription
_keycorestring
account_idcorestring
arncorestringThe Amazon Resource Name (ARN) of the token.
auth_typecorestringThe type of authentication used by the credentials. Valid options are OAUTH, BASIC_AUTH, PERSONAL_ACCESS_TOKEN, CODECONNECTIONS, or SECRETS_MANAGER.
resourcecorestringThe connection ARN if your authType is CODECONNECTIONS or SECRETS_MANAGER.
server_typecorestringThe type of source provider. The valid options are GITHUB, GITHUB_ENTERPRISE, GITLAB, GITLAB_SELF_MANAGED, or BITBUCKET.
tagscorehstore