VirtualBox

source: vbox/trunk/doc/manual/en_US/man_VBoxManage-encryptvm.xml@ 95209

Last change on this file since 95209 was 94811, checked in by vboxsync, 3 years ago

Config.kmk,ExtPacks/Puel,doc: Enable the full VM encryption code by default, expose the cryptographic module in the extension pack and include the VBoxManage help in the manual, bugref:9955 [build fix]

  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
File size: 7.7 KB
Line 
1<?xml version="1.0" encoding="UTF-8"?>
2<!--
3 manpage, user manual, usage: VBoxManage encryptvm
4
5 Copyright (C) 2006-2020 Oracle Corporation
6
7 This file is part of VirtualBox Open Source Edition (OSE), as
8 available from http://www.virtualbox.org. This file is free software;
9 you can redistribute it and/or modify it under the terms of the GNU
10 General Public License (GPL) as published by the Free Software
11 Foundation, in version 2 as it comes in the "COPYING" file of the
12 VirtualBox OSE distribution. VirtualBox OSE is distributed in the
13 hope that it will be useful, but WITHOUT ANY WARRANTY of any kind.
14 -->
15<!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
16 "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd"[
17<!ENTITY % all.entities SYSTEM "all-entities.ent">
18%all.entities;
19]>
20<refentry id="vboxmanage-encryptvm" lang="en">
21 <refentryinfo>
22 <pubdate>$Date: 2022-05-04 08:37:50 +0000 (Wed, 04 May 2022) $</pubdate>
23 <title>VBoxManage encryptvm</title>
24 </refentryinfo>
25
26 <refmeta>
27 <refentrytitle>VBoxManage-encryptvm</refentrytitle>
28 <manvolnum>1</manvolnum>
29 </refmeta>
30
31 <refnamediv>
32 <refname>VBoxManage-encryptvm</refname>
33 <refpurpose>change encryption and passwords of the VM</refpurpose>
34 <refclass>&product-name;</refclass>
35 </refnamediv>
36
37 <refsynopsisdiv>
38 <cmdsynopsis id="synopsis-vboxmanage-encryptvm-setencryption">
39 <!-- The 'id' is mandatory and must start with 'synopsis-'. -->
40 <command>VBoxManage encryptvm</command>
41 <group choice="req">
42 <arg choice="plain"><replaceable>uuid</replaceable></arg>
43 <arg choice="plain"><replaceable>vmname</replaceable></arg>
44 </group>
45 <arg choice="plain">setencryption</arg>
46 <arg choice="plain">--old-password <replaceable>file</replaceable></arg>
47 <arg choice="plain">--cipher <replaceable>cipher-identifier</replaceable></arg>
48 <arg choice="plain">--new-password <replaceable>file</replaceable></arg>
49 <arg choice="plain">--new-password-id <replaceable>password-identifier</replaceable></arg>
50 <arg choice="plain">--force</arg>
51 </cmdsynopsis>
52
53 <cmdsynopsis id="synopsis-vboxmanage-encryptvm-checkpassword">
54 <command>VBoxManage encryptvm</command>
55 <group choice="req">
56 <arg choice="plain"><replaceable>uuid</replaceable></arg>
57 <arg choice="plain"><replaceable>vmname</replaceable></arg>
58 </group>
59 <arg choice="plain">checkpassword</arg>
60 <arg choice="req"><replaceable>file</replaceable></arg>
61 </cmdsynopsis>
62
63 <cmdsynopsis id="synopsis-vboxmanage-encryptvm-addpassword">
64 <command>VBoxManage encryptvm</command>
65 <group choice="req">
66 <arg choice="plain"><replaceable>uuid</replaceable></arg>
67 <arg choice="plain"><replaceable>vmname</replaceable></arg>
68 </group>
69 <arg choice="plain">addpassword</arg>
70 <arg choice="plain">--password <replaceable>file</replaceable></arg>
71 <arg choice="plain">--password-id <replaceable>password-identifier</replaceable></arg>
72 </cmdsynopsis>
73
74 <cmdsynopsis id="synopsis-vboxmanage-encryptvm-removepassword">
75 <command>VBoxManage encryptvm</command>
76 <group choice="req">
77 <arg choice="plain"><replaceable>uuid</replaceable></arg>
78 <arg choice="plain"><replaceable>vmname</replaceable></arg>
79 </group>
80 <arg choice="plain">removepassword</arg>
81 <arg choice="req"><replaceable>password-identifier</replaceable></arg>
82 </cmdsynopsis>
83 </refsynopsisdiv>
84
85 <refsect1>
86 <title>Description</title>
87 <para>
88 The <command>VBoxManage encryptvm</command> command enables you to
89 change the encryption or add and remove user passwords for the
90 virtual machine (VM). The following sections describe the subcommands
91 that you can use:
92 </para>
93 <refsect2 id="vboxmanage-encryptvm-setencryption">
94 <title>Set encryption of the Virtual Machine</title>
95 <remark role="help-copy-synopsis"/>
96 <para>
97 The <command>VBoxManage encryptvm
98 <replaceable>vmname</replaceable> setencryption</command> command
99 changes encryption of a VM.
100 </para>
101 <para>
102 Use the <option>--old-password</option> to supply old encryption
103 password. Either specify the absolute pathname of a password file
104 on the host operating system, or <literal>-</literal> to prompt
105 you for the old password.
106 </para>
107 <para>
108 Use the <option>--cipher</option> option to specify the
109 new cipher for encryption of the VM. Only <literal>AES-128</literal>
110 and <literal>AES-256</literal> are supported. Appropriate mode
111 GCM, CTR or XTS will be selected by VM depending on encrypting
112 component.
113 </para>
114 <para>
115 Use the <option>--new-password</option> option to specify the
116 new password for encryption of the VM. Either specify the absolute
117 pathname of a password file on the host operating system, or
118 <literal>-</literal> to prompt you for the new password.
119 </para>
120 <para>
121 Use the <option>--new-password-id</option> option to specify the
122 new id for the password for encryption of the VM.
123 </para>
124 <para>
125 Use the <option>--force</option> option to make the system
126 to reencrypt the VM instead of simple changing the password.
127 </para>
128 </refsect2>
129 <refsect2 id="vboxmanage-encryptvm-checkpassword">
130 <title>Check the supplied password is correct</title>
131 <remark role="help-copy-synopsis"/>
132 <para>
133 The <command>VBoxManage encryptvm
134 <replaceable>vmname</replaceable> checkpassword</command> command
135 checks the correctness of the supplied password.
136 </para>
137 <para>
138 The password can be supplied from file. Specify the absolute
139 pathname of a password file on the host operating system. Also,
140 you can specify <literal>-</literal> to prompt you for the password.
141 </para>
142 </refsect2>
143 <refsect2 id="vboxmanage-encryptvm-addpassword">
144 <title>Add password for decrypting the Virtual Machine</title>
145 <remark role="help-copy-synopsis"/>
146 <para>
147 The <command>VBoxManage encryptvm
148 <replaceable>vmname</replaceable> addpassword</command> command
149 adds a password for decrypting the VM.
150 </para>
151 <para>
152 Use the <option>--password</option> to supply the encryption
153 password. Either specify the absolute pathname of a password file
154 on the host operating system, or <literal>-</literal> to prompt
155 you for the password.
156 </para>
157 <para>
158 Use the <option>--password-id</option> option to specify the
159 id the password is supplied for.
160 </para>
161 </refsect2>
162 <refsect2 id="vboxmanage-encryptvm-removepassword">
163 <title>Remove password used for decrypting the Virtual Machine</title>
164 <remark role="help-copy-synopsis"/>
165 <para>
166 The <command>VBoxManage encryptvm
167 <replaceable>vmname</replaceable> removepassword</command> command
168 removes a password used for decrypting the VM.
169 </para>
170 <para>
171 Specify the password identifier for removing. The password becomes
172 unknown and the VM can not be decrypted.
173 </para>
174 </refsect2>
175 </refsect1>
176
177 <refsect1>
178 <title>Examples</title>
179 <remark role="help-scope" condition="GLOBAL" />
180 <para>
181 The following command encrypts the <filename>ol7</filename> VM using
182 AES-256 giving password via command prompt:
183 </para>
184<screen>$ VBoxManage encryptvm ol7 setencryption --cipher=AES-256 --new-password - --new-password-id vmid</screen>
185 </refsect1>
186
187 <refsect1>
188 <title>See Also</title>
189 <para>
190 <xref linkend="vboxmanage-createvm" />,
191 </para>
192 </refsect1>
193</refentry>
Note: See TracBrowser for help on using the repository browser.

© 2025 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette