Skip to content

Releases: jumpserver/pam-clients

v1.0.2

Choose a tag to compare

@github-actions github-actions released this 08 Oct 10:25

账号取密与事件应用结果

  • Python、Go、Java、Node.js SDK 新增直接返回账号的 get_account / GetAccount / getAccount;账号包含密码、资产和缓存来源标记。
  • 新接入统一按事件中的 account_id 实时取密,校验 account_revision,应用完成后通过 event_id 上报 success 或 failed。
  • Core 根据事件关联策略并更新应用状态。收到事件、取密成功、写入文件均不代表应用成功。
  • Agent 支持按事件确认、持久化结果及断线重试;全部应用检查成功后才自动上报成功。未知、未投递和账号版本已变化的事件不能确认。
  • 向导与各语言文档共用事件示例;更新安装说明与文档一致性检查。
  • 旧 get_credential 和 key 确认接口保留兼容。新事件结果流程需同步部署对应 Core 更新。

Python

python3 -m pip install --upgrade jms-pam==1.0.2 --index-url https://pypi.org/simple
account = client.get_account(account_id="<account-id>")
username = account.username
password = account.secret

Agent

下载 jms-pam-agent-linux-amd64 或 jms-pam-agent-linux-arm64,并使用 SHA256SUMS 校验。

v1.0.1

Choose a tag to compare

@github-actions github-actions released this 08 Oct 09:33

Changes

  • Move the standalone PAM Agent to the top-level agent/ Go module, with implementation under agent/internal/agent.
  • Build the Agent against the Go SDK from the same repository commit using the Go workspace and local module replacement.
  • Correct credential field mapping examples to use config_update.fields_map.
  • Remove systemd EnvironmentFile setup from the general access guides.
  • Install the Python SDK from PyPI and publish Python distributions automatically when a GitHub Release is published.
  • Update client package versions to 1.0.1.

Install

Python:

python3 -m pip install jms-pam==1.0.1

Go SDK:

go get github.com/jumpserver/pam-clients/go@v1.0.1

Linux Agent binaries for amd64 and arm64 are attached along with SHA256SUMS. Python publication runs after this release is published.

Validation

The shared Python, Go, Java and Node.js protocol contracts, Go race tests, and Python package build/install checks passed before tagging.

v1.0.0

Choose a tag to compare

@github-actions github-actions released this 08 Oct 09:26