> For the complete documentation index, see [llms.txt](https://docs.octoxlabs.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.octoxlabs.com/action-center/wasabi/update-user.md).

# Update User

Renames and/or moves the matched Wasabi IAM users by calling the IAM update call. Provide at least one of **New Username** and **New Path**.

### Before you begin

* A Wasabi access key with permission to manage IAM users. The job calls the Wasabi IAM endpoint (`https://iam.wasabisys.com`).
* Connection values can be saved once as defaults. See [Action Center Settings](broken://pages/b23094e7a0e65b2d6e12d56cff38ca6b85c39d2a), group **Wasabi**, one tab per job.
* Accepted asset types: user.
* Required columns: **Specifics.wasabi.UserName**. Users without a Wasabi user name are ignored, so the Wasabi adapter must be connected and discovered first.

### Settings

| Setting           | Type             | Required | Default     | Description                                                    |
| ----------------- | ---------------- | -------- | ----------- | -------------------------------------------------------------- |
| Access Key ID     | Text             | Yes      | None        | Wasabi access key ID.                                          |
| Secret Access Key | Text (sensitive) | Yes      | None        | Wasabi secret access key. Masked after saving.                 |
| Region            | Text             | No       | `us-east-1` | Region name passed to the IAM client.                          |
| New Username      | Text             | No       | None        | New user name. Allowed only when exactly one user is selected. |
| New Path          | Text             | No       | None        | New IAM path.                                                  |

### How it works

If both new values are empty, the job fails with an error asking for a new user name and/or path.

If none of the matched users has a Wasabi user name, the job fails with an error. If a new user name is set and more than one user matched, the job fails because several users cannot share one name.

Each user is handled on its own: a Wasabi error for one user is logged and the job continues with the next one, so the job node itself does not fail on a single user's error. A user that no longer exists in Wasabi is logged and skipped.

The matched assets are passed unchanged to the next node.

### Example

```
Access Key ID:      YOUR_ACCESS_KEY_ID
Secret Access Key:  YOUR_SECRET_ACCESS_KEY
Region:             us-east-1
New Path:          /contractors/
```

### What's next?

<table data-view="cards"><thead><tr><th></th><th></th><th data-hidden data-card-target data-type="content-ref"></th></tr></thead><tbody><tr><td><strong>About Action Center</strong></td><td>Workflows, triggers, conditions and job nodes.</td><td><a href="broken://pages/0fd3aae844db8baf52bca89680f9db8486f05952">Broken link</a></td></tr><tr><td><strong>Action Center Settings</strong></td><td>Save default values for this job.</td><td><a href="broken://pages/b23094e7a0e65b2d6e12d56cff38ca6b85c39d2a">Broken link</a></td></tr><tr><td><strong>Create User</strong></td><td>Create a Wasabi IAM user.</td><td><a href="broken://pages/7f67aa666dcd87033605816344c1be75a7047ca1">Broken link</a></td></tr></tbody></table>
