凭据访问
Reads OCI config, API keys, tenancy data, and environment credentials.
代理安全
oci-cli controls Oracle Cloud resources and account state.
Reads OCI config, API keys, tenancy data, and environment credentials.
Can create, delete, or modify Oracle Cloud resources.
Can upload artifacts and deploy infrastructure changes.
Gate mutating oci commands and credential file access.
Allow read-only listing; require approval for writes, deletes, and credential changes.
安装
brew install oci-clilocal Homebrew formula metadata
sudo port install oci-cliMacPorts ports tree · net/oci-cli/Portfile · 来源: api.github.com
sudo apk add oci-cliAlpine Linux edge package indexes · oci-cli · 来源: dl-cdn.alpinelinux.org
sudo dnf install oci-cliFedora Rawhide package metadata · oci-cli · 来源: dl.fedoraproject.org
nix profile install nixpkgs#oci-clinixpkgs package indexes · pkgs/by-name/oc/oci-cli/package.nix · 来源: api.github.com
sudo zypper install oci-cliopenSUSE Tumbleweed package metadata · oci-cli · 来源: download.opensuse.org
scoop install main/oci-cliScoop official bucket manifest trees · bucket/oci-cli.json · 来源: api.github.com
概览
Oracle Cloud Infrastructure CLI
历史
OCI CLI is Oracle's open source command-line interface for Oracle Cloud Infrastructure. It gives operators and developers a scriptable interface to OCI objects and services, covering the same core administrative surface as the web Console while adding command-line workflows such as automation and batch execution.
The upstream project is maintained by Oracle and distributed from the oracle/oci-cli repository. The README identifies it as the command-line interface for Oracle Cloud Infrastructure, with Oracle as maintainer and community contributions accepted through the public repository.
The README copyright line covers 2016 and 2019, matching OCI CLI's role as part of Oracle's post-Oracle Cloud Infrastructure tooling generation. Later project evolution is visible in the repository's changelog and release stream, while Oracle documentation remains the canonical user-facing reference for installation, configuration, troubleshooting, and command documentation.
The project expanded beyond a basic noninteractive command runner with interactive mode, shell guidance, suggestions, color-coded required and optional parameters, quick references, offline installation assets, and a container image published through GitHub Container Registry.
OCI CLI became a standard cross-platform entry point for OCI automation because Oracle documents installation paths for macOS, Linux, Oracle Linux, Fedora, and Windows, and because Homebrew packages it as `oci-cli` with the `oci` executable.
Homebrew's formula API generated on 2026-07-01 reports 40,195 installs over 365 days and 11,792 installs over 90 days, showing sustained package-manager use outside Oracle's own installers. The same API lists binary bottles for macOS and Linux variants, making the package available to both workstation and automation environments.
Users configure OCI credentials and profiles, then run `oci` commands to inspect and manage cloud resources. Oracle's documentation frames the tool as usable on its own or alongside the Console, and the README points users to example commands, help output, interactive mode, and troubleshooting documentation.
The package matters operationally because cloud teams can place OCI actions in shell scripts, CI jobs, recovery procedures, and offline administrative environments. The container image path adds a reproducible way to run the CLI where installing Python dependencies directly is inconvenient.
For package cataloging, OCI CLI is a large vendor cloud CLI with its own release cadence, Python packaging lineage, OS-specific installers, Homebrew bottles, and a container distribution channel. It is also a useful example of a cloud provider CLI that straddles package managers, language packaging, and official documentation.
安全态势
infrastructure mutation or orchestration signal.
orange 风险 · 中 置信度 · infrastructure
在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。
local files
These source-backed paths show where this package keeps local settings or durable credentials. Automic Vault can use them as review targets for secret scanning, migration, and command approval.
Config paths the tool may read or write during local use.
~/.oci/config$Env:UserProfile\.oci\configCredential-bearing paths to review before unattended agent runs.
~/.oci/oci_api_key.pem%HOMEDRIVE%%HOMEPATH%\.oci\oci_api_key.pem可执行文件
| 命令 | 类型 | 暴露范围 | 备注 |
|---|---|---|---|
create_backup_from_onprem | cli | 全局可执行文件 | |
oci | cli | 全局可执行文件 |
新鲜度
这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。
https://docs.cloud.oracle.com/iaas/Content/API/Concepts/cliconcepts.htm
安装元数据
| 软件包键 | brew:oci-cli |
|---|---|
| 版本 | 3.89.0 |
| 软件包管理器 | Homebrew |
| 软件包管理器页面 | https://formulae.brew.sh/formula/oci-cli |
| 主页 | https://docs.cloud.oracle.com/iaas/Content/API/Concepts/cliconcepts.htm |
| 仓库 | https://github.com/oracle/oci-cli |
| 上游文档 | https://docs.oracle.com/en-us/iaas/Content/API/Concepts/cliconcepts.htm |
| 许可证 | UPL-1.0 OR Apache-2.0 |
| 源码归档 | https://files.pythonhosted.org/packages/ba/36/935d19fd65be951730a74ad85a5d3ada84950606433b4e5a91da6e653a98/oci_cli-3.89.0.tar.gz |
| 最后更新 | 2026-07-01T13:20:46Z |
| Pulse | updated |
| 依赖 | certifi, cryptography, libyaml, python@3.14 |
| Bottle | 可用 (于 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux) |
| Homebrew post-install | 未定义 |
| 服务 | 未声明 |
注册表事实
| Source Database | Homebrew formula API |
|---|---|
| Tap | homebrew/core |
| Full Name | oci-cli |
| Version Scheme | 0 |
| Revision | 0 |
| Head Version | HEAD |
| Bottle Stable Root URL | https://ghcr.io/v2/homebrew/core |
| Deprecated | no |
| Disabled | no |
| Keg Only | no |
| URL Keys |
|
源数据库匹配
匹配项来自外部软件包管理器索引,并与本地 Automic Vault 软件包链接分开显示。
oci-cli
nix profile install nixpkgs#oci-clioci-cli 3.77.0-r0
Oracle Cloud Infrastructure CLI
https://docs.oracle.com/en-us/iaas/Content/API/Concepts/cliconcepts.htm
sudo apk add oci-clioci-cli-pyc 3.77.0-r0
Precompiled Python bytecode for oci-cli
https://docs.oracle.com/en-us/iaas/Content/API/Concepts/cliconcepts.htm
sudo apk add oci-cli-pycoci-cli 3.85.0-2.fc45
Command Line Interface for Oracle Cloud Infrastructure
https://github.com/oracle/oci-cli
sudo dnf install oci-clioci-cli 3.83.0-1.1
Oracle Cloud Infrastructure CLI
https://docs.us-phoenix-1.oraclecloud.com/Content/API/SDKDocs/cli.htm
sudo zypper install oci-clioci-cli
sudo port install oci-climain/oci-cli
scoop install main/oci-cli来源线索
此页面由 av-web 从 scripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。
View the package source record on GitHub.