Actions35
- Bucket Actions
- IAM Actions
- Object Actions
IAM → List Policies
AI-generatedSummary
Retrieve a list of IAM policies from Mega S4, optionally filtering by scope and path prefix, with control over the result count or returning all available policies.
Inputs
- Return All — Determines whether to return all policies or limit the number of results.
- Limit — Maximum number of policies to return when 'Return All' is false (minimum 1, default 50).
- Additional Fields — Optional filters including 'Scope' to select All, Mega managed, or Customer managed policies, and 'Path Prefix' to filter policies by their path prefix.
Output shape
a list of policy objects
If 'Return All' is false, results will be limited to the specified 'Limit'. Filtering by Scope and Path Prefix is optional and applied server-side if provided.