Products: Managed Backup (Agent), Managed Backup (Web)
Article ID: m0834

Create IAM role

Introduction

As per recommendations of Wasabi, we now shift toward using the so-called IAM roles. An IAM role is similar to an IAM user, in that it is an Wasabi identity with permission policies that determine what the identity can and cannot do in Wasabi. Also, a role does not have any credentials (password or access keys) associated with it. Instead, if a user is assigned to a role, access keys are created dynamically and provided to the user. Essentially, instead of using your keys, our service account will assume that role (generated automatically via the Management Console). Alternatively, you can generate a role via CloudBerry Explorer and then just import it to the Management Console.

In this article we explain how to create IAM Role:

Generate an IAM Role using Management Console

Let’s get started. Go to the Management Console. Under Backup, click Storage Accounts.

  1. On the Storage type step select Wasabi. Click Next.

  1. Select **Create a new storage account. Enter the preferred display name. For the Authentication type, let's select IAM Role (MBS Wizard).

  1. Now enter the Access and Secret keys. Again, they will only be used for the policy creation session and subsequently not be stored in any of our databases.
  2. Proceed to configure a backup destination — either new or existing one. Complete the wizard.

The IAM Role account will be automatically created and finally you will be able to find it in the list of Storage Accounts.

Generate an IAM Role using Wasabi Management Console

Alternatively, you can create an IAM role in the Wasabi Management Console and then use its ARN to configure the storage account in the Managed Backup Management Console.

  1. Go to the Wasabi console to add a role. Click Create Role.
  2. Enter the role name (no spaces) and click Create. The role name will be required later to configure the role ARN/
  3. Review or modify the trust policy, if necessary.
  4. Save the role.
  5. Attach one or more user permission policies to define what the role can access.

Get the Role ARN

The ARN has the following format.

arn:aws:iam::<youraccount>:role/<RoleName>

Where:

  • arn – Amazon Resource Name (ARN) prefix.
  • aws – ARN namespace (Wasabi uses the AWS-compatible ARN format).
  • iam – IAM service.
  • youraccountWasabi Account ID.
  • role – Resource type.
  • myRole – IAM role name.

For example:

arn:aws:iam::987654321098:role/MSP360BackupRole

If the Wasabi Management Console does not display the ARN directly, you can construct it using your Wasabi Account ID and the role name.

On the next step you can select backup destinations that will contain the backup data.

Add the Role to Managed Backup

Return to the Managed Backup Management Console.

  1. Under Backup, click Storage Accounts.

  1. Click + and select Wasabi.

  1. On the Storage type step select Wasabi. Click Next.

  1. In the Create a new Backup Destination wizard, select Create a new storage account, and then select IAM role (manual, best practice) as the Authentication type.

  1. Enter the Role ARN in the Role ARN box.
  2. Continue through the wizard.
  3. On the next step, select or create the backup destination.
  4. Finish the wizard to save the backup destination.
https://git.cloudberrylab.com/egor.m/doc-help-mbs.git
Production