Mega S4 icon

Mega S4

Interact with Mega.nz S4 object storage (S3-compatible)

IAM → List Policies

AI-generated

Summary

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.

Discussion