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()
{
'UserProfile': {
'IamUserArn': 'string',
'Name': 'string',
'SshUsername': 'string',
'SshPublicKey': 'string'
}
}
Response Structure
Contains the response to a DescribeMyUserProfile
request.
A UserProfile
object that describes the user's SSH information.
The user's IAM ARN.
The user's name.
The user's SSH user name.
The user's SSH public key.