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: //lib/python3.6/site-packages/awscli/examples/opsworks/describe-my-user-profile.rst
**To obtain a user's profile**

The following example shows how to obtain the profile
of the AWS Identity and Access Management (IAM) user that is running the command. ::

  aws opsworks --region us-east-1 describe-my-user-profile

*Output*: For brevity, most of the user's SSH public key is replaced by an ellipsis (...). ::

  {
    "UserProfile": {
      "IamUserArn": "arn:aws:iam::123456789012:user/myusername", 
      "SshPublicKey": "ssh-rsa AAAAB3NzaC1yc2EAAAABJQ...3LQ4aX9jpxQw== rsa-key-20141104", 
      "Name": "myusername", 
      "SshUsername": "myusername"
    }
  }

**More Information**

For more information, see `Importing Users into AWS OpsWorks`_ in the *AWS OpsWorks User Guide*.

.. _`Importing Users into AWS OpsWorks`: http://docs.aws.amazon.com/opsworks/latest/userguide/opsworks-security-users-manage-import.html