@axway/axway-cli-auth

中文文档
5.0.0发布于 2026/11/17Apache-2.0ES Module近 30 天下载 6779

Authenticate machines with the Axway Amplify platform

原始使用文档
文档目录14 节
  1. Installation
  2. Quick Start
  3. Authentication Commands
  4. list
  5. login
  6. logout
  7. Service Account Commands
  8. list
  9. create
  10. update
  11. add-team and remove-team
  12. remove
  13. roles
  14. Legal

Axway Auth CLI

Authenticates a machine with the Axway Amplify platform.

Installation

This package is bundled with the Axway CLI and thus does not need to be directly installed.

npm i -g axway

Quick Start

Log into the Axway platform:

axway auth login

Log out of the Axway platform:

axway auth logout

Authentication Commands

list

Lists all credentialed accounts.

Alias: ls

axway auth list

axway auth list --json

login

Log in to the Axway Amplify platform.

axway auth login

axway auth login --json

axway auth login --client-secret <CLIENT_SECRET>

axway auth login --client-secret <CLIENT_SECRET> --username [email protected]

axway auth login --secret-file <path/to/pem/file>

axway auth login --secret-file <path/to/pem/file> --username [email protected]

logout

Log out all or specific accounts from the Amplify platform.

Alias: revoke

axway auth logout --all

axway auth logout --all --json

axway auth logout <ACCOUNT_NAME_1> <ACCOUNT_NAME_2>

Service Account Commands

list

List all service accounts for an organization:

axway service-account list

axway service-account list --org <org-guid/name/id>

create

Create a service account with interactive prompting:

axway service-account create

Create a service account with minimum non-interactive arguments:

axway service-account create --name foo --secret bar

update

Change a service account name, description, and role:

axway service-account update <name/client-id> --name <new_name> --desc <desc> --role <role>

add-team and remove-team

Add a team to an existing service account:

axway service-account add-team <client-id/name> <team_guid> <team_role>

Remove a team from a service account:

axway service-account remove-team <client-id/name> <team_guid>

remove

Remove a service account:

axway service-account remove <client-id/name>

roles

View available team roles:

axway service-account roles

This project is open source under the Apache Public License v2 and is developed by Axway, Inc and the community. Please read the LICENSE file included in this distribution for more information.

版本与发布记录

@axway/axway-cli-auth 共发布 43 个版本,首次发布于 2021/08/31;过去 12 个月发布了 3 个版本。

版本发布日期距今
5.0.0latest2026/11/17今天
4.1.02026/03/058 个月前
4.0.62026/01/239 个月前
4.0.52025/07/291.3 年前
4.0.42025/07/291.3 年前
4.0.32025/06/271.4 年前

其他发布通道:next → 3.2.0,alpha.1 → 4.0.0-alpha.1,alpha.2 → 4.0.0-alpha.2,alpha.4 → 4.0.0-alpha.4,alpha.5 → 4.0.0-alpha.5。

关于 @axway/axway-cli-auth 的常见问题

@axway/axway-cli-auth 是什么?

Authenticate machines with the Axway Amplify platform

如何安装 @axway/axway-cli-auth?

在项目目录运行 npm install @axway/axway-cli-auth,或使用 pnpm add / yarn add / bun add。

@axway/axway-cli-auth 支持 TypeScript 吗?

该包的 package.json 没有声明类型入口。需要类型提示时,可以在 npm 上查找社区维护的 @types/axway__axway-cli-auth 是否存在。

@axway/axway-cli-auth 支持 ESM 还是 CommonJS?

以 ES Module 形式发布,推荐使用 import 引入。在 CommonJS 项目中,Node.js 20.19+ / 22.12+ 可以直接 require() 不含顶层 await 的 ES Module,更早的版本需要改用动态 import()。

@axway/axway-cli-auth 需要什么版本的 Node.js?

package.json 的 engines 字段要求 Node.js >=22.22.2。版本不符时 npm 默认只给出警告,开启 engine-strict 后会拒绝安装。

@axway/axway-cli-auth 可以商用吗?

@axway/axway-cli-auth 使用 Apache-2.0 许可。宽松许可:允许商业使用、修改和再分发,并附带明确的专利授权;分发时需保留许可与 NOTICE 文件,修改过的文件要注明改动。以上为概括,不构成法律意见,请以许可原文为准。

@axway/axway-cli-auth 的下载量有多少?

根据 npm 官方下载统计,@axway/axway-cli-auth 在 2026/10/08 – 2026/11/06 这 30 天内被下载 6,779 次,日均约 226 次。下载量会把 CI 构建、镜像同步和作为其他包依赖的安装一并计入,适合横向比较热度,不能直接等同于使用人数。

@axway/axway-cli-auth 还在维护吗?

最新版本 5.0.0 发布于 2026/11/17(今天);至今共发布 43 个版本,其中过去 12 个月发布了 3 个;首次发布于 2021/08/31。发布频率只是参考信号:功能稳定的工具可能很少需要更新,建议结合源码仓库的 issue 和提交记录判断。