Import Source Credentials
codebuild_import_source_credentials | R Documentation |
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¶
Description¶
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.
Usage¶
codebuild_import_source_credentials(username, token, serverType,
authType, shouldOverwrite)
Arguments¶
username |
The Bitbucket username when the |
token |
[required] For GitHub or GitHub Enterprise, this is the personal
access token. For Bitbucket, this is either the access token or the app
password. For the |
serverType |
[required] The source provider used for this project. |
authType |
[required] The type of authentication used to connect to a GitHub, GitHub Enterprise, GitLab, GitLab Self Managed, or Bitbucket repository. An OAUTH connection is not supported by the API and must be created using the CodeBuild console. |
shouldOverwrite |
Set to |
Value¶
A list with the following syntax:
list(
arn = "string"
)
Request syntax¶
svc$import_source_credentials(
username = "string",
token = "string",
serverType = "GITHUB"|"BITBUCKET"|"GITHUB_ENTERPRISE"|"GITLAB"|"GITLAB_SELF_MANAGED",
authType = "OAUTH"|"BASIC_AUTH"|"PERSONAL_ACCESS_TOKEN"|"CODECONNECTIONS"|"SECRETS_MANAGER",
shouldOverwrite = TRUE|FALSE
)