CodeBuild / Client / list_source_credentials
list_source_credentials#
- CodeBuild.Client.list_source_credentials()#
- Returns a list of - SourceCredentialsInfoobjects.- See also: AWS API Documentation - Request Syntax- response = client.list_source_credentials() - Return type:
- dict 
- Returns:
- Response Syntax- { 'sourceCredentialsInfos': [ { 'arn': 'string', 'serverType': 'GITHUB'|'BITBUCKET'|'GITHUB_ENTERPRISE', 'authType': 'OAUTH'|'BASIC_AUTH'|'PERSONAL_ACCESS_TOKEN' }, ] } - Response Structure- (dict) – - sourceCredentialsInfos (list) – - A list of - SourceCredentialsInfoobjects. Each- SourceCredentialsInfoobject 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, 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, or BITBUCKET. 
- authType (string) – - The type of authentication used by the credentials. Valid options are OAUTH, BASIC_AUTH, or PERSONAL_ACCESS_TOKEN. 
 
 
 
 
 - Exceptions- CodeBuild.Client.exceptions.InvalidInputException