CodeBuild / Client / list_source_credentials



Returns a list of SourceCredentialsInfo objects.

See also: AWS API Documentation

Request Syntax

response = client.list_source_credentials()
Return type:



Response Syntax

    'sourceCredentialsInfos': [
            'arn': 'string',
            'resource': 'string'

Response Structure

  • (dict) –

    • sourceCredentialsInfos (list) –

      A list of SourceCredentialsInfo objects. Each SourceCredentialsInfo object includes the authentication type, token ARN, and type of source provider for one set of credentials.

      • (dict) –

        Information about the credentials for a GitHub, GitHub Enterprise, GitLab, GitLab Self Managed, or Bitbucket repository.

        • arn (string) –

          The Amazon Resource Name (ARN) of the token.

        • serverType (string) –

          The type of source provider. The valid options are GITHUB, GITHUB_ENTERPRISE, GITLAB, GITLAB_SELF_MANAGED, or BITBUCKET.

        • authType (string) –

          The type of authentication used by the credentials. Valid options are OAUTH, BASIC_AUTH, PERSONAL_ACCESS_TOKEN, or CODECONNECTIONS.

        • resource (string) –

          The connection ARN if your serverType type is GITLAB or GITLAB_SELF_MANAGED and your authType is CODECONNECTIONS.


  • CodeBuild.Client.exceptions.InvalidInputException