HEX
Server: LiteSpeed
System: Linux s1080.usc1.mysecurecloudhost.com 4.18.0-513.24.1.lve.2.el8.x86_64 #1 SMP Fri May 24 12:42:50 UTC 2024 x86_64
User: justofft (2594)
PHP: 7.3.33
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