Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save florin-andrei-curbside/2b1acc3fb547890d24366112ad1c6f99 to your computer and use it in GitHub Desktop.
Save florin-andrei-curbside/2b1acc3fb547890d24366112ad1c6f99 to your computer and use it in GitHub Desktop.
list AWS IAM server certificates with expiration dates
#!/usr/bin/env bash
aws iam list-server-certificates \
--query 'ServerCertificateMetadataList[].[ServerCertificateName, Expiration, Path, ServerCertificateId]' \
--output=table
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment