list_source_credentials()¶Returns a list of SourceCredentialsInfo objects.
See also: AWS API Documentation
Request Syntax
response = client.list_source_credentials()
{
    'sourceCredentialsInfos': [
        {
            'arn': 'string',
            'serverType': 'GITHUB'|'BITBUCKET'|'GITHUB_ENTERPRISE',
            'authType': 'OAUTH'|'BASIC_AUTH'|'PERSONAL_ACCESS_TOKEN'
        },
    ]
}
Response Structure
A list of SourceCredentialsInfo objects. Each SourceCredentialsInfo object includes the authentication type, token ARN, and type of source provider for one set of credentials.
Information about the credentials for a GitHub, GitHub Enterprise, or Bitbucket repository.
The Amazon Resource Name (ARN) of the token.
The type of source provider. The valid options are GITHUB, GITHUB_ENTERPRISE, or BITBUCKET.
The type of authentication used by the credentials. Valid options are OAUTH, BASIC_AUTH, or PERSONAL_ACCESS_TOKEN.
Exceptions
CodeBuild.Client.exceptions.InvalidInputException