v1

latestOpenAPI 3.0.0Apache 2.0 License2026-07-1474216311.3 KB

Updates a specified user profile.

Required Permissions: To use this action, an IAM user must have an attached policy that explicitly grants permissions. For more information about user permissions, see Managing User Permissions.

post/#X-Amz-Target=OpsWorks_20130218.UpdateUserProfile

Headers

X-Amz-Target'OpsWorks_20130218.UpdateUserProfile' required

Request body

IamUserArnstring required

The user IAM ARN. This can also be a federated user's ARN.

SshUsernamestring

The user's SSH user name. The allowable characters are [a-z], [A-Z], [0-9], '-', and '_'. If the specified name includes other punctuation marks, AWS OpsWorks Stacks removes them. For example, <code>my.name</code> will be changed to <code>myname</code>. If you do not specify an SSH user name, AWS OpsWorks Stacks generates one from the IAM user name.

SshPublicKeystring

The user's new SSH public key.

AllowSelfManagementboolean

Whether users can specify their own SSH public key through the My Settings page. For more information, see <a href="https://docs.aws.amazon.com/opsworks/latest/userguide/security-settingsshkey.html">Managing User Permissions</a>.

Response

Success