doc-exports/docs/obs/umn/obs_03_0322.html
zhangyue 7492b7b30f OBS UMN doc
Reviewed-by: Hasko, Vladimir <vladimir.hasko@t-systems.com>
Co-authored-by: zhangyue <zhangyue164@huawei.com>
Co-committed-by: zhangyue <zhangyue164@huawei.com>
2023-02-27 19:04:41 +00:00

29 lines
3.8 KiB
HTML

<a name="obs_03_0322"></a><a name="obs_03_0322"></a>
<h1 class="topictitle1">Uploading a File with Server-Side Encryption</h1>
<div id="body1499753333227"><p id="obs_03_0322__p47229409">OBS allows you to encrypt objects using server-side encryption so that the objects can be securely stored in OBS.</p>
<div class="section" id="obs_03_0322__section4247191810406"><h4 class="sectiontitle">Limitations and Constraints</h4><ul id="obs_03_0322__ul195776363401"><li id="obs_03_0322__li7577336174010">The object encryption status cannot be changed.</li><li id="obs_03_0322__li19577173644011">A key in use cannot be deleted. Otherwise, the object encrypted with this key cannot be downloaded.</li></ul>
</div>
<div class="section" id="obs_03_0322__s0d643ba8bc99487da02b86a7664d2605"><h4 class="sectiontitle">Prerequisites</h4><p id="obs_03_0322__aa0af249de5034728b787a097e2866e92">In the region where OBS is deployed, the <strong id="obs_03_0322__b17501648163">KMS Administrator</strong> permission has been added to the user group. For details about how to add permissions, see the <em id="obs_03_0322__i5440022175711">IAM User Guide</em>.</p>
</div>
<div class="section" id="obs_03_0322__section16043441174915"><h4 class="sectiontitle">Procedure</h4><ol id="obs_03_0322__ol10173245174915"><li id="obs_03_0322__li99821455306"><span>In the bucket list, click the bucket you want to operate. The <strong id="obs_03_0322__obs_03_0307_b1395123914108">Overview</strong> page of the bucket is displayed.</span></li><li id="obs_03_0322__li51927620"><span>In the navigation pane, click <strong id="obs_03_0322__b1002641003151849">Objects</strong>.</span></li><li id="obs_03_0322__li19771827250"><span>Click <strong id="obs_03_0322__b1862315018546">Upload Object</strong>. The <strong id="obs_03_0322__b14624105005416">Upload Object</strong> dialog box is displayed.</span></li><li id="obs_03_0322__l44ccecac0c874e978aaf39cb51f2aee3"><span>Add the files to be uploaded.</span></li><li id="obs_03_0322__lbc952448b05b47efb9b98c6b8b4f9cce"><span>Select <strong id="obs_03_0322__b1293516402362">KMS encryption</strong> and select a key that you have created on KMS.</span><p><div class="note" id="obs_03_0322__note1129514211218"><img src="public_sys-resources/note_3.0-en-us.png"><span class="notetitle"> </span><div class="notebody"><p id="obs_03_0322__obs_03_0307_obs_03_0306_p062133814520">If the default encryption has been enabled for the bucket, uploaded objects are automatically encrypted.</p>
</div></div>
<p id="obs_03_0322__p11270155115810">After <strong id="obs_03_0322__b912204988">KMS encryption</strong> is selected, <strong id="obs_03_0322__b214135012">obs/default</strong> is selected by default as the key for the encryption. You can also click <strong id="obs_03_0322__b382915177561">Create KMS Key</strong> to switch to the KMS management console and create a customer master key. Then go back to OBS Console and select the key from the drop-down list.</p>
<div class="fignone" id="obs_03_0322__fig14151753141216"><span class="figcap"><b>Figure 1 </b>Encrypting an object to be uploaded</span><br><span><img id="obs_03_0322__image318851011919" src="en-us_image_0130187638.png" title="Click to enlarge" class="imgResize"></span></div>
</p></li><li id="obs_03_0322__li12125192695311"><span>Click <strong id="obs_03_0322__b2095194211233">Upload</strong>.</span><p><p id="obs_03_0322__p1031815541623">After the object is uploaded successfully, you can view its encryption status in the object list.</p>
</p></li></ol>
</div>
</div>
<div>
<div class="familylinks">
<div class="parentlink"><strong>Parent topic:</strong> <a href="obs_03_0321.html">Server-Side Encryption</a></div>
</div>
</div>
<script language="JavaScript">
<!--
image_size('.imgResize');
var msg_imageMax = "view original image";
var msg_imageClose = "close";
//--></script>