You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
- Synchronize the privileges documentation for `vsphere-iso` and `vsphere-clone` builders.
- Added Cryptographic Operations privileges required for vTPM.
Signed-off-by: Ryan Johnson <ryan.johnson@broadcom.com>
Global permissions **[are required](https://techdocs.broadcom.com/us/en/vmware-cis/vsphere/vsphere/8-0/vsphere-security-8-0/vsphere-permissions-and-user-management-tasks/understanding-authorization-in-vsphere.html)** for the content library based on the hierarchical inheritance of permissions. Once the custom vSphere role is created, assign **Global Permissions** in vSphere to the accounts or groups used for the Packer to vSphere integration, if using the content library.
1850
+
1851
+
For example:
1852
+
1853
+
1. Log in to the vCenter at _https://<vcenter_fqdn>/ui_ as `administrator@vsphere.local`.
1854
+
2. Select **Menu** > **Administration**.
1855
+
3. In the left pane, select **Access control** > **Global permissions** and click the
1856
+
**Add permissions** icon.
1857
+
4. In the **Add permissions** dialog box, enter the service account
1858
+
(_e.g._`svc-packer-vsphere@example.com`), select the custom role
1859
+
(_e.g._ Packer to vSphere Integration Role) and the **Propagate to children** check box,
1860
+
and click **OK**.
1861
+
1862
+
In an environment with many vCenter instances, such as management and workload, in enhanced
1863
+
linked-mode, you may wish to further reduce the scope of access across the vSphere infrastructure if
1864
+
you do not want Packer to have access to the management vCenter instance, but only allow
1865
+
access to workload vCenter instances.
1866
+
1867
+
For example:
1868
+
1869
+
1. From the **Hosts and clusters** inventory, select management vCenter Server to restrict scope,
1870
+
and click the **Permissions** tab.
1871
+
2. Select the service account with the custom role assigned and click the **Change role** icon.
1872
+
3. In the **Change role** dialog box, from the **Role** drop-down menu, select **No Access**, select
1873
+
the **Propagate to children** check box, and click **OK**.
Global permissions **[are required](https://techdocs.broadcom.com/us/en/vmware-cis/vsphere/vsphere/8-0/vsphere-security-8-0/vsphere-permissions-and-user-management-tasks/understanding-authorization-in-vsphere.html)** for the content library based on the hierarchical inheritance of permissions. Once the custom vSphere role is created, assign **Global Permissions** in vSphere to the accounts or groups used for the Packer to vSphere integration, if using the content library.
1774
1775
1775
1776
For example:
1776
1777
1777
-
1. Log in to the vCenter Server at _https://<management_vcenter_server_fqdn>/ui_ as `administrator@vsphere.local`.
1778
+
1. Log in to the vCenter at _https://<vcenter_fqdn>/ui_ as `administrator@vsphere.local`.
1778
1779
2. Select **Menu** > **Administration**.
1779
-
3. In the left pane, select **Access control** > **Global permissions** and click the **Add permissions** icon.
1780
-
4. In the **Add permissions** dialog box, enter the service account (_e.g._
1781
-
`svc-packer-vsphere@example.com`), select the custom role (_e.g._ Packer to vSphere Integration
1782
-
Role) and the **Propagate to children** check box, and click **OK**.
1780
+
3. In the left pane, select **Access control** > **Global permissions** and click the
1781
+
**Add permissions** icon.
1782
+
4. In the **Add permissions** dialog box, enter the service account
1783
+
(_e.g._`svc-packer-vsphere@example.com`), select the custom role
1784
+
(_e.g._ Packer to vSphere Integration Role) and the **Propagate to children** check box,
1785
+
and click **OK**.
1783
1786
1784
1787
In an environment with many vCenter instances, such as management and workload, in enhanced
1785
1788
linked-mode, you may wish to further reduce the scope of access across the vSphere infrastructure if
0 commit comments