Skip to main content

openbao-cli

Install the OpenBao bao CLI with pip or uv. No package manager, no manual download, no PATH surgery.

Install

pip install openbao-cli

Or as a standalone tool:

uv tool install openbao-cli

Or run it once without installing:

uvx --from openbao-cli bao version

Usage

bao is the real OpenBao CLI, so every upstream command works unchanged:

bao version
bao server -dev
export BAO_ADDR=http://127.0.0.1:8200
bao status
bao kv put secret/example password=hunter2
bao kv get -field=password secret/example

The openbao command is an alias for bao, for anyone who prefers the longer name.

Supported platforms

Platform Architectures
macOS 12 (Monterey) and later arm64, x86_64
Linux (glibc 2.17 and later) x86_64, arm64
Windows x86_64, arm64

macOS 11 and earlier are not supported: the upstream binary is built with a minimum deployment target of macOS 12 and will not launch on older releases.

On any other platform, pip falls back to the source distribution, which contains no binary and fails the install with an explicit message rather than installing something that cannot run.

How it works

Each wheel bundles the official bao binary for one platform. The bao entry point replaces itself with that binary using execv, so signal delivery, interactive prompts, streamed logs and exit codes are exactly the real CLI's. On Windows, where execv has no equivalent, the binary is launched as a child process with inherited stdio.

Nothing is downloaded at install time or at first run. An install from a wheel works offline.

Verification

Every wheel is built from an official upstream release archive. Before a wheel is produced, the build:

  1. verifies checksums.txt against OpenBao's GPG release key, pinned to fingerprint 66D15FDD87287219C8E15478D200CD702853E6D0, using a copy of the key committed to this repository rather than one fetched from the release being checked;
  2. verifies the archive's SHA-256 against that now-trusted checksums.txt;
  3. for Linux targets, confirms the binary needs no glibc symbol newer than 2.17, which is what the manylinux_2_17 tag promises.

Any of these failing aborts the build. No wheel is published from an artifact that could not be verified.

Versioning

The package version tracks the upstream OpenBao version exactly. Version 2.6.1 of this package contains OpenBao 2.6.1.

A .postN suffix (for example 2.6.1.post1) means a fix to the Python wrapper with the same upstream binary.

License and attribution

The wrapper code in this repository is MIT licensed.

The bundled bao binary is OpenBao, redistributed unmodified under the Mozilla Public License 2.0. Its source is at https://github.com/openbao/openbao, and the corresponding source for the exact bundled version is linked from the NOTICE file installed alongside the binary.

This is an unofficial repackaging. It is not affiliated with, endorsed by, or supported by the OpenBao project or the Linux Foundation. Report bugs in bao itself upstream; report packaging bugs here.

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distributions

If you're not sure about the file name format, learn more about wheel file names.

openbao_cli-2.6.1-py3-none-win_arm64.whl (69.3 MB view details)

Uploaded Python 3Windows ARM64

openbao_cli-2.6.1-py3-none-win_amd64.whl (75.8 MB view details)

Uploaded Python 3Windows x86-64

openbao_cli-2.6.1-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (75.2 MB view details)

Uploaded Python 3manylinux: glibc 2.17+ x86-64

openbao_cli-2.6.1-py3-none-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (69.2 MB view details)

Uploaded Python 3manylinux: glibc 2.17+ ARM64

openbao_cli-2.6.1-py3-none-macosx_12_0_x86_64.whl (79.7 MB view details)

Uploaded Python 3macOS 12.0+ x86-64

openbao_cli-2.6.1-py3-none-macosx_12_0_arm64.whl (75.6 MB view details)

Uploaded Python 3macOS 12.0+ ARM64

File details

Details for the file openbao_cli-2.6.1-py3-none-win_arm64.whl.

File metadata

  • Download URL: openbao_cli-2.6.1-py3-none-win_arm64.whl
  • Upload date:
  • Size: 69.3 MB
  • Tags: Python 3, Windows ARM64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/7.0.0 CPython/3.13.14

File hashes

Hashes for openbao_cli-2.6.1-py3-none-win_arm64.whl
Algorithm Hash digest
SHA256 210499b94100e6378f6f7c066c422bc0b748b2ce45cbabcf8a99dd73694459ac
MD5 8d5030224f69c607d6a1b94682012d80
BLAKE2b-256 aff4a8d61dd0777ec4e4bd779117f4e63d18f500fc6b1608152205bebe684a99

See more details on using hashes here.

File details

Details for the file openbao_cli-2.6.1-py3-none-win_amd64.whl.

File metadata

  • Download URL: openbao_cli-2.6.1-py3-none-win_amd64.whl
  • Upload date:
  • Size: 75.8 MB
  • Tags: Python 3, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/7.0.0 CPython/3.13.14

File hashes

Hashes for openbao_cli-2.6.1-py3-none-win_amd64.whl
Algorithm Hash digest
SHA256 9c1563b8a426b64a5cacc06dba81417a2b796a5ba48abef45c1a0b6adbf24d6e
MD5 a71e5d144e028cf55fde000d79b2ea22
BLAKE2b-256 7ca91d5b53b645ee731d9b014025c6254a7ac0cf2240852b920873a6a9aace9a

See more details on using hashes here.

File details

Details for the file openbao_cli-2.6.1-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for openbao_cli-2.6.1-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 43145a8ea6803312cfc30709126846593a6a4a550ccf87b1e626f4fb8aa11434
MD5 d37e663819769f3196b4bdcba71f70f9
BLAKE2b-256 ee72a7e5feb9d17dda8ae5f783f762a2b86fc1e6c6a78d0143bc457ac72e96bf

See more details on using hashes here.

File details

Details for the file openbao_cli-2.6.1-py3-none-manylinux_2_17_aarch64.manylinux2014_aarch64.whl.

File metadata

File hashes

Hashes for openbao_cli-2.6.1-py3-none-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 374bb1911175c6829f4ebae81a127f123c16863a3c7fb36a2e314c8a09af20f4
MD5 a28c520379ff9bc2d2e019be4eb014c8
BLAKE2b-256 fe67adf57d948efcc6be9d51df8fe5a620b4131a9323b062e2761bc2f754ea1f

See more details on using hashes here.

File details

Details for the file openbao_cli-2.6.1-py3-none-macosx_12_0_x86_64.whl.

File metadata

File hashes

Hashes for openbao_cli-2.6.1-py3-none-macosx_12_0_x86_64.whl
Algorithm Hash digest
SHA256 e7d3e068c6c96762ae571fb92125a7366aca7f106321f22c0e348a5f1a816eaa
MD5 9c95f958e6bc0bb933000fc186509d6d
BLAKE2b-256 9c06186b18a8a758b09601a630bc0ce33bf59a6283d4e1f772cd568bc4a31029

See more details on using hashes here.

File details

Details for the file openbao_cli-2.6.1-py3-none-macosx_12_0_arm64.whl.

File metadata

File hashes

Hashes for openbao_cli-2.6.1-py3-none-macosx_12_0_arm64.whl
Algorithm Hash digest
SHA256 83c3109e72e7cc252b35e711c23692dc0ed3430e4b7103f77e516318013dd2b6
MD5 faca1d11b2057463c30175876590d963
BLAKE2b-256 99fc26599da425ca0975c5b934cf393e2cb3255cf13ab791f0eab81d754511ec

See more details on using hashes here.

Release history Release notifications | RSS feed

2.6.2

6 files

This release

2.6.1 This release

6 files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page