-
Notifications
You must be signed in to change notification settings - Fork 4.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Co-authored-by: Tom Proctor <tomhjp@users.noreply.github.com>
- Loading branch information
1 parent
765c159
commit 1e7c7b3
Showing
3 changed files
with
49 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
Plugins can optionally self-report their own semantic version. For plugins that | ||
do so, Vault will automatically populate the plugin's version in the catalog | ||
without requiring the user to provide it. If users do provide a version during | ||
registration, Vault will error if the version provided does not match what the | ||
plugin reports. Plugins that report a non-empty version _must_ report a valid | ||
[Semantic Version](https://semver.org/) with a leading 'v' added or registration | ||
will fail, e.g. `v1.0.0` or `v2.3.2-beta`. | ||
|
||
Plugins that want to opt into this behavior can implement the version interface. | ||
However, it is not a prerequisite; users can still provide a version during | ||
registration if the plugin does not implement the version interface. | ||
|
||
To implement the version interface, plugins should first upgrade the Vault SDK | ||
package to at least v0.6.0. |