doc-exports/docs/dis/api-ref/en-us_topic_0000001079240698.html
Xiong, Chen Xiao 83fa2f6615 DIS API 20230116 version
Reviewed-by: Kacur, Michal <michal.kacur@t-systems.com>
Co-authored-by: Xiong, Chen Xiao <chenxiaoxiong@huawei.com>
Co-committed-by: Xiong, Chen Xiao <chenxiaoxiong@huawei.com>
2023-06-27 15:26:05 +00:00

232 lines
21 KiB
HTML

<a name="EN-US_TOPIC_0000001079240698"></a><a name="EN-US_TOPIC_0000001079240698"></a>
<h1 class="topictitle1">Permissions Policies and Supported Actions</h1>
<div id="body0000001079240698"><p id="EN-US_TOPIC_0000001079240698__p960212431477">This chapter describes fine-grained permissions management for your DIS. If your cloud account does not need individual IAM users, then you may skip over this chapter.</p>
<p id="EN-US_TOPIC_0000001079240698__p1602164311711">By default, new IAM users do not have any permissions assigned. You need to add a user to one or more groups, and assign permissions policies to these groups. The user then inherits permissions from the groups it is a member of. This process is called authorization. After authorization, the user can perform specified operations on DIS based on the permissions.</p>
<p id="EN-US_TOPIC_0000001079240698__p13602443372">You can grant users permissions by using roles and policies. Roles are a type of coarse-grained authorization mechanism provided by IAM that defines permissions related to user responsibilities. Policies define API-based permissions for operations on specific resources under certain conditions, allowing for more fine-grained, secure access control of cloud resources.</p>
<p id="EN-US_TOPIC_0000001079240698__p660213435715">Note:</p>
<p id="EN-US_TOPIC_0000001079240698__p560214312714">Policy-based authorization is useful if you want to allow or deny the access to an API.</p>
<p id="EN-US_TOPIC_0000001079240698__p3602443574">An account has all of the permissions required to call all APIs, but IAM users must have the required permissions specifically assigned. The permissions required for calling an API are determined by the actions supported by the API. Only users who have been granted permissions allowing the actions can call the API successfully. For example, if an IAM user queries MRS clusters using an API, the user must have been granted permissions that allow the <strong id="EN-US_TOPIC_0000001079240698__b13905105218359">dis:streams:list</strong> action.</p>
<p id="EN-US_TOPIC_0000001079240698__p46032431479"><strong id="EN-US_TOPIC_0000001079240698__b95711610153618">Supported Actions</strong></p>
<p id="EN-US_TOPIC_0000001079240698__p146031431177">DIS provides system-defined policies that can be directly used in IAM. You can also create custom policies and use them to supplement system-defined policies, implementing more refined access control. Operations supported by policies are specific to APIs. The following are common concepts related to policies:</p>
<p id="EN-US_TOPIC_0000001079240698__p6603143875">&middot; Permission: A statement in a policy that allows or denies certain operations.</p>
<p id="EN-US_TOPIC_0000001079240698__p196038431776">&middot; APIs: REST APIs that can be called in a custom policy.</p>
<p id="EN-US_TOPIC_0000001079240698__p116031743279">&middot; Action: Specific operations that are allowed or denied.</p>
<p id="EN-US_TOPIC_0000001079240698__p156031437719">&middot; IAM or enterprise projects: Type of projects for which an action will take effect. Policies that contain actions supporting both IAM and enterprise projects can be assigned to user groups and take effect in both IAM and Enterprise Management. Policies that only contain actions for IAM projects can be used and only take effect for IAM.</p>
<p id="EN-US_TOPIC_0000001079240698__p1960316433713">Note:</p>
<p id="EN-US_TOPIC_0000001079240698__p26031431476">The check mark (√) indicates that an action takes effect. The cross mark (x) indicates that an action does not take effect.</p>
<p id="EN-US_TOPIC_0000001079240698__p156031743075"> <a href="#EN-US_TOPIC_0000001079240698__table397013152131">Table 1</a>lists the actions that can be defined in custom policies of DIS. All actions listed in the following table support both Project and Enterprise Project.</p>
<div class="tablenoborder"><a name="EN-US_TOPIC_0000001079240698__table397013152131"></a><a name="table397013152131"></a><table cellpadding="4" cellspacing="0" summary="" id="EN-US_TOPIC_0000001079240698__table397013152131" frame="border" border="1" rules="all"><caption><b>Table 1 </b>Permissions policies and supported actions</caption><tbody><tr id="EN-US_TOPIC_0000001079240698__row10972162135"><td class="cellrowborder" valign="top" width="36.01%"><p id="EN-US_TOPIC_0000001079240698__p15978169137"><strong id="EN-US_TOPIC_0000001079240698__b13973165131"><span style="color:#252B3A;">Operation</span></strong></p>
</td>
<td class="cellrowborder" valign="top" width="27.3%"><p id="EN-US_TOPIC_0000001079240698__p10981516121313"><strong id="EN-US_TOPIC_0000001079240698__b49811619132"><span style="color:#252B3A;">DIS Administrator</span></strong></p>
</td>
<td class="cellrowborder" valign="top" width="20.990000000000002%"><p id="EN-US_TOPIC_0000001079240698__p49816162139"><strong id="EN-US_TOPIC_0000001079240698__b498181651315"><span style="color:#252B3A;">DIS Operator</span></strong></p>
</td>
<td class="cellrowborder" valign="top" width="15.7%"><p id="EN-US_TOPIC_0000001079240698__p69881631320"><strong id="EN-US_TOPIC_0000001079240698__b1698171614131"><span style="color:#252B3A;">DIS User</span></strong></p>
</td>
</tr>
<tr id="EN-US_TOPIC_0000001079240698__row1598716171319"><td class="cellrowborder" valign="top" width="36.01%"><p id="EN-US_TOPIC_0000001079240698__p2981016171311"><span style="color:#252B3A;">Creating streams</span></p>
</td>
<td class="cellrowborder" valign="top" width="27.3%"><p id="EN-US_TOPIC_0000001079240698__p1998121621320"><span style="color:#252B3A;"></span></p>
</td>
<td class="cellrowborder" valign="top" width="20.990000000000002%"><p id="EN-US_TOPIC_0000001079240698__p1198316191318"><span style="color:#252B3A;"></span></p>
</td>
<td class="cellrowborder" valign="top" width="15.7%"><p id="EN-US_TOPIC_0000001079240698__p169881611136"><span style="color:#252B3A;">x</span></p>
</td>
</tr>
<tr id="EN-US_TOPIC_0000001079240698__row1498816111310"><td class="cellrowborder" valign="top" width="36.01%"><p id="EN-US_TOPIC_0000001079240698__p59821661314"><span style="color:#252B3A;">Deleting streams</span></p>
</td>
<td class="cellrowborder" valign="top" width="27.3%"><p id="EN-US_TOPIC_0000001079240698__p14981216111316"><span style="color:#252B3A;"></span></p>
</td>
<td class="cellrowborder" valign="top" width="20.990000000000002%"><p id="EN-US_TOPIC_0000001079240698__p1798181691312"><span style="color:#252B3A;"></span></p>
</td>
<td class="cellrowborder" valign="top" width="15.7%"><p id="EN-US_TOPIC_0000001079240698__p139815162134"><span style="color:#252B3A;">x</span></p>
</td>
</tr>
<tr id="EN-US_TOPIC_0000001079240698__row11995160134"><td class="cellrowborder" valign="top" width="36.01%"><p id="EN-US_TOPIC_0000001079240698__p2991316161310"><span style="color:#252B3A;">Querying the stream list</span></p>
</td>
<td class="cellrowborder" valign="top" width="27.3%"><p id="EN-US_TOPIC_0000001079240698__p4990169139"><span style="color:#252B3A;"></span></p>
</td>
<td class="cellrowborder" valign="top" width="20.990000000000002%"><p id="EN-US_TOPIC_0000001079240698__p699111611316"><span style="color:#252B3A;"></span></p>
</td>
<td class="cellrowborder" valign="top" width="15.7%"><p id="EN-US_TOPIC_0000001079240698__p1299141671315"><span style="color:#252B3A;"></span></p>
</td>
</tr>
<tr id="EN-US_TOPIC_0000001079240698__row109951619131"><td class="cellrowborder" valign="top" width="36.01%"><p id="EN-US_TOPIC_0000001079240698__p599121631318"><span style="color:#252B3A;">Querying stream details</span></p>
</td>
<td class="cellrowborder" valign="top" width="27.3%"><p id="EN-US_TOPIC_0000001079240698__p8999164134"><span style="color:#252B3A;"></span></p>
</td>
<td class="cellrowborder" valign="top" width="20.990000000000002%"><p id="EN-US_TOPIC_0000001079240698__p799416131318"><span style="color:#252B3A;"></span></p>
</td>
<td class="cellrowborder" valign="top" width="15.7%"><p id="EN-US_TOPIC_0000001079240698__p129921621311"><span style="color:#252B3A;"></span></p>
</td>
</tr>
<tr id="EN-US_TOPIC_0000001079240698__row14993166133"><td class="cellrowborder" valign="top" width="36.01%"><p id="EN-US_TOPIC_0000001079240698__p09901671316"><span style="color:#252B3A;">Viewing stream monitoring information</span></p>
</td>
<td class="cellrowborder" valign="top" width="27.3%"><p id="EN-US_TOPIC_0000001079240698__p19951691315"><span style="color:#252B3A;"></span></p>
</td>
<td class="cellrowborder" valign="top" width="20.990000000000002%"><p id="EN-US_TOPIC_0000001079240698__p79911162133"><span style="color:#252B3A;"></span></p>
</td>
<td class="cellrowborder" valign="top" width="15.7%"><p id="EN-US_TOPIC_0000001079240698__p699616161316"><span style="color:#252B3A;"></span></p>
</td>
</tr>
<tr id="EN-US_TOPIC_0000001079240698__row299141610134"><td class="cellrowborder" valign="top" width="36.01%"><p id="EN-US_TOPIC_0000001079240698__p299916161318"><span style="color:#252B3A;">Querying partition monitoring information</span></p>
</td>
<td class="cellrowborder" valign="top" width="27.3%"><p id="EN-US_TOPIC_0000001079240698__p4100316181319"><span style="color:#252B3A;"></span></p>
</td>
<td class="cellrowborder" valign="top" width="20.990000000000002%"><p id="EN-US_TOPIC_0000001079240698__p31001316161315"><span style="color:#252B3A;"></span></p>
</td>
<td class="cellrowborder" valign="top" width="15.7%"><p id="EN-US_TOPIC_0000001079240698__p210031681314"><span style="color:#252B3A;"></span></p>
</td>
</tr>
<tr id="EN-US_TOPIC_0000001079240698__row1610011168135"><td class="cellrowborder" valign="top" width="36.01%"><p id="EN-US_TOPIC_0000001079240698__p1510071615134"><span style="color:#252B3A;">Obtaining stream consumption information</span></p>
</td>
<td class="cellrowborder" valign="top" width="27.3%"><p id="EN-US_TOPIC_0000001079240698__p17100616201319"><span style="color:#252B3A;"></span></p>
</td>
<td class="cellrowborder" valign="top" width="20.990000000000002%"><p id="EN-US_TOPIC_0000001079240698__p1310081617130"><span style="color:#252B3A;"></span></p>
</td>
<td class="cellrowborder" valign="top" width="15.7%"><p id="EN-US_TOPIC_0000001079240698__p2100216141313"><span style="color:#252B3A;"></span></p>
</td>
</tr>
<tr id="EN-US_TOPIC_0000001079240698__row41001216111317"><td class="cellrowborder" valign="top" width="36.01%"><p id="EN-US_TOPIC_0000001079240698__p121001916151318"><span style="color:#252B3A;">Changing partition quantity</span></p>
</td>
<td class="cellrowborder" valign="top" width="27.3%"><p id="EN-US_TOPIC_0000001079240698__p210031671316"><span style="color:#252B3A;"></span></p>
</td>
<td class="cellrowborder" valign="top" width="20.990000000000002%"><p id="EN-US_TOPIC_0000001079240698__p810017166133"><span style="color:#252B3A;"></span></p>
</td>
<td class="cellrowborder" valign="top" width="15.7%"><p id="EN-US_TOPIC_0000001079240698__p11001916161319"><span style="color:#252B3A;">x</span></p>
</td>
</tr>
<tr id="EN-US_TOPIC_0000001079240698__row16100151614133"><td class="cellrowborder" valign="top" width="36.01%"><p id="EN-US_TOPIC_0000001079240698__p1210181681319"><span style="color:#252B3A;">Uploading data</span></p>
</td>
<td class="cellrowborder" valign="top" width="27.3%"><p id="EN-US_TOPIC_0000001079240698__p010118161139"><span style="color:#252B3A;"></span></p>
</td>
<td class="cellrowborder" valign="top" width="20.990000000000002%"><p id="EN-US_TOPIC_0000001079240698__p141011162137"><span style="color:#252B3A;">x</span></p>
</td>
<td class="cellrowborder" valign="top" width="15.7%"><p id="EN-US_TOPIC_0000001079240698__p7101716131312"><span style="color:#252B3A;"></span></p>
</td>
</tr>
<tr id="EN-US_TOPIC_0000001079240698__row1110101681320"><td class="cellrowborder" valign="top" width="36.01%"><p id="EN-US_TOPIC_0000001079240698__p51015168131"><span style="color:#252B3A;">Obtaining data cursors</span></p>
</td>
<td class="cellrowborder" valign="top" width="27.3%"><p id="EN-US_TOPIC_0000001079240698__p5101201612133"><span style="color:#252B3A;"></span></p>
</td>
<td class="cellrowborder" valign="top" width="20.990000000000002%"><p id="EN-US_TOPIC_0000001079240698__p14101131617138"><span style="color:#252B3A;">x</span></p>
</td>
<td class="cellrowborder" valign="top" width="15.7%"><p id="EN-US_TOPIC_0000001079240698__p201016168133"><span style="color:#252B3A;"></span></p>
</td>
</tr>
<tr id="EN-US_TOPIC_0000001079240698__row6101101681318"><td class="cellrowborder" valign="top" width="36.01%"><p id="EN-US_TOPIC_0000001079240698__p9101181671319"><span style="color:#252B3A;">Downloading data</span></p>
</td>
<td class="cellrowborder" valign="top" width="27.3%"><p id="EN-US_TOPIC_0000001079240698__p710161611318"><span style="color:#252B3A;"></span></p>
</td>
<td class="cellrowborder" valign="top" width="20.990000000000002%"><p id="EN-US_TOPIC_0000001079240698__p810131661310"><span style="color:#252B3A;">x</span></p>
</td>
<td class="cellrowborder" valign="top" width="15.7%"><p id="EN-US_TOPIC_0000001079240698__p18101171671310"><span style="color:#252B3A;"></span></p>
</td>
</tr>
<tr id="EN-US_TOPIC_0000001079240698__row0101516121313"><td class="cellrowborder" valign="top" width="36.01%"><p id="EN-US_TOPIC_0000001079240698__p4101201621316"><span style="color:#252B3A;">Creating applications</span></p>
</td>
<td class="cellrowborder" valign="top" width="27.3%"><p id="EN-US_TOPIC_0000001079240698__p131021216191312"><span style="color:#252B3A;"></span></p>
</td>
<td class="cellrowborder" valign="top" width="20.990000000000002%"><p id="EN-US_TOPIC_0000001079240698__p1510271691320"><span style="color:#252B3A;"></span></p>
</td>
<td class="cellrowborder" valign="top" width="15.7%"><p id="EN-US_TOPIC_0000001079240698__p1410241671320"><span style="color:#252B3A;"></span></p>
</td>
</tr>
<tr id="EN-US_TOPIC_0000001079240698__row1510291617131"><td class="cellrowborder" valign="top" width="36.01%"><p id="EN-US_TOPIC_0000001079240698__p13102151615136"><span style="color:#252B3A;">Querying application details</span></p>
</td>
<td class="cellrowborder" valign="top" width="27.3%"><p id="EN-US_TOPIC_0000001079240698__p151027167133"><span style="color:#252B3A;"></span></p>
</td>
<td class="cellrowborder" valign="top" width="20.990000000000002%"><p id="EN-US_TOPIC_0000001079240698__p101021516101310"><span style="color:#252B3A;"></span></p>
</td>
<td class="cellrowborder" valign="top" width="15.7%"><p id="EN-US_TOPIC_0000001079240698__p11102616131311"><span style="color:#252B3A;"></span></p>
</td>
</tr>
<tr id="EN-US_TOPIC_0000001079240698__row1610291617132"><td class="cellrowborder" valign="top" width="36.01%"><p id="EN-US_TOPIC_0000001079240698__p41028168133"><span style="color:#252B3A;">Querying the application list</span></p>
</td>
<td class="cellrowborder" valign="top" width="27.3%"><p id="EN-US_TOPIC_0000001079240698__p181021716201317"><span style="color:#252B3A;"></span></p>
</td>
<td class="cellrowborder" valign="top" width="20.990000000000002%"><p id="EN-US_TOPIC_0000001079240698__p1510231621319"><span style="color:#252B3A;"></span></p>
</td>
<td class="cellrowborder" valign="top" width="15.7%"><p id="EN-US_TOPIC_0000001079240698__p15102111621320"><span style="color:#252B3A;"></span></p>
</td>
</tr>
<tr id="EN-US_TOPIC_0000001079240698__row910212163133"><td class="cellrowborder" valign="top" width="36.01%"><p id="EN-US_TOPIC_0000001079240698__p16102101610132"><span style="color:#252B3A;">Deleting applications</span></p>
</td>
<td class="cellrowborder" valign="top" width="27.3%"><p id="EN-US_TOPIC_0000001079240698__p310281661310"><span style="color:#252B3A;"></span></p>
</td>
<td class="cellrowborder" valign="top" width="20.990000000000002%"><p id="EN-US_TOPIC_0000001079240698__p4103101616139"><span style="color:#252B3A;"></span></p>
</td>
<td class="cellrowborder" valign="top" width="15.7%"><p id="EN-US_TOPIC_0000001079240698__p3103516151313"><span style="color:#252B3A;"></span></p>
</td>
</tr>
<tr id="EN-US_TOPIC_0000001079240698__row9103101619131"><td class="cellrowborder" valign="top" width="36.01%"><p id="EN-US_TOPIC_0000001079240698__p191034169132"><span style="color:#252B3A;">Adding checkpoints</span></p>
</td>
<td class="cellrowborder" valign="top" width="27.3%"><p id="EN-US_TOPIC_0000001079240698__p14103101618139"><span style="color:#252B3A;"></span></p>
</td>
<td class="cellrowborder" valign="top" width="20.990000000000002%"><p id="EN-US_TOPIC_0000001079240698__p610341631314"><span style="color:#252B3A;">x</span></p>
</td>
<td class="cellrowborder" valign="top" width="15.7%"><p id="EN-US_TOPIC_0000001079240698__p3103171614131"><span style="color:#252B3A;"></span></p>
</td>
</tr>
<tr id="EN-US_TOPIC_0000001079240698__row3103191621312"><td class="cellrowborder" valign="top" width="36.01%"><p id="EN-US_TOPIC_0000001079240698__p51038169137"><span style="color:#252B3A;">Querying checkpoints</span></p>
</td>
<td class="cellrowborder" valign="top" width="27.3%"><p id="EN-US_TOPIC_0000001079240698__p19103916171313"><span style="color:#252B3A;"></span></p>
</td>
<td class="cellrowborder" valign="top" width="20.990000000000002%"><p id="EN-US_TOPIC_0000001079240698__p2103716111317"><span style="color:#252B3A;"></span></p>
</td>
<td class="cellrowborder" valign="top" width="15.7%"><p id="EN-US_TOPIC_0000001079240698__p13103171651313"><span style="color:#252B3A;"></span></p>
</td>
</tr>
<tr id="EN-US_TOPIC_0000001079240698__row2010381620134"><td class="cellrowborder" valign="top" width="36.01%"><p id="EN-US_TOPIC_0000001079240698__p1310311162133"><span style="color:#252B3A;">Deleting checkpoints</span></p>
</td>
<td class="cellrowborder" valign="top" width="27.3%"><p id="EN-US_TOPIC_0000001079240698__p12103116121310"><span style="color:#252B3A;"></span></p>
</td>
<td class="cellrowborder" valign="top" width="20.990000000000002%"><p id="EN-US_TOPIC_0000001079240698__p7104191620134"><span style="color:#252B3A;">x</span></p>
</td>
<td class="cellrowborder" valign="top" width="15.7%"><p id="EN-US_TOPIC_0000001079240698__p6104316161317"><span style="color:#252B3A;"></span></p>
</td>
</tr>
<tr id="EN-US_TOPIC_0000001079240698__row18104916131320"><td class="cellrowborder" valign="top" width="36.01%"><p id="EN-US_TOPIC_0000001079240698__p171041616171311"><span style="color:#252B3A;">Creating dump tasks</span></p>
</td>
<td class="cellrowborder" valign="top" width="27.3%"><p id="EN-US_TOPIC_0000001079240698__p6104216171312"><span style="color:#252B3A;"></span></p>
</td>
<td class="cellrowborder" valign="top" width="20.990000000000002%"><p id="EN-US_TOPIC_0000001079240698__p2010461616138"><span style="color:#252B3A;"></span></p>
</td>
<td class="cellrowborder" valign="top" width="15.7%"><p id="EN-US_TOPIC_0000001079240698__p17104121691318"><span style="color:#252B3A;"></span></p>
</td>
</tr>
<tr id="EN-US_TOPIC_0000001079240698__row3104191611310"><td class="cellrowborder" valign="top" width="36.01%"><p id="EN-US_TOPIC_0000001079240698__p6104121612137"><span style="color:#252B3A;">Querying dump task details</span></p>
</td>
<td class="cellrowborder" valign="top" width="27.3%"><p id="EN-US_TOPIC_0000001079240698__p71044162133"><span style="color:#252B3A;"></span></p>
</td>
<td class="cellrowborder" valign="top" width="20.990000000000002%"><p id="EN-US_TOPIC_0000001079240698__p510431621319"><span style="color:#252B3A;"></span></p>
</td>
<td class="cellrowborder" valign="top" width="15.7%"><p id="EN-US_TOPIC_0000001079240698__p710481619135"><span style="color:#252B3A;"></span></p>
</td>
</tr>
<tr id="EN-US_TOPIC_0000001079240698__row01041616141315"><td class="cellrowborder" valign="top" width="36.01%"><p id="EN-US_TOPIC_0000001079240698__p11104181619137"><span style="color:#252B3A;">Querying the dump task list</span></p>
</td>
<td class="cellrowborder" valign="top" width="27.3%"><p id="EN-US_TOPIC_0000001079240698__p13105131613138"><span style="color:#252B3A;"></span></p>
</td>
<td class="cellrowborder" valign="top" width="20.990000000000002%"><p id="EN-US_TOPIC_0000001079240698__p20105316151310"><span style="color:#252B3A;"></span></p>
</td>
<td class="cellrowborder" valign="top" width="15.7%"><p id="EN-US_TOPIC_0000001079240698__p121051616181312"><span style="color:#252B3A;"></span></p>
</td>
</tr>
<tr id="EN-US_TOPIC_0000001079240698__row10105816131310"><td class="cellrowborder" valign="top" width="36.01%"><p id="EN-US_TOPIC_0000001079240698__p110516167134"><span style="color:#252B3A;">Deleting dump tasks</span></p>
</td>
<td class="cellrowborder" valign="top" width="27.3%"><p id="EN-US_TOPIC_0000001079240698__p9105121681317"><span style="color:#252B3A;"></span></p>
</td>
<td class="cellrowborder" valign="top" width="20.990000000000002%"><p id="EN-US_TOPIC_0000001079240698__p410581613132"><span style="color:#252B3A;"></span></p>
</td>
<td class="cellrowborder" valign="top" width="15.7%"><p id="EN-US_TOPIC_0000001079240698__p1910510168137"><span style="color:#252B3A;"></span></p>
</td>
</tr>
</tbody>
</table>
</div>
</div>