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.

Metadata

Release files for openbao-cli 2.7.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Built distributions (wheels)

Table of built distributions (wheels) for openbao-cli 2.7.2
File Actions
openbao_cli-2.7.2-py3-none-win_arm64.whl Python 3 none Windows ARM64 Details for openbao_cli-2.7.2-py3-none-win_arm64.whl
openbao_cli-2.7.2-py3-none-win_amd64.whl Python 3 none Windows x86-64 Details for openbao_cli-2.7.2-py3-none-win_amd64.whl
openbao_cli-2.7.2-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl Python 3 none Linux glibc 2.17+ x86-64 Details for openbao_cli-2.7.2-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
openbao_cli-2.7.2-py3-none-manylinux_2_17_aarch64.manylinux2014_aarch64.whl Python 3 none Linux glibc 2.17+ ARM64 Details for openbao_cli-2.7.2-py3-none-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
openbao_cli-2.7.2-py3-none-macosx_12_0_x86_64.whl Python 3 none macOS 12.0+ x86-64 Details for openbao_cli-2.7.2-py3-none-macosx_12_0_x86_64.whl
openbao_cli-2.7.2-py3-none-macosx_12_0_arm64.whl Python 3 none macOS 12.0+ ARM64 Details for openbao_cli-2.7.2-py3-none-macosx_12_0_arm64.whl

Total release size: 439.7 MB

Release files / openbao_cli-2.7.2-py3-none-win_arm64.whl

Download URL openbao_cli-2.7.2-py3-none-win_arm64.whl
Size 68.6 MB
Tags Python 3 Windows ARM64
SHA-256 checksum
How to use checksums
38beb5d55401145ff84ab53bdafdf677a780605080dda56bbc5eedcb7cad7c9a
BLAKE2b-256 checksum
How to use checksums
dd1ab2f4cf95ac40c1e214dde61aef9c473d3dcb6eb0c7e63010983a9c1c69dc
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.16

Release files / openbao_cli-2.7.2-py3-none-win_amd64.whl

Download URL openbao_cli-2.7.2-py3-none-win_amd64.whl
Size 75.3 MB
Tags Python 3 Windows x86-64
SHA-256 checksum
How to use checksums
bc7eb12535a05c835469a03e997c75f5e638975df806bb736eef271cc83324bb
BLAKE2b-256 checksum
How to use checksums
d2e7a1af21d0f4bb3f4d2430670be5668c0f85142b472226449ddc6e55fd000a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.16

Release files / openbao_cli-2.7.2-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl

Download URL openbao_cli-2.7.2-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Size 74.8 MB
Tags Linux glibc 2.17+ x86-64 Python 3
SHA-256 checksum
How to use checksums
db79307a35a21e59753ae5e8bb45f0ff3f71e04bfa3d3627bf984e4b77bb7866
BLAKE2b-256 checksum
How to use checksums
77d6a34150eda9ec54687cd17d53a8d035b683b29c513c9226d41c1d568d5323
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.16

Release files / openbao_cli-2.7.2-py3-none-manylinux_2_17_aarch64.manylinux2014_aarch64.whl

Download URL openbao_cli-2.7.2-py3-none-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Size 68.6 MB
Tags Linux glibc 2.17+ ARM64 Python 3
SHA-256 checksum
How to use checksums
d0a2173b914657ef72a5a5a5ae3baaf9855be1ffd9a98019b307bf97c1d1b40d
BLAKE2b-256 checksum
How to use checksums
686d97ed17b18f57c27c8111212a8042d765cec5145d1df6ac9380f224eec91b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.16

Release files / openbao_cli-2.7.2-py3-none-macosx_12_0_x86_64.whl

Download URL openbao_cli-2.7.2-py3-none-macosx_12_0_x86_64.whl
Size 78.4 MB
Tags Python 3 macOS 12.0+ x86-64
SHA-256 checksum
How to use checksums
46432dd39b2b9626c754eeebe1e902a48106a8e224d1bbee2c88cc33a756469a
BLAKE2b-256 checksum
How to use checksums
917449e6eb13e87f4ee08d47b993c510de514de96e21f4367f727253807ac443
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.16

Release files / openbao_cli-2.7.2-py3-none-macosx_12_0_arm64.whl

Download URL openbao_cli-2.7.2-py3-none-macosx_12_0_arm64.whl
Size 73.9 MB
Tags Python 3 macOS 12.0+ ARM64
SHA-256 checksum
How to use checksums
5e6bfd9ac57c0d1a0060fd91493ad5d1bb161ed09bb0dc54b315f1327fa2aa7c
BLAKE2b-256 checksum
How to use checksums
f8d7aaf52ff6c8d2b05f449bf71819f8d47c75374fef2ad12ff3a7519286751e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.16

Security for openbao-cli 2.7.2

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

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