joe-elliott / cert-exporter

A Prometheus exporter that publishes cert expirations on disk and in Kubernetes secrets
Apache License 2.0
316 stars 87 forks source link

Added AWS Secrets scraper #74

Closed hakhundov closed 3 years ago

hakhundov commented 3 years ago

Hi,

This addition will look into the specified AWS secrets and scan for all .pem files to obtain the expiration dates to expose.

Thanks.

hakhundov commented 3 years ago

Hi, @joe-elliott. I am glad you like the addition.

Indeed, not sure what is the best way to test this. Of course, I tested it locally with our AWS account and it works. But like you said, it is quite isolated so shouldn't be a problem.

joe-elliott commented 3 years ago

Works for me :).

Thanks for the PR!