CmdID

CmdID / aws / aws iam

aws iam list-server-certificates

Lists the server certificates stored in IAM that have the specified path prefix. AWS CLI reference

1 example 3 options Its page in the AWS CLI reference

Opens CmdID with your command. It is read in your browser and sent nowhere.

Examples

from aws-cli, each command read by CmdID

To list the server certificates in your AWS account

The following list-server-certificates example lists all of the server certificates stored and available for use in your AWS account.

aws iam list-server-certificatesIdentify
Its output
{
    "ServerCertificateMetadataList": [
        {
            "Path": "/",
            "ServerCertificateName": "myUpdatedServerCertificate",
            "ServerCertificateId": "ASCAEXAMPLE123EXAMPLE",
            "Arn": "arn:aws:iam::123456789012:server-certificate/myUpdatedServerCertificate",
            "UploadDate": "2019-04-22T21:13:44+00:00",
            "Expiration": "2019-10-15T22:23:16+00:00"
        },
        {
            "Path": "/cloudfront/",
            "ServerCertificateName": "MyTestCert",
            "ServerCertificateId": "ASCAEXAMPLE456EXAMPLE",
            "Arn": "arn:aws:iam::123456789012:server-certificate/Org1/Org2/MyTestCert",
            "UploadDate": "2015-04-21T18:14:16+00:00",
            "Expiration": "2018-01-14T17:52:36+00:00"
        }
    ]
}

For more information, see Managing server certificates in IAM in the AWS IAM User Guide.

Options

3 in the AWS CLI reference
--markerUse this parameter only when paginating results and only after you receive a response indicating that the results are truncated.
--max-itemsUse this only when paginating results to indicate the maximum number of items you want in the response.
--path-prefixThe path prefix for filtering the results.