OpsWorks / Client / describe_my_user_profile
describe_my_user_profile#
- OpsWorks.Client.describe_my_user_profile()#
- 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. - See also: AWS API Documentation - Request Syntax- response = client.describe_my_user_profile() - Return type:
- dict 
- Returns:
- Response Syntax- { 'UserProfile': { 'IamUserArn': 'string', 'Name': 'string', 'SshUsername': 'string', 'SshPublicKey': 'string' } } - Response Structure- (dict) – - Contains the response to a - DescribeMyUserProfilerequest.- UserProfile (dict) – - A - UserProfileobject that describes the user’s SSH information.- IamUserArn (string) – - The user’s IAM ARN. 
- Name (string) – - The user’s name. 
- SshUsername (string) – - The user’s SSH user name. 
- SshPublicKey (string) – - The user’s SSH public key.