DescribeMyUserProfile - OpsWorks


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 about 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.


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

Type: SelfUserProfile object


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: