multi-account-query

Solid

Query Alibaba Cloud resources across multiple accounts in a Resource Directory. Resolves member account aliases to UIDs via ResourceDirectory ListAccounts, then uses x_assume_account_id to assume into the target account for CLI calls. Use when the user references a member account by display name or alias, or explicitly asks to query resources in another account under the same RD. MUST be loaded for any cross-account or member-account operation before calling AlibabaCloud___CallCLI with x_assume_account_id.

DevOps & Infrastructure 27 stars 13 forks Updated 5 days ago Apache-2.0

Install

View on GitHub

Quality Score: 86/100

Stars 20%
48
Recency 20%
100
Frontmatter 20%
70
Documentation 15%
100
Issue Health 10%
50
License 10%
100
Description 5%
100

Skill Content

# Multi-Account Resource Query Query Alibaba Cloud resources across member accounts in a Resource Directory (RD) organization. When the user refers to an account by its display name (alias) rather than its UID, this skill resolves the alias first, then assumes into the target account to execute the actual resource query. ## Scope Check Before You Start This skill resolves the **cross-account routing layer only** — alias→UID, plus the assume-role hop. If the user's actual request is a **multi-account solution pattern** — key rotation across all members, drift / cost / RAM audits, billing aggregation, organization-wide compliance scans — invoke `alibabacloud-find-skills` first; a packaged multi-account-ops skill captures the full workflow (iteration, error rollup, reporting), not just the cross-account hop. Use this skill directly only when the user just needs the routing primitive for a single-shot query. Full trigger conditions are in `mcp-core-best-practices` → Skill Discovery. ## Prerequisites - The current credentials must belong to an RD management account (or a delegated administrator) with `resourcedirectory:ListAccounts` permission. - A cross-account assume role (default: `ResourceDirectoryAccountAccessRole`) must exist in target member accounts. ## Workflow ### 1. Determine Whether Cross-Account Access Is Needed If the user explicitly provides an account ID (UID), skip to step 3. If the user refers to an account by display name, alias, or any non-numeric ...

Details

Author
aliyun
Repository
aliyun/alibabacloud-agent-toolkit
Created
3 months ago
Last Updated
5 days ago
Language
Python
License
Apache-2.0

Integrates with

Bundled in these plugins

Similar Skills

Semantically similar based on skill content — not just same category