Skip to main content
Version: 0.0.25

Method: import_source_credential

Method for importing a credentials used for pulling sources in codebuild

Returns following columns:

  • arn: the aws resource name for the credential saved

  • status: OK if the build was started successfully

  • message: Error message in case of failure

Example

  SELECT * FROM import_source_credential('us-east-1', 'ghp_XXX', 'GITHUB', 'PERSONAL_ACCESS_TOKEN');

See

https://docs.aws.amazon.com/cli/latest/reference/codebuild/import-source-credentials.html