> 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/add-user-to-group.md).

# Add User to Group

Adds each matched Wasabi IAM user to the IAM group named in the form. The opposite job is [Remove User from Group](broken://pages/6deb26b8ac3c9fbb3568ebc1926b1f57d997a885).

### 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.          |
| Group Name        | Text             | Yes      | None        | Name of the Wasabi IAM group to add users to.  |

### How it works

If none of the matched users has a Wasabi user name, the job fails with an error. 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 is already a member of the group 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
Group Name:        storage-readers
```

### 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>Remove User from Group</strong></td><td>Remove users from a group.</td><td><a href="broken://pages/6deb26b8ac3c9fbb3568ebc1926b1f57d997a885">Broken link</a></td></tr></tbody></table>
