aws iam update-server-certificate
Updates the name and/or the path of the specified server certificate stored in IAM. AWS CLI reference
3 options Its page in the AWS CLI reference
Options
--new-pathThe new path for the server certificate.--new-server-certificate-nameThe new name for the server certificate.--server-certificate-nameThe name of the server certificate that you want to update.