CLI reference — Cloud Accounts
Generated by
bun run generate:cli-referencefromspec/admin-api-openapi.json. Do not hand-edit — regenerate after refreshing the spec.
Every operation below is documented CLI-first (nayaone-admin api <operationId>)
per PRD-407/DO-7.
The REST /admin-api/* method+path is the fallback/alternative integration option.
5 operations in this area.
adminCheckCloudAccountInspectPermissions
Section titled “adminCheckCloudAccountInspectPermissions”Probe the BYOA account credentials against the canonical permissions inventory.
CLI (preferred):
nayaone-admin api adminCheckCloudAccountInspectPermissions --param id=<id> --body '{}'REST fallback: POST /admin-api/cloud-accounts/{id}/inspect/permissions
adminGetCloudAccountRunnerStackConfig
Section titled “adminGetCloudAccountRunnerStackConfig”BYOA → Pulumi stack-config seeds (with plaintext secrets) for the runner. Admin-only (PRD-9 §7).
CLI (preferred):
nayaone-admin api adminGetCloudAccountRunnerStackConfigREST fallback: GET /admin-api/cloud-accounts/runner-stack-config
adminPreviewCloudAccountStackConfig
Section titled “adminPreviewCloudAccountStackConfig”Sanitised BYOA stack-config preview (secret values replaced with <set>) — debug only.
CLI (preferred):
nayaone-admin api adminPreviewCloudAccountStackConfigREST fallback: GET /admin-api/cloud-accounts/preview-stack-config
adminRefreshCloudAccountInspectPermissions
Section titled “adminRefreshCloudAccountInspectPermissions”Force-refresh the permissions probe cache.
CLI (preferred):
nayaone-admin api adminRefreshCloudAccountInspectPermissions --param id=<id> --body '{}'REST fallback: POST /admin-api/cloud-accounts/{id}/inspect/permissions/refresh
adminResolveCloudAccount
Section titled “adminResolveCloudAccount”Debug-resolve a cloud account (platform admin only)
CLI (preferred):
nayaone-admin api adminResolveCloudAccountREST fallback: GET /admin-api/cloud-accounts/resolve