Volcengine CLI
$ ve Official High RiskVolcengine CLI (ve) is ByteDance Volcengine's official Apache-2.0 Go CLI for managing Volcengine cloud APIs. It emits JSON by default, supports --output json and --query field filtering, isolates credentials via named --profile entries in ~/.volcengine/config.json, and installs via @volcengine/cli or standalone binaries.
npm install -g @volcengine/cli ve exposes Volcengine OpenAPIs directly with default JSON and --query filtering, giving agents deterministic access without MCP schema overhead.
At a Glance
- Command
- $ ve
- FCRS-1.0 Score
- 81/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
Outputs JSON by default, supports --output json, --query projection, and ve disable-color for clean non-TTY parsing.
- Default JSON output plus
--querypath filtering andve disable-color
Masks secret keys in ve configure get/list by default (requiring --show-sensitive) and isolates --profile configs, though no universal --dry-run exists.
- Secrets masked by default in
ve configure list; named--profileseparation
Cross-platform Go binary installable via npm install -g @volcengine/cli or GitHub releases.
- Available via
npm install -g @volcengine/cliand binary releases
Maps directly to Volcengine OpenAPI services with STS and region controls.
- Direct Volcengine OpenAPI invocation across cloud services
Official volcengine/volcengine-cli repository maintained by ByteDance Volcengine under Apache-2.0.
- Official
volcengine/volcengine-clirepo (Apache-2.0)
Built-in --help per service/action and GitHub README examples, though English docs are thinner than Volcengine portal docs.
- Built-in service
--helpand README configuration examples
Security, Auth & Guardrails
Stores named profiles (AK/SK/region) in ~/.volcengine/config.json, manageable via ve configure set and ve configure list.
CLI is free (Apache-2.0); cloud API actions incur Volcengine resource billing.
# Volcengine CLI (ve) Agent Rules - Run `ve configure list` and pin `--profile` and `--region` on every invocation. - Run `ve disable-color` in automated environments to ensure clean JSON output. - Require explicit approval before mutating or deleting ECS, VPC, or IAM resources.
Agent-Ready Command Recipes
Safe Read-Only Queries
ve sts GetCallerIdentity --output json --query 'Result.AccountId'
Queries STS caller identity and extracts only the AccountId field.
ve configure list
Prints saved profile names and regions with secret keys masked.
Controlled Writes & Previews
ve configure set --profile staging --region cn-beijing
Updates region settings for the named staging profile without touching default credentials.
Strengths for Agents
- + Default JSON output with
--queryfield filtering andve disable-color. - + Masks sensitive credentials in
ve configure list/getunless--show-sensitiveis passed. - + Simple installation via
npm install -g @volcengine/cli.
Caveats & Pitfalls
- ! Lacks a global
--dry-runflag across Volcengine services. - ! Creating or modifying a profile via
ve configure setimplicitly switches the active profile.
Official References
Tested Agent Hosts
Follow Ecosystem Links
Related CLIs in Cloud & Infra
View category hub →Official IAM-authenticated TLS tunnel to Google Cloud SQL with `--structured-logs` JSON logging.
CNCF L7 proxy and service-mesh data plane with `--mode validate` preflight config verification.
Create, pause, and list lightweight virtual Kubernetes clusters inside host namespaces with `--output json`.
Declarative Helm release orchestrator supporting `helmfile template`, `diff --output json`, and `apply`.
CNCF policy engine CLI for evaluating, testing, and formatting Rego policies as JSON.