Alibaba Cloud ossutil
$ ossutil Official High RiskAlibaba Cloud ossutil is the official high-performance Go CLI for Object Storage Service (OSS). It handles bucket and object management (ossutil ls, ossutil cp, ossutil sync), named --profile switching, --dry-run transfer simulation, and structured --output-format json with --output-query projection in ossutil v2.
brew install ossutil Direct multipart uploads, syncs, and --dry-run simulations belong in ossutil rather than passing large binary objects through MCP.
At a Glance
- Command
- $ ossutil
- FCRS-1.0 Score
- 84/100 (Good)
- Evidence Tier
- Medium Confidence
- CLI vs MCP
- CLI Preferred vs MCP
- Reviewed Date
Agent-Readiness Checklist
Static evaluation (not yet probed on this host). Run npm run data:probe locally to capture live verification.
FCRS-1.0 6-Dimension Breakdown
Version 2 adds --output-format json and --output-query filtering alongside clean non-interactive execution for scripting.
- Supports
--output-format jsonand--output-queryinossutil2.0
First-class --dry-run simulation on cp/rm/sync plus --profile isolation and RAM/STS support strongly protect against destructive object mistakes.
- Supports
--dry-runpreview mode and named--profileconfigs
Single static Go binary available via Homebrew (brew install ossutil) and official Alibaba Cloud/GitHub binary downloads.
- Single Go binary across macOS, Linux, and Windows
High-concurrency multipart transfer, resumable sync, and bucket lifecycle commands far outperform generic HTTP tools on OSS.
- Parallel multipart
ossutil cpandsyncengine
Official Alibaba Cloud tool under MIT (aliyun/ossutil), though v2 binary releases are also distributed via Alibaba Cloud docs.
- Official
aliyun/ossutilrepository under MIT
Detailed Alibaba Cloud OSS documentation and built-in subcommand --help pages.
- Comprehensive Alibaba Cloud
ossutil2.0 command reference
Security, Auth & Guardrails
Stores named profiles in ~/.ossutilconfig, or reads OSS_ACCESS_KEY_ID, OSS_ACCESS_KEY_SECRET, and ALICLOUD_ACCESS_KEY_ID.
CLI is free (MIT); OSS storage, requests, and outbound data transfer incur Alibaba Cloud charges.
# ossutil Agent Rules - Always run `ossutil cp` or `ossutil rm` with `--dry-run` first to inspect affected object keys. - Pass `--profile` explicitly and restrict agents to bucket-scoped RAM policies. - Never pass `-f` (`--force`) on `ossutil rm` without explicit user approval.
Agent-Ready Command Recipes
Safe Read-Only Queries
ossutil ls oss://my-bucket/ --output-format json
Lists bucket objects and metadata as structured JSON.
--dry-run ossutil cp ./dist/ oss://my-bucket/dist/ -r --dry-run
Simulates file copies and prints planned actions without modifying remote objects.
Controlled Writes & Previews
ossutil cp ./dist/ oss://my-bucket/dist/ -r --profile staging
Uploads local build artifacts using the isolated staging credential profile.
Strengths for Agents
- + Supports
--dry-runbefore recursivecp,rm, orsyncoperations. - +
ossutil2.0 provides--output-format json,--output-query, and--profileswitching. - + Fast Go binary with high-throughput multipart transfers.
Caveats & Pitfalls
- ! Flag syntax differs between legacy
ossutil1.x andossutil2.0 (--output-formatis v2+). - ! GitHub repo
aliyun/ossutilreflects v1 history while v2 builds are primarily published via Alibaba Cloud portals.
Official References
Tested Agent Hosts
Follow Ecosystem Links
Related CLIs in Cloud & Infra
View category hub →Chainguard declarative APK-to-OCI builder generating reproducible distroless images and JSON SBOMs.
AWS Cloud Development Kit CLI with local `cdk synth`, `cdk diff`, and `--require-approval` gates.
IaC stack orchestrator with git change detection and `--dry-run` across Terraform/OpenTofu.
Kubernetes `client-go` exec credential plugin generating AWS IAM STS `ExecCredential` JSON tokens.
CNCF policy engine CLI for evaluating, testing, and formatting Rego policies as JSON.