runbooks inventory describe-delegated-admin-policyΒΆ
Auto-generated from
runbooks inventory describe-delegated-admin-policy --helpon 2026-05-21. Source of truth: runbooks PyPI package v1.3.22
Usage: runbooks inventory describe-delegated-admin-policy [OPTIONS]
Describe the Organization resource-based policy (delegated admin trust
policy).
Uses $AWS_MANAGEMENT_PROFILE by default (Organizations
describe_resource_policy requires management account access β the policy is
org-scoped, not account-scoped). Returns ResourceNotFoundException as empty
result if no policy is configured.
Exit codes: 0=success, 1=AWS auth/permission error, 2=unexpected error.
Examples: runbooks inventory describe-delegated-admin-policy --profile
$AWS_MANAGEMENT_PROFILE runbooks inventory describe-delegated-admin-
policy --profile $AWS_MANAGEMENT_PROFILE \ --output-dir
tenants/b2b-energy/raw/organizations/
Options:
--profile TEXT Management account profile (defaults to
$AWS_MANAGEMENT_PROFILE β Organizations resource
policy is org-scoped).
--json Print results as JSON to stdout.
--output-dir DIRECTORY Write describe-delegated-admin-policy.json and .md
to this directory.
--help Show this message and exit.