Files
doc-exports/docs/ecs/api-ref/en-us_topic_0170316409.html
wanghuijuan738 effc5e0a2f ECS API 250919 verison. Updating dependent actions.
Reviewed-by: Pristromskaia, Margarita <margarita.pristromskaia@t-systems.com>
Reviewed-by: Hasko, Vladimir <vladimir.hasko@t-systems.com>
Co-authored-by: wanghuijuan738 <wanghuijuan738@huawei.com>
Co-committed-by: wanghuijuan738 <wanghuijuan738@huawei.com>
2025-11-14 18:58:00 +00:00

22 lines
5.7 KiB
HTML

<a name="EN-US_TOPIC_0170316409"></a><a name="EN-US_TOPIC_0170316409"></a>
<h1 class="topictitle1">Introduction</h1>
<div id="body1558076859038"><p id="EN-US_TOPIC_0170316409__p18526461975">You can use Identity and Access Management (IAM) for fine-grained permissions management of your ECSs. If your account does not need individual IAM users, you can skip this section.</p>
<p id="EN-US_TOPIC_0170316409__p19531646576">New IAM users do not have any permissions assigned by default. You need to first add them to one or more groups and attach policies or roles to these groups. The users then inherit permissions from the groups and can perform specified operations on cloud services based on the permissions they have been assigned.</p>
<p id="EN-US_TOPIC_0170316409__p92274279292">For more information about system-defined policies supported by ECS, see "Permissions" in the <em id="EN-US_TOPIC_0170316409__i570839141817">Elastic Cloud Server User Guide</em>.</p>
<div class="note" id="EN-US_TOPIC_0170316409__note69644451277"><img src="public_sys-resources/note_3.0-en-us.png"><span class="notetitle"> </span><div class="notebody"><p id="EN-US_TOPIC_0170316409__p15539182014114">If you want to allow or deny the access to an API, use policy-based authorization.</p>
</div></div>
<p id="EN-US_TOPIC_0170316409__p125444616717">Each account has all the permissions required to call all APIs, but IAM users must be assigned the required permissions. 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 wants to query ECSs using an API, the user must have been granted permissions that allow the <strong id="EN-US_TOPIC_0170316409__b1174615443151">ecs:servers:list</strong> action.</p>
<div class="section" id="EN-US_TOPIC_0170316409__section794711451173"><h4 class="sectiontitle">Supported Actions</h4><p id="EN-US_TOPIC_0170316409__p185434612715">ECS provides system-defined policies that can be directly used in IAM. You can also create custom policies to supplement system-defined policies for more refined access control. Operations supported by policies are specific to APIs. The following are common concepts related to policies:</p>
<ul id="EN-US_TOPIC_0170316409__ul15546466714"><li id="EN-US_TOPIC_0170316409__li1354164610714">Permissions: statements in a policy that allow or deny certain operations on specified resources under specific conditions.</li><li id="EN-US_TOPIC_0170316409__li193151213144">APIs: APIs that can be called by a custom policy</li><li id="EN-US_TOPIC_0170316409__li2545463711">Actions: specific operations that are allowed or denied in a custom policy</li><li id="EN-US_TOPIC_0170316409__li530819363144">Dependencies: actions which a specific action depends on. When allowing an action for a user, you also need to allow any existing action dependencies for that user.</li><li id="EN-US_TOPIC_0170316409__li1091013316254">IAM projects/Enterprise projects: Authorization scope of custom policies, which can be IAM projects, enterprise projects, or both. Custom policies that contain actions for both IAM projects and enterprise projects can be assigned to user groups and be applied in both IAM and Enterprise Management. Policies that contain actions only for IAM projects can be assigned to user groups and be applied only in IAM. They cannot be applied in Enterprise Management.</li></ul>
<div class="p" id="EN-US_TOPIC_0170316409__p3544461578">ECS supports the following actions that can be defined in custom policies:<ul id="EN-US_TOPIC_0170316409__ul99595565149"><li id="EN-US_TOPIC_0170316409__li89591956151411"><a href="en-us_topic_0103071510.html">Lifecycle Management</a></li><li id="EN-US_TOPIC_0170316409__li579992611512"><a href="en-us_topic_0103071511.html">ECS Status Management</a></li><li id="EN-US_TOPIC_0170316409__li564213635517"><a href="en-us_topic_0184167662.html">Batch Operations</a></li><li id="EN-US_TOPIC_0170316409__li53559172162"><a href="en-us_topic_0103072350.html">Network Management</a></li><li id="EN-US_TOPIC_0170316409__li18736203010169"><a href="en-us_topic_0103072348.html">Image Management</a></li><li id="EN-US_TOPIC_0170316409__li19562149101610"><a href="en-us_topic_0103072347.html">Security Group Management</a></li><li id="EN-US_TOPIC_0170316409__li168954542112"><a href="en-us_topic_0103071522.html">Specifications Query</a></li><li id="EN-US_TOPIC_0170316409__li209582146173"><a href="en-us_topic_0103071513.html">NIC Management</a></li><li id="EN-US_TOPIC_0170316409__li15529178226"><a href="en-us_topic_0103071514.html">Disk Management</a></li><li id="EN-US_TOPIC_0170316409__li734019422221"><a href="en-us_topic_0103071516.html">Metadata Management</a></li><li id="EN-US_TOPIC_0170316409__li16738152152314"><a href="en-us_topic_0103071517.html">Tenant Quota Management</a></li><li id="EN-US_TOPIC_0170316409__li6652182213234"><a href="en-us_topic_0103071515.html">SSH Key Management</a></li><li id="EN-US_TOPIC_0170316409__li14581246162415"><a href="en-us_topic_0161341998.html">Password Management</a></li><li id="EN-US_TOPIC_0170316409__li6604156182311"><a href="en-us_topic_0103071520.html">ECS Group Management</a></li><li id="EN-US_TOPIC_0170316409__li1158521816567"><a href="en-us_topic_0184192952.html">ECS Management Through Console</a></li><li id="EN-US_TOPIC_0170316409__li13100132922416"><a href="en-us_topic_0103071519.html">AZ Management</a></li><li id="EN-US_TOPIC_0170316409__li51971411162417"><a href="en-us_topic_0103071521.html">Tag Management</a></li></ul>
</div>
</div>
</div>
<div>
<div class="familylinks">
<div class="parentlink"><strong>Parent topic:</strong> <a href="en-us_topic_0103071509.html">Permissions and Supported Actions</a></div>
</div>
</div>