doc-exports/docs/obs/umn/obs_03_0122.html
zhangyue 4e67ec282b 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>
2023-09-21 09:16:48 +00:00

53 lines
7.3 KiB
HTML

<a name="obs_03_0122"></a><a name="obs_03_0122"></a>
<h1 class="topictitle1">Creating an IAM User and Granting OBS Permissions</h1>
<div id="body1558061572625"><div class="section" id="obs_03_0122__section35143124418"><h4 class="sectiontitle">Process</h4><div class="fignone" id="obs_03_0122__fig292324264713"><span class="figcap"><b>Figure 1 </b>Process of granting an IAM user the OBS permissions</span><br><span><img id="obs_03_0122__image12924124212474" src="en-us_image_0170301902.png"></span></div>
</div>
<div class="section" id="obs_03_0122__section2074420567337"><h4 class="sectiontitle">Procedure</h4><ol id="obs_03_0122__ol63831030102"><li id="obs_03_0122__li35354147174321"><span>Log in to the management console with your account.</span></li><li id="obs_03_0122__li5853192561010"><span>On the top menu bar, choose <strong id="obs_03_0122__b149371518121613">Service List</strong> &gt; <strong id="obs_03_0122__b29379189163">Management &amp; Deployment</strong> &gt; <strong id="obs_03_0122__b1293761819168">Identity and Access Management</strong>. The IAM console is displayed.</span></li><li id="obs_03_0122__li257313485116"><span>Create a user group and assign OBS permissions to it.</span><p><div class="p" id="obs_03_0122__p371751915195">A user group is a collection of users. By assigning permissions to a user group, you assign permissions to the users in this group. After you create an IAM user, add it to one or more user groups, so that it can inherit the permissions from the groups.<ol type="a" id="obs_03_0122__ol28671118201912"><li id="obs_03_0122__li78661718151913">In the navigation pane, choose <strong id="obs_03_0122__b0624202611174">User Groups</strong>. The <strong id="obs_03_0122__b8624112618178">User Groups</strong> page is displayed.</li><li id="obs_03_0122__li286617189195">Click <span class="uicontrol" id="obs_03_0122__uicontrol230942777211457"><b>Create User Group</b></span>.</li><li id="obs_03_0122__li1886641801917">Enter a user group name and click <strong id="obs_03_0122__b779483571714">OK</strong>.<p id="obs_03_0122__p3866171841910">The user group is displayed in the user group list once the creation is complete.</p>
</li><li id="obs_03_0122__li19866191819199">Locate the user group you created and click <strong id="obs_03_0122__b834625118178">Modify</strong> in the <strong id="obs_03_0122__b19346105117174">Operation</strong> column of the row.</li><li id="obs_03_0122__li1286721818193">In the <strong id="obs_03_0122__b1813981018595">Group Permissions</strong> area, locate <strong id="obs_03_0122__b166361281309">OBS (S3)</strong>, click <strong id="obs_03_0122__b145811817302">Attach Policy</strong> in the <strong id="obs_03_0122__b151884218015">Operation</strong> column, select the policy name, and click <strong id="obs_03_0122__b112537337019">OK</strong>.<div class="note" id="obs_03_0122__note12867161811198"><img src="public_sys-resources/note_3.0-en-us.png"><span class="notetitle"> </span><div class="notebody"><p id="obs_03_0122__p128671018121916">In the <strong id="obs_03_0122__b1318212383618">Policy Information</strong> area, you can view the details about the policy.</p>
<p id="obs_03_0122__p13867318161917">Due to data caching, an RBAC policy or a fine-grained policy involving OBS actions will take effect 10 to 15 minutes after it is attached to a user or a user group.</p>
</div></div>
</li></ol>
</div>
</p></li><li id="obs_03_0122__li17712194912"><span>Create a user.</span><p><ol type="a" id="obs_03_0122__ol6893174016015"><li id="obs_03_0122__li84578140715">In the navigation pane, choose <strong id="obs_03_0122__b1645363019241">Users</strong>. The <strong id="obs_03_0122__b174541830102416">Users</strong> page is displayed.</li><li id="obs_03_0122__li75875232719">Click <strong id="obs_03_0122__b16239139183714">Create User</strong>.</li><li id="obs_03_0122__li08941740305">Set user information and click <strong id="obs_03_0122__b897712100378">Next</strong>.
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="obs_03_0122__table127131345071" frame="border" border="1" rules="all"><caption><b>Table 1 </b>User parameters</caption><thead align="left"><tr id="obs_03_0122__row4714144517714"><th align="left" class="cellrowborder" valign="top" width="26.729999999999997%" id="mcps1.3.2.2.4.2.1.3.2.2.3.1.1"><p id="obs_03_0122__p137145451578">Parameter</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="73.27%" id="mcps1.3.2.2.4.2.1.3.2.2.3.1.2"><p id="obs_03_0122__p1071417451679">Description</p>
</th>
</tr>
</thead>
<tbody><tr id="obs_03_0122__row157141451376"><td class="cellrowborder" valign="top" width="26.729999999999997%" headers="mcps1.3.2.2.4.2.1.3.2.2.3.1.1 "><p id="obs_03_0122__p1971404515717">Username</p>
</td>
<td class="cellrowborder" valign="top" width="73.27%" headers="mcps1.3.2.2.4.2.1.3.2.2.3.1.2 "><p id="obs_03_0122__p1871494519719">The user name for logging in to the cloud service.</p>
</td>
</tr>
<tr id="obs_03_0122__row37141245171"><td class="cellrowborder" valign="top" width="26.729999999999997%" headers="mcps1.3.2.2.4.2.1.3.2.2.3.1.1 "><p id="obs_03_0122__p3714645874">Credential Type</p>
</td>
<td class="cellrowborder" valign="top" width="73.27%" headers="mcps1.3.2.2.4.2.1.3.2.2.3.1.2 "><div class="p" id="obs_03_0122__p1652150296">A credential refers to the identity credential used for user system authentication. In this example, password is selected.<ul id="obs_03_0122__ul194541357781"><li id="obs_03_0122__li1545412571989"><strong id="obs_03_0122__b293243261112">Password</strong>: Used for accessing cloud services using the console or development tools.</li><li id="obs_03_0122__li1945475715812"><strong id="obs_03_0122__b4990439141110">Access key</strong>: Used for logging to the cloud service using development tools. This credential type is more secure, and is recommended if the user does not need to use the console.</li></ul>
</div>
</td>
</tr>
<tr id="obs_03_0122__row67141445471"><td class="cellrowborder" valign="top" width="26.729999999999997%" headers="mcps1.3.2.2.4.2.1.3.2.2.3.1.1 "><p id="obs_03_0122__p167148452713">User Groups</p>
</td>
<td class="cellrowborder" valign="top" width="73.27%" headers="mcps1.3.2.2.4.2.1.3.2.2.3.1.2 "><p id="obs_03_0122__p1471412456719">You can add a user to one or more user groups. Then the user will inherit the permissions granted to these user groups. The default user group <strong id="obs_03_0122__b181532620463">admin</strong> has the administrator permissions and all of the permissions required to use all cloud resources.</p>
</td>
</tr>
<tr id="obs_03_0122__row16714184512714"><td class="cellrowborder" valign="top" width="26.729999999999997%" headers="mcps1.3.2.2.4.2.1.3.2.2.3.1.1 "><p id="obs_03_0122__p142481183015">Description</p>
</td>
<td class="cellrowborder" valign="top" width="73.27%" headers="mcps1.3.2.2.4.2.1.3.2.2.3.1.2 "><p id="obs_03_0122__p167144453719">(Optional) Brief description about the user.</p>
</td>
</tr>
</tbody>
</table>
</div>
</li><li id="obs_03_0122__li1878212359116">Select a type for password generation, set the email address and mobile number, and click <strong id="obs_03_0122__b12462145916241">OK</strong>.</li></ol>
</p></li><li id="obs_03_0122__li193181327107"><span>Use the created IAM user to log in to OBS Console and verify the user permissions.</span></li></ol>
</div>
</div>
<div>
<div class="familylinks">
<div class="parentlink"><strong>Parent topic:</strong> <a href="obs_03_0144.html">Configuring IAM Policies</a></div>
</div>
</div>