codebuild_import_source_credentials: Imports the source repository credentials for an CodeBuild...

View source: R/codebuild_operations.R

codebuild_import_source_credentialsR 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.

See https://www.paws-r-sdk.com/docs/codebuild_import_source_credentials/ for full documentation.

Usage

codebuild_import_source_credentials(
  username = NULL,
  token,
  serverType,
  authType,
  shouldOverwrite = NULL
)

Arguments

username

The Bitbucket username when the authType is BASIC_AUTH. This parameter is not valid for other types of source providers or connections.

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 authType CODECONNECTIONS, this is the connectionArn. For the authType SECRETS_MANAGER, this is the secretArn.

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 false to prevent overwriting the repository source credentials. Set to true to overwrite the repository source credentials. The default value is true.


paws.developer.tools documentation built on Sept. 12, 2024, 6:46 a.m.