getting a certificate in the correct format #2876
Labels
automation-exempt
Issue will not be subject to stale-bot
feature-request
A feature should be added or improved.
iam
p3
This is a minor priority issue
Description
Right now I can get the certification like so
aws iam get-server-certificate --server-certificate-name certificateName
would like to be able to grab the cert without having to use openssl to
-text -noout
the work flow now I have is to format the query
aws iam get-server-certificate --server-certificate-name certificateName --query "ServerCertificate.CertificateBody" | awk 'gsub(/"/,"",s); {gsub(/\\n/,"\n")}1'
> cert.crtthen use
openssl x509 -in cert.cert -text -noout
The text was updated successfully, but these errors were encountered: