Menu
AWS OpsWorks
API Reference (API Version 2013-02-18)

DescribeMyUserProfile

Describes a user's SSH information.

Required Permissions: To use this action, an IAM user must have self-management enabled or an attached policy that explicitly grants permissions. For more information on user permissions, see Managing User Permissions.

Response Syntax

{
   "UserProfile": { 
      "IamUserArn": "string",
      "Name": "string",
      "SshPublicKey": "string",
      "SshUsername": "string"
   }
}

Response Elements

If the action is successful, the service sends back an HTTP 200 response.

The following data is returned in JSON format by the service.

UserProfile

A UserProfile object that describes the user's SSH information.

Type: SelfUserProfile object

Errors

For information about the errors that are common to all actions, see Common Errors.

See Also

For more information about using this API in one of the language-specific AWS SDKs, see the following: