update_my_user_profile

update_my_user_profile(**kwargs)

Updates a user's SSH public key.

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.update_my_user_profile(
    SshPublicKey='string'
)
Parameters
SshPublicKey (string) -- The user's SSH public key.
Returns
None

Exceptions

  • OpsWorks.Client.exceptions.ValidationException