VirtualBox

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

Last change on this file since 96301 was 96300, checked in by vboxsync, 2 years ago

doc: comment fixing

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

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