我正在使用 AWS CLI 命令自动执行 API 网关部署。
用于部署 API 的 cli 命令如下所示。
aws apigateway create-deployment \
--rest-api-id abcd1234 \
--stage-name v1 \
--variables elbDomain=xxx.yyy.zzz.io
不幸的是,不明白为该阶段配置客户端证书的命令是什么。
Through API gateway UI you can achieve that and can be found here.
最佳答案
您需要使用 aws apigateway update-domain-name。
http://docs.aws.amazon.com/cli/latest/reference/apigateway/update-domain-name.html
关于amazon-web-services - 如何使用 aws-cli 为 AWS API 网关部署阶段设置客户端证书,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/43349461/