-
Notifications
You must be signed in to change notification settings - Fork 4.7k
docs: add -download ent command option for plugin register #31196
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
Changes from 1 commit
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -64,6 +64,16 @@ $ vault plugin register | |
| vault-plugin-secrets-keymgmt # name must match the plugin name on the releases page | ||
| ``` | ||
|
|
||
| Register a plugin with download: | ||
|
|
||
| ```shell-session | ||
| $ vault plugin register | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. We generally try to avoid using comments in example code to explain what's happening in the command. We should move the information to the intro sentence for the example. I added a suggestion to that effect.
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. fixed in e78bdb8 |
||
| -download \ # download the plugin from the HashiCorp releases page | ||
| -version=0.16.0+ent \ # version must match the plugin version on the releases page | ||
| secret \ | ||
| vault-plugin-secrets-keymgmt # name must match the plugin name on the releases page | ||
| ``` | ||
|
|
||
| ## Usage | ||
|
|
||
| The following flags are available in addition to the [standard set of | ||
|
|
@@ -105,3 +115,10 @@ flags](/vault/docs/commands) included on all commands. | |
| You can omit version to register a plugin binary, but you must provide | ||
| an explicit version to register a plugin artifact. | ||
|
|
||
| - `-download` `(bool: false)` - <EnterpriseAlert inline="true" /> **( BETA )** | ||
| Tells Vault to download the specified plugin from the | ||
| [HashiCorp releases page](https://releases.hashicorp.com/). Automatic | ||
| downloads only support secret and auth plugins with artifacts containing | ||
| `metadata.json` and `metadata.json.sig`. To use automatic downloads, your | ||
| network must permit HTTPS and TCP port 443 between all | ||
| Vault cluster nodes and `releases.hashicorp.com`. | ||
Uh oh!
There was an error while loading. Please reload this page.