Last active
August 29, 2015 14:10
-
-
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
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
aws iam list-server-certificates --output text --query 'ServerCertificateMetadataList[*].[Expiration,ServerCertificateName]'|sort | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Found this little beauty over here: http://alestic.com/2014/11/aws-iam-ssl-certificate-expiration