Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix plugin versioning, references to bao on CLI, version number #132

Merged
merged 3 commits into from
Feb 9, 2024

Conversation

cipherboy
Copy link
Member

This fixes how bao sees itself, reporting OpenBao / bao in a lot of places:

$ bao version
OpenBao v1.14.9 ('d4039b3c9fdbf17b3e726342a8e8ffee81c9ecc0+CHANGES'), built 2024-02-08T21:35:04Z
$ bao plugin list
Name                            Type        Version
----                            ----        -------
approle                         auth        v1.14.9+builtin.bao
cert                            auth        v1.14.9+builtin.bao

... additional output elided ...

$ bao plugin -help
Usage: bao plugin <subcommand> [options] [args]

  This command groups subcommands for interacting with Vault's plugins and the
  plugin catalog. The plugin catalog is divided into three types: "auth", 
  "database", and "secret" plugins. A type must be specified on each call. Here 
  are a few examples of the plugin commands.

  List all available plugins in the catalog of a particular type:

      $ bao plugin list database

... additional output elided ...

It also fixes some more places where OpenBao should be returned, in certain (longer) error messages. Also, I finally do the make fmt over the entire combined codebase in this PR.

@cipherboy cipherboy changed the title Fix plugin versioning, references to bao on CLI, versin number Fix plugin versioning, references to bao on CLI, version number Feb 9, 2024
@naphelps naphelps self-requested a review February 9, 2024 13:46
Signed-off-by: Alexander Scheel <alexander.m.scheel@gmail.com>
Signed-off-by: Alexander Scheel <alexander.m.scheel@gmail.com>
Signed-off-by: Alexander Scheel <alexander.m.scheel@gmail.com>
@naphelps naphelps merged commit 9d05e85 into openbao:main Feb 9, 2024
3 of 9 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants