Files
doc-exports/docs/obs/umn/obs_03_0075.html
zhangyue 19668ae97b OBS UMN DOC
Reviewed-by: Sabelnikov, Dmitriy <dmitriy.sabelnikov@t-systems.com>
Co-authored-by: zhangyue <zhangyue164@huawei.com>
Co-committed-by: zhangyue <zhangyue164@huawei.com>
2025-05-20 13:11:00 +00:00

17 lines
2.6 KiB
HTML

<a name="obs_03_0075"></a><a name="obs_03_0075"></a>
<h1 class="topictitle1">Configuring an Object Policy</h1>
<div id="body1557123327164"><p id="obs_03_0075__p18416184972615">Object policies are applied to the objects in a bucket. With an object policy, you can configure conditions and actions for objects in a bucket.</p>
<div class="section" id="obs_03_0075__section04141638103516"><h4 class="sectiontitle">Procedure</h4><ol id="obs_03_0075__ol13366046143519"><li id="obs_03_0075__li17366184612352"><span>In the bucket list, click the bucket you want to operate to go to the <strong id="obs_03_0075__obs_03_0307_b5948183711913">Objects</strong> page.</span></li><li id="obs_03_0075__li1736612465351"><span>In the row containing the object for which you want to configure a policy, choose <strong id="obs_03_0075__b782613517271">More</strong> &gt; <strong id="obs_03_0075__b382615142717">Configure Object Policy</strong> in the <strong id="obs_03_0075__b1528217334713">Operation</strong> column. The <strong id="obs_03_0075__b128261551182712">Configure Object Policy</strong> page is displayed.</span><p><p id="obs_03_0075__p147675525213">You can customize a policy or use a preset template to configure one as needed.</p>
<ul id="obs_03_0075__ul194213017214"><li id="obs_03_0075__li1345413211730"><strong id="obs_03_0075__b59111374916">Using a preset template</strong>: The system presets object policy templates for multiple typical scenarios. You can use the templates to quickly configure object policies. </li><li id="obs_03_0075__li542113014220"><strong id="obs_03_0075__b196990012509">Customizing a policy</strong>: You can also customize an object policy based on your needs. A custom object policy consists of five basic elements: effect, principals, resources, actions, and conditions, similar to a bucket policy. For details, see <a href="obs_03_0074.html">Bucket Policy Parameters</a>. The resource is the selected object and is automatically configured by the system. For details about how to customize an object policy, see <a href="obs_03_0123.html">Configuring a Custom Bucket Policy (Common Mode)</a>. Different from customizing a bucket policy, to customize an object policy, you:<ol type="a" id="obs_03_0075__ol1310711250818"><li id="obs_03_0075__li1710716253819">Do not need to specify the resource.</li><li id="obs_03_0075__li77474391688">Can configure only object-related actions.</li></ol>
</li></ul>
</p></li></ol>
</div>
</div>
<div>
<div class="familylinks">
<div class="parentlink"><strong>Parent topic:</strong> <a href="obs_03_0086.html">Permissions Control</a></div>
</div>
</div>