forked from docs/doc-exports
Reviewed-by: Sabelnikov, Dmitriy <dmitriy.sabelnikov@t-systems.com> Co-authored-by: zhangyue <zhangyue164@huawei.com> Co-committed-by: zhangyue <zhangyue164@huawei.com>
42 lines
6.0 KiB
HTML
42 lines
6.0 KiB
HTML
<a name="obs_03_1058"></a><a name="obs_03_1058"></a>
|
|
|
|
<h1 class="topictitle1">Adding an External Bucket</h1>
|
|
<div id="body0000001242946641"><p id="obs_03_1058__en-us_topic_0045829133_p52149544">Add buckets of other users through OBS Browser+.</p>
|
|
<div class="section" id="obs_03_1058__en-us_topic_0045829133_section66692715"><h4 class="sectiontitle">Prerequisites</h4><p id="obs_03_1058__en-us_topic_0045829133_p30045120">You have been granted the ACL permissions to access buckets of other users.</p>
|
|
<p id="obs_03_1058__en-us_topic_0045829133_p45746376105231">For example, account A needs to add bucket <strong id="obs_03_1058__b275164316368">bucket_share</strong> of account B to itself for it to read objects stored in bucket <strong id="obs_03_1058__b14761343123613">bucket_share</strong>. To do this, account B must obtain the <strong id="obs_03_1058__b6771643203615">Account ID</strong> of account A and grant account A the read permission on bucket <strong id="obs_03_1058__b147818434361">bucket_share</strong> through OBS Console.</p>
|
|
<p id="obs_03_1058__en-us_topic_0045829133_p29633501105234">Account A can obtain its account ID (same as the owner ID) from the <strong id="obs_03_1058__b864893612297">Basic Information</strong> page of the bucket.</p>
|
|
<p id="obs_03_1058__en-us_topic_0045829133_p64205905175225">If account B has granted anonymous users the read permission on bucket <strong id="obs_03_1058__b11246194114307">bucket_share</strong>, all users registered with OBS can add bucket <strong id="obs_03_1058__b17247194123013">bucket_share</strong>. For details about how to grant permissions to anonymous users, see <a href="obs_03_1049.html">Configuring a Bucket ACL</a>.</p>
|
|
</div>
|
|
<div class="section" id="obs_03_1058__section9551584594"><h4 class="sectiontitle">Procedure</h4><ol id="obs_03_1058__en-us_topic_0045829133_ol27302557"><li id="obs_03_1058__en-us_topic_0045829133_li44396429"><span>Log in to OBS Browser+.</span></li><li id="obs_03_1058__en-us_topic_0045829133_li57400026144747"><span>In the navigation pane, choose <strong id="obs_03_1058__b83896311332">External Bucket</strong>, as shown in <a href="#obs_03_1058__fig11715141135020">Figure 1</a>.</span><p><div class="fignone" id="obs_03_1058__fig11715141135020"><a name="obs_03_1058__fig11715141135020"></a><a name="fig11715141135020"></a><span class="figcap"><b>Figure 1 </b>External buckets</span></div>
|
|
<p id="obs_03_1058__p49121018553"></p>
|
|
<p id="obs_03_1058__p17535138131210"></p>
|
|
<p id="obs_03_1058__p101911639131116"></p>
|
|
<p id="obs_03_1058__p139121118952"></p>
|
|
<p id="obs_03_1058__p1191211182519"><span><img id="obs_03_1058__image091218187517" src="en-us_image_0000001222917746.png" title="Click to enlarge" class="imgResize"></span></p>
|
|
</p></li><li id="obs_03_1058__en-us_topic_0045829133_li32501126"><span>Click <strong id="obs_03_1058__b151337385398">Add</strong>. In the <strong id="obs_03_1058__b19718522396">Add External Bucket</strong> dialog box, enter the external bucket name and click <strong id="obs_03_1058__b8989141934013">OK</strong>, as shown in <a href="#obs_03_1058__fig174389178182">Figure 2</a>.</span><p><div class="fignone" id="obs_03_1058__fig174389178182"><a name="obs_03_1058__fig174389178182"></a><a name="fig174389178182"></a><span class="figcap"><b>Figure 2 </b>Adding an external bucket</span></div>
|
|
<p id="obs_03_1058__p1552720491318"></p>
|
|
<p id="obs_03_1058__p158412347496"></p>
|
|
<p id="obs_03_1058__p5722111201011"><span><img id="obs_03_1058__image1137141215100" src="en-us_image_0000001223237726.png" title="Click to enlarge" class="imgResize"></span></p>
|
|
<p id="obs_03_1058__p1423555112178">An external bucket name must be globally unique and:</p>
|
|
<ul id="obs_03_1058__ul223518519172"><li id="obs_03_1058__li62353514171">Must be 3 to 63 characters long and start with a digit or letter. Only lowercase letters, digits, hyphens (-), and periods (.) are allowed.</li><li id="obs_03_1058__li6235185121718">Cannot be formatted as an IP address.</li><li id="obs_03_1058__li1235185131716">Cannot start or end with a hyphen (-) or period (.).</li><li id="obs_03_1058__li8235185111175">Cannot contain two consecutive periods (..), for example, <strong id="obs_03_1058__b19858134810506">my..bucket</strong>.</li><li id="obs_03_1058__li723555113172">Cannot contain a period (.) and a hyphen (-) adjacent to each other, for example, <strong id="obs_03_1058__b19677312145212">my-.bucket</strong> or <strong id="obs_03_1058__b136852121520">my.-bucket</strong>.</li></ul>
|
|
<p id="obs_03_1058__p2235751111715">After external buckets are added, you can see them in the bucket list and have ACL access permissions for them.</p>
|
|
<div class="note" id="obs_03_1058__note1669991817445"><img src="public_sys-resources/note_3.0-en-us.png"><span class="notetitle"> </span><div class="notebody"><p id="obs_03_1058__p1369941844420">If the added external bucket has requester pays enabled, the requester who accesses this bucket needs to pay for the request and associated data transfer and the bucket owner only pays the cost of storing data.</p>
|
|
</div></div>
|
|
</p></li></ol>
|
|
</div>
|
|
<div class="section" id="obs_03_1058__en-us_topic_0045829133_section32172395"><h4 class="sectiontitle">Example</h4><p id="obs_03_1058__en-us_topic_0045829133_p59051924">If you grant anonymous users the read and write permissions on bucket <strong id="obs_03_1058__b4217799214">test</strong>, anonymous users can log in to OBS Browser+ and add bucket <strong id="obs_03_1058__b628411520222">test</strong> using their own accounts, so they can access the bucket locally. On the external bucket page of OBS Browser+, anonymous users can see bucket <strong id="obs_03_1058__b650747152416">test</strong> in the list and have the write permission for the bucket. They can upload, overwrite, and delete any object in bucket <strong id="obs_03_1058__b861863714247">test</strong>.</p>
|
|
</div>
|
|
</div>
|
|
<div>
|
|
<div class="familylinks">
|
|
<div class="parentlink"><strong>Parent topic:</strong> <a href="obs_03_1056.html">External Bucket Adding</a></div>
|
|
</div>
|
|
</div>
|
|
|
|
|
|
<script language="JavaScript">
|
|
<!--
|
|
image_size('.imgResize');
|
|
var msg_imageMax = "view original image";
|
|
var msg_imageClose = "close";
|
|
//--></script> |