Skip to content

Instantly share code, notes, and snippets.

@geekpete
Last active August 29, 2015 14:10
Show Gist options
  • Save geekpete/c702e9e443a8690501c7 to your computer and use it in GitHub Desktop.
Save geekpete/c702e9e443a8690501c7 to your computer and use it in GitHub Desktop.
List expiry dates of all certificates in our Amazon AWS account with the aws cli
aws iam list-server-certificates --output text --query 'ServerCertificateMetadataList[*].[Expiration,ServerCertificateName]'|sort
@geekpete
Copy link
Author

geekpete commented Dec 3, 2014

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment