...
This section describes the standard procedure for installing the OpenBao command‑line interface (CLI) on Ubuntu systemsusing binary file. The installation uses the official .deb package official packages provided in the OpenBao release artifacts.
...
Confirm that the CLI is available:
bao --version
3. Configure the OpenBao endpoint
...
This environment variable ensures that all CLI commands target the correct endpoint.
4. Authenticate
using token | using OIDC |
|---|---|
You login using EWC IAM: EWC Secret Manager - Accessing the system. Once you are in, you can simply copy the token from the top left corner profile button: | Pre-requisite:OIDC authentication requires the OpenBao CLI to start a local callback listener on port 8250. This listener receives the authentication token after you complete the login in your browser. Before running the login command, ensure the following conditions are met: Local callback listener (port 8250)The CLI opens a temporary local HTTP server on: This server must be reachable by the browser you use to complete the login. Port availabilityPort 8250 must be free on the machine where the CLI is running. If another process is already using this port, the OIDC login will fail. You can verify port availability with: Start the login flow A browser window will open where you can authenticate using your EWC IAM tenancy credentials. If doesn't open on some Operating System, you can copy the URL provided and paste it in the browser. Browser reachabilityThe browser used for authentication must be able to reach the machine running the CLI on
|
...
|
...
5. Test basic CLI operations
Example commands:
Read a secret:
bao kv get kv/data/example
...
