HEX
Server: LiteSpeed
System: Linux s1049.use1.mysecurecloudhost.com 4.18.0-477.27.2.lve.el8.x86_64 #1 SMP Wed Oct 11 12:32:56 UTC 2023 x86_64
User: xedaptot (3356)
PHP: 8.3.31
Disabled: NONE
Upload Files
File: //usr/lib/python3.6/site-packages/awscli/examples/iam/upload-signing-certificate.rst
**To upload a signing certificate for an IAM user**

The following ``upload-signing-certificate`` command uploads a signing certificate for the IAM user named ``Bob``::

  aws iam upload-signing-certificate --user-name Bob --certificate-body file://certificate.pem

Output::

  {
      "Certificate": {
          "UserName": "Bob",
          "Status": "Active",
          "CertificateBody": "-----BEGIN CERTIFICATE-----<certificate-body>-----END CERTIFICATE-----",
          "CertificateId": "TA7SMP42TDN5Z26OBPJE7EXAMPLE",
          "UploadDate": "2013-06-06T21:40:08.121Z"
      }
  }

The certificate is in a file named *certificate.pem* in PEM format.

For more information, see `Creating and Uploading a User Signing Certificate`_ in the *Using IAM* guide.

.. _`Creating and Uploading a User Signing Certificate`: http://docs.aws.amazon.com/IAM/latest/UserGuide/Using_UploadCertificate.html