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:
- verifies
checksums.txtagainst OpenBao's GPG release key, pinned to fingerprint66D15FDD87287219C8E15478D200CD702853E6D0, using a copy of the key committed to this repository rather than one fetched from the release being checked; - verifies the archive's SHA-256 against that now-trusted
checksums.txt; - for Linux targets, confirms the binary needs no glibc symbol newer than 2.17,
which is what the
manylinux_2_17tag 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
Built Distributions
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file openbao_cli-2.6.2-py3-none-win_arm64.whl.
File metadata
- Download URL: openbao_cli-2.6.2-py3-none-win_arm64.whl
- Upload date:
- Size: 69.4 MB
- Tags: Python 3, Windows ARM64
- Uploaded using Trusted Publishing? No
- Uploaded via:
twine/7.0.0 CPython/3.13.15
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
573d496db1b6d202362b24776e693da3fa9c7a9eb147bdf06a61468fa9a0e9d3
|
|
| MD5 |
19a97c9366610949c9bed72223aa4f16
|
|
| BLAKE2b-256 |
8c5bec15adb32c8aa54685bb10d80dd75bedaf074ee604c20f48a2a9ca11a102
|
File details
Details for the file openbao_cli-2.6.2-py3-none-win_amd64.whl.
File metadata
- Download URL: openbao_cli-2.6.2-py3-none-win_amd64.whl
- Upload date:
- Size: 75.9 MB
- Tags: Python 3, Windows x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via:
twine/7.0.0 CPython/3.13.15
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d929ffbfee4a0f43b487bbea35f4bef5f28a2b335c8e0b4f5045502d1b45601d
|
|
| MD5 |
fc92830c263d81ed32f7f753a2e84fe3
|
|
| BLAKE2b-256 |
f2c6dc361ada7603244d9319a9af78a4137b5a8f73ea6b559072434c4a8467ff
|
File details
Details for the file openbao_cli-2.6.2-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.
File metadata
- Download URL: openbao_cli-2.6.2-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
- Upload date:
- Size: 75.3 MB
- Tags: Python 3, manylinux: glibc 2.17+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via:
twine/7.0.0 CPython/3.13.15
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
aaa3123202c303ec788cf304dcc3cf6143df99960590fe4f4ad1097c1447d2b9
|
|
| MD5 |
cbb31a845ffffa9cd87436bc6c0ff251
|
|
| BLAKE2b-256 |
3c6827b728811f612d2661d1885af1ee30d17f2a4e4950a94942e5c78449efa4
|
File details
Details for the file openbao_cli-2.6.2-py3-none-manylinux_2_17_aarch64.manylinux2014_aarch64.whl.
File metadata
- Download URL: openbao_cli-2.6.2-py3-none-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
- Upload date:
- Size: 69.3 MB
- Tags: Python 3, manylinux: glibc 2.17+ ARM64
- Uploaded using Trusted Publishing? No
- Uploaded via:
twine/7.0.0 CPython/3.13.15
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e8e5232b69983911f6298373ffeaa20b8f2c26022f6ba08a166731474705e275
|
|
| MD5 |
807ec70e6e029f1862bd1752e0149784
|
|
| BLAKE2b-256 |
2694e873e97a38df42ae7dece93a8d7b0524f3549df5df686e14c9681e7801f7
|
File details
Details for the file openbao_cli-2.6.2-py3-none-macosx_12_0_x86_64.whl.
File metadata
- Download URL: openbao_cli-2.6.2-py3-none-macosx_12_0_x86_64.whl
- Upload date:
- Size: 79.8 MB
- Tags: Python 3, macOS 12.0+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via:
twine/7.0.0 CPython/3.13.15
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ddf8e52459edc35eb8ea1adb7531ce9b1e33116566ed66886bd5fb481558e7fc
|
|
| MD5 |
06217f6aae195bd62bbb90482b5dcf41
|
|
| BLAKE2b-256 |
d4dd6c27e395d9ac65bf625cf5fdda0115a9ba31965aa4cafeeeea046b41ca7d
|
File details
Details for the file openbao_cli-2.6.2-py3-none-macosx_12_0_arm64.whl.
File metadata
- Download URL: openbao_cli-2.6.2-py3-none-macosx_12_0_arm64.whl
- Upload date:
- Size: 75.7 MB
- Tags: Python 3, macOS 12.0+ ARM64
- Uploaded using Trusted Publishing? No
- Uploaded via:
twine/7.0.0 CPython/3.13.15
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
153d4b66c6e4709b84e7be80b617d27bde59ed0dbbb46e4ee31fbb58d90ca280
|
|
| MD5 |
98f173d681b249da47a254571a777000
|
|
| BLAKE2b-256 |
0ca1d7d2f417c2d5b80d31b16d78f1f6d66d979f1ad4f499f95df8d7d67239d2
|