Yandex Cloud CLI
$ yc Official High RiskYandex Cloud CLI (yc) manages compute VMs, Managed Kubernetes, serverless functions, VPCs, and IAM across Yandex Cloud. Built-in --format json, --profile isolation, --no-user-output, and service-account key auth make it reliable for headless automation.
brew install yandex-cloud-cli yc --format json exposes the full Yandex Cloud control plane directly with familiar gcloud-like subcommands and zero MCP overhead.
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
Global --format json, --no-user-output stderr suppression, YC_TOKEN / service-account key auth, and predictable gcloud-style verb structure.
- Global
--format jsonand--no-user-outputflags - Supports headless service-account key files and
YC_TOKEN
Supports isolated --profile contexts and least-privilege service accounts, though cloud resource deletion and billing operations are irreversible.
- Profile and service-account IAM scoping
Available via brew install yandex-cloud-cli and official install script across macOS, Linux, and Windows, though closed-source distribution.
- Supported on macOS, Linux, and Windows via Homebrew and installer
Complete coverage of Yandex Cloud APIs in one binary with consistent --format json.
- Unified CLI covering compute, k8s, serverless, VPC, and IAM
Official first-party Yandex Cloud CLI, though proprietary rather than open-source.
- First-party vendor CLI distributed by Yandex Cloud
Complete online CLI reference and built-in --help, though some edge error messages skew Russian/regional docs.
- Published English CLI reference at yandex.cloud/en/docs/cli/
Security, Auth & Guardrails
Stores profiles in ~/.config/yandex-cloud/config.yaml and accepts YC_TOKEN, service account authorized keys (--service-account-key-file), or metadata IAM tokens.
Proprietary free official CLI; provisioning VMs, Managed Kubernetes, or storage incurs Yandex Cloud billing.
# Yandex Cloud CLI (yc) Agent Rules - Always pass `--format json` and `--no-user-output` on automated commands. - Pin `--profile` and `--folder-id` explicitly before mutations. - Never run `yc ... delete` or `yc ... stop` without explicit user approval.
Agent-Ready Command Recipes
Safe Read-Only Queries
yc compute instance list --format json
Returns compute VM IDs, zones, statuses, and network addresses as structured JSON.
yc config list --format json
Displays active cloud-id, folder-id, and zone settings in JSON.
Controlled Writes & Previews
yc config profile create sa-agent && yc config set service-account-key sa-key.json
Isolates agent permissions to a scoped service-account profile rather than a user OAuth token.
Strengths for Agents
- + Consistent
--format jsonacross virtually all resourcelist/getcommands. - + Headless service-account key files and
--profileisolation fit CI and sandboxed agents. - +
--no-user-outputkeeps stdout clean for JSON parsing.
Caveats & Pitfalls
- ! Proprietary closed-source binary without a public source repository.
- ! Lacks a global
--dry-runflag across mutating resource commands.