IAM for VMware on OVHcloud - How to create an IAM vSphere role

Database di conoscenze

IAM for VMware on OVHcloud - How to create an IAM vSphere role


Icons/System/eye-open Created with Sketch. 135 viste 23.05.2024 Cloud / VMware

IAM is currently in beta phase. This guide can be updated in the future with the advances of our teams in charge of this product.

Objective

In this guide, we will explain how to create an IAM role in Hosted Private Cloud - VMware on OVHcloud.

Requirements

  • An OVHcloud account.
  • One or more Hosted Private Cloud - VMware on OVHcloud products linked to this account (Hosted Private Cloud powered by VMware, VMware Service Pack).
  • IAM enabled for your Hosted Private Cloud service - VMware on OVHcloud. Follow the steps in the guide IAM for VMware on OVHcloud - How to enable IAM.

Instructions

By default, you have 2 vSphere IAM roles. The creation of an additional role is therefore optional.

We will explain how to create an additional role.

Creating an IAM role via the OVHcloud Control Panel

Log in to your OVHcloud Control Panel and click the Hosted Private Cloud tab.

Click the VMware section, select your infrastructure, then go to the Users tab.

Click Create IAM Role.

IAM role add

In the window that pops up, enter the name of your role, then click Confirm.

IAM roles are automatically prefixed with iam-.

IAM role add

You can then edit the group rights in the same way as with a vSphere local user.

Creating an IAM role via the OVHcloud API

Read the guide Getting started with OVHcloud APIs to get familiar with using OVHcloud APIv6.

Execute the following API call:

Make sure to replace the serviceName with the reference of your Hosted Private Cloud service, in the form pcc-XXX-XXX-XXX-XXX.

API return:

{
  "userId": null,
  "maintenanceDateTo": null,
  "parentTaskId": null,
  "datacenterId": null,
  "network": null,
  "createdBy": null,
  "state": "todo",
  "hostId": null,
  "endDate": null,
  "networkAccessId": null,
  "maintenanceDateFrom": null,
  "name": "addUser",
  "vlanId": null,
  "description": null,
  "filerId": null,
  "executionDate": "2024-05-15T14:21:17+02:00",
  "createdFrom": null,
  "taskId": 56446627,
  "orderId": null,
  "type": "generic",
  "progress": 0,
  "lastModificationDate": "2024-05-15T14:21:17+02:00"
}

IAM roles are automatically prefixed with iam-.

Go further

You can now follow the steps in the guide IAM for VMware on OVHcloud - How to associate a role with a global IAM policy.

IAM for VMware on OVHcloud - Guide index:

If you need training or technical assistance to implement our solutions, contact your sales representative or click on this link to get a quote and ask our Professional Services experts for a custom analysis of your project.

Join our community of users.

Articoli correlati