getting a certificate in the correct format
Open
automation-exempt
feature-request
iam
p3
- Dominant language
- Python
- Stars
- 17.3k
- Forks
- 4.6k
- Avg merge
- 1d 2h
- Merged PRs (30d)
- 13
Description
### 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.crt
then use `openssl x509 -in cert.cert -text -noout`
Contributor guide
Assessment
This issue has not been assessed yet.