# Opennebula - vcenter user permissions

**URL:** <https://forum.opennebula.io/t/opennebula-vcenter-user-permissions/3285>\
**Category:** Product Support\
**Created:** [November 15, 2016, 10:01pm UTC](https://forum.opennebula.io/t/opennebula-vcenter-user-permissions/3285 "2016-11-15T22:01:40Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Sergi](https://avatars.discourse-cdn.com/v4/letter/s/9fc29f/32.png) [@Sergi](https://forum.opennebula.io/u/Sergi)\
**Post date:** [November 15, 2016, 10:01pm UTC](https://forum.opennebula.io/t/opennebula-vcenter-user-permissions/3285/1 "2016-11-15T22:01:41Z")

</div>

Hello,

Does anyone know what permissions has to have the service user who uses opennebula to connect to vcenter?

Could it be that it is not a user with administration permissions on vcenter and that it can not delete?

Thanks.

---

<div class="post-metadata">

**Author:** ![mcabrerizo](https://yyz1.discourse-cdn.com/flex031/user_avatar/forum.opennebula.io/mcabrerizo/32/4829_2.png) [@mcabrerizo](https://forum.opennebula.io/u/mcabrerizo)\
**Post date:** [November 16, 2016, 7:41am UTC](https://forum.opennebula.io/t/opennebula-vcenter-user-permissions/3285/2 "2016-11-16T07:41:00Z")

</div>

Hi Sergi,  
when connecting OpenNebula to vCenter you have two options:

- Use an account declared as Administrator in vCenter or,
- Create a user and grant the vCenter privileges required for the functionalities you want to use in OpenNebula.

You’ve the information about permissions [here in the docs](http://docs.opennebula.org/5.2/deployment/node_installation/vcenter_node_installation.html#requirements)

In the other hand, you must take into account that some delete operations in OpenNebula do not imply a delete in vCenter, this is by design you don’t break your infrastructure by accident:

- The following resources are NOT deleted in vCenter when deleted in OpenNebula: VM Templates, Networks and Datastores.
- The following resource should be deleted in vCenter when deleted in OpenNebula: Images and Virtual Machines.

Cheers!

---

<div class="post-metadata">

**Author:** ![Sergi](https://avatars.discourse-cdn.com/v4/letter/s/9fc29f/32.png) [@Sergi](https://forum.opennebula.io/u/Sergi)\
**Post date:** [November 19, 2016, 8:23pm UTC](https://forum.opennebula.io/t/opennebula-vcenter-user-permissions/3285/3 "2016-11-19T20:23:27Z")

</div>

Hi Miguel,

Thanks for your response.

My problem was to delete virtual machines. If in opennebula I deleted a virtual machine, automatically the machine was deleted in vcenter!

Now, after you answer, I configured only privileges that I need in vCenter.

Thanks.
