Automic VaultAutomic Vault

brew

使用 Homebrew, Nix 安装 okta-aws-cli

查看 okta-aws-cli 的安装路径、可执行文件、元数据以及面向 AI 代理工作流的安全说明。

安装

其他安装命令

macOS

Homebrew已验证 · 100%
brew install okta-aws-cli

local Homebrew formula metadata

Linux

Nix已验证 · 92%
nix profile install nixpkgs#okta-aws-cli

nixpkgs package indexes · pkgs/by-name/ok/okta-aws-cli/package.nix · 来源: api.github.com

概览

软件包摘要

Okta federated identity for AWS CLI

命令和别名

  • okta-aws-cli

历史

项目历史与用法

okta-aws-cli is Okta's command-line bridge between Okta identity and AWS CLI credentials. It authenticates through Okta, exchanges identity assertions with AWS STS, and emits temporary IAM credentials for AWS CLI, SDK, process-credential, or credentials-file workflows.

项目历史

The repository was created on 2022-07-07 as a Go CLI for using Okta as the identity provider for AWS CLI operations. The README describes three primary commands: `web` for human/device authorization, `m2m` for headless machine-to-machine authorization, and `direct` for direct authorization with out-of-band MFA.

The 2.0.0 GA release on 2024-01-25 reorganized the CLI around subcommands, renamed environment variables under the `OKTA_AWSCLI_` prefix, added JSON process-credential output, added an `--exec` mode for running a follow-on command with credentials in the environment, and added support for collecting roles across AWS federation apps.

Subsequent 2.x releases improved multi-profile and multi-app support, non-admin user flows, role and IdP selection, credential formatting, cached-token handling, Chocolatey publishing, and security details such as moving a web SSO token out of the URL query parameter and into a POST body.

采用历史

The tool addresses a long-standing enterprise operations problem: developers need AWS CLI access through federated identity without long-lived AWS access keys. Okta's own admin documentation tells administrators to get `okta-aws-cli` from GitHub or package managers such as Homebrew or Chocolatey when configuring Okta as the IdP for AWS CLI.

Homebrew usage is comparatively strong in this batch. The formula API generated on 2026-07-01 reported 5,821 installs over 365 days and 5,730 installs-on-request over the same period, reflecting the tool's practical role in developer workstation setup.

使用方式

In the human `web` flow, a user runs `okta-aws-cli web`, completes browser/device authorization through Okta, and receives AWS `Access Key ID`, `Secret Access Key`, and `Session Token` output. The tool can emit shell environment exports, write or overwrite AWS credentials-file profiles, or return JSON process credentials.

The README explains the SAML-backed path: an Okta OIDC Native Application is paired with an Okta AWS Federation integration app, the AWS federation app is paired with an AWS IAM identity provider, and the CLI presents a SAML assertion to AWS STS with `AssumeRoleWithSAML`. AWS STS returns temporary credentials; AWS documentation says those credentials consist of an access key ID, secret access key, and security token.

For automation, the `m2m` command uses an Okta API service application and private key, then presents an access token to AWS STS using `AssumeRoleWithWebIdentity`. The README warns that private-key handling needs state-of-the-art secrets management and that `m2m` is not intended for human use.

为什么软件包爱好者会关心

okta-aws-cli is a packaging marker for enterprise identity workflows moving into developer package managers. A Homebrew formula for this tool is not just a convenience CLI; it becomes part of how companies standardize short-lived cloud credentials on laptops.

The package is also a useful metadata case because it wraps several standards and services in one executable: OIDC, SAML, Okta Identity Engine, AWS IAM identity providers, AWS STS, credentials files, environment variables, and process credentials.

时间线

  • 2022-07-07: the `okta/okta-aws-cli` repository was created.
  • 2024-01-25: version 2.0.0 reached GA with subcommands, process credentials, environment variable renames, and role/profile collection features.
  • 2024-07-03: version 2.2.0 improved non-admin user support with the `okta.users.read.self` grant.
  • 2025-01-31: version 2.4.0 reduced the scope needed for multiple apps and improved m2m/session handling.
  • 2025-05-20: version 2.5.0 added the `direct` command for out-of-band MFA password grant authorization.
  • 2026-07-01: Homebrew's formula API reported stable version 2.6.0.

Related projects

  • The package is closely related to Okta AWS Account Federation, Okta OIDC Native Applications, AWS IAM identity providers, AWS STS `AssumeRoleWithSAML`, AWS STS `AssumeRoleWithWebIdentity`, and AWS SDK/CLI process credentials.

安全态势

风险级别:绿色

narrow executable package without higher-risk signals.

风险分类器

绿色 风险 · 低 置信度 · appliance

原因

  • narrow executable package without higher-risk signals

信号

  • metadata:no-higher-risk-signals

安装行为

  • formula 元数据中未记录 Homebrew post-install 钩子。
  • Homebrew bottle 元数据适用于 6 个平台目标。
  • 构建元数据列出 1 个构建依赖。

建议审查

在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。

local files

Configuration and credential file locations

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.

Configuration files

Config paths the tool may read or write during local use.

Unix
~/.okta/okta.yaml

Credential files

Credential-bearing paths to review before unattended agent runs.

Unix
~/.aws/credentials

可执行文件

已安装的可执行文件

命令类型暴露范围备注
okta-aws-clicli全局可执行文件

新鲜度

版本和新鲜度

这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。

页面生成时间2026-07-25
管理器版本2.6.0
管理器更新时间
本地数据OK
上游当前
检测到的最新版本v2.6.0

https://github.com/okta/okta-aws-cli

  • 信息No package-manager update timestamp was available.低 置信度

安装元数据

软件包元数据

软件包键brew:okta-aws-cli
版本2.6.0
软件包管理器Homebrew
软件包管理器页面https://formulae.brew.sh/formula/okta-aws-cli
主页https://github.com/okta/okta-aws-cli
仓库https://github.com/okta/okta-aws-cli
上游文档https://github.com/okta/okta-aws-cli#readme
许可证Apache-2.0
源码归档https://github.com/okta/okta-aws-cli/archive/refs/tags/v2.6.0.tar.gz
构建依赖go
Bottle可用 (于 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux)
Homebrew post-install未定义
服务未声明

注册表事实

源数据库详情

Source DatabaseHomebrew formula API
Taphomebrew/core
Full Nameokta-aws-cli
Version Scheme0
Revision0
Head VersionHEAD
Bottle Stable Root URLhttps://ghcr.io/v2/homebrew/core
Deprecatedno
Disabledno
Keg Onlyno
URL Keys
  • head
  • stable

源数据库匹配

其他软件包管理器记录

匹配项来自外部软件包管理器索引,并与本地 Automic Vault 软件包链接分开显示。

Nix95%

okta-aws-cli

nix profile install nixpkgs#okta-aws-cli
  • normalized package name match
  • 匹配方式:Okta Aws Cli
nixpkgs package indexes · api.github.com · nixpkgs package indexes: pkgs/by-name/ok/okta-aws-cli/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1

来源线索

由仓库数据生成

此页面由 av-webscripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。

使用的来源

  • Geiger risk classifier
  • Nucleus package database
  • av.db category and tag curation
  • cross-ecosystem install command graph
  • curated configuration and credential file locations
  • curated package history
  • external package-manager database matches
  • package relationship graph
  • package version freshness
  • package-page enrichment