HEX
Server: Apache
System: Linux pdx1-shared-a1-38 6.6.104-grsec-jammy+ #3 SMP Tue Sep 16 00:28:11 UTC 2025 x86_64
User: mmickelson (3396398)
PHP: 8.1.31
Disabled: NONE
Upload Files
File: //usr/lib/python3/dist-packages/awscli/examples/iam/list-service-specific-credentials.rst
**To retrieve a list of credentials**

The following ``list-service-specific-credentials`` example lists the credentials generated for HTTPS access to AWS CodeCommit repositories for a user named ``developer``. ::

    aws iam list-service-specific-credentials \
        --user-name developer \
        --service-name codecommit.amazonaws.com

Output::

    {
        "ServiceSpecificCredentials": [
            {
                "UserName": "developer",
                "Status": "Inactive",
                "ServiceUserName": "developer-at-123456789012",
                "CreateDate": "2019-10-01T04:31:41Z",
                "ServiceSpecificCredentialId": "ACCAQFODXMPL4YFHP7DZE",
                "ServiceName": "codecommit.amazonaws.com"
            },
            {
                "UserName": "developer",
                "Status": "Active",
                "ServiceUserName": "developer+1-at-123456789012",
                "CreateDate": "2019-10-01T04:31:45Z",
                "ServiceSpecificCredentialId": "ACCAQFOXMPL6VW57M7AJP",
                "ServiceName": "codecommit.amazonaws.com"
            }
        ]
    }