AWS apigateway documentation change
Summary
Added AWS CLI examples for updating ACM certificates
Security assessment
Documents certificate rotation procedures (security best practice) but does not fix a specific vulnerability
Diff
diff --git a/apigateway/latest/developerguide/how-to-edge-optimized-custom-domain-name.md b/apigateway/latest/developerguide/how-to-edge-optimized-custom-domain-name.md index 57d9ca905..57147374f 100644 --- a//apigateway/latest/developerguide/how-to-edge-optimized-custom-domain-name.md +++ b//apigateway/latest/developerguide/how-to-edge-optimized-custom-domain-name.md @@ -208,0 +209,17 @@ Call [domainname:update](https://docs.aws.amazon.com/apigateway/latest/api/API_U +AWS CLI + + +The following [update-domain-name](https://docs.aws.amazon.com/cli/latest/reference/apigateway/update-domain-name.html) updates the ACM certificate for an edge-optimized domain name. + + + aws apigateway update-domain-name \ + --domain-name edge.example.com \ + --patch-operations "op='replace',path='/certificateArn',value='arn:aws:acm:us-east-2:111122223333:certificate/CERTEXAMPLE123EXAMPLE'" + +The following [update-domain-name](https://docs.aws.amazon.com/cli/latest/reference/apigateway/update-domain-name.html) updates the ACM certificate for a Regional domain name. + + + aws apigateway update-domain-name \ + --domain-name regional.example.com \ + --patch-operations "op='replace',path='/regionalCertificateArn',value='arn:aws:acm:us-east-2:111122223333:certificate/CERTEXAMPLE123EXAMPLE'" +