mirror of
https://github.com/hashicorp/vault.git
synced 2026-05-05 20:36:26 +02:00
This commit is contained in:
parent
528434ab83
commit
64fd8225bc
@ -319,3 +319,14 @@ func (d StaticSystemView) DeregisterRotationJob(_ context.Context, _ *rotation.R
|
||||
func (d StaticSystemView) DownloadExtractVerifyPlugin(_ context.Context, _ *pluginutil.PluginRunner) error {
|
||||
return errors.New("DownloadExtractVerifyPlugin is not implemented in StaticSystemView")
|
||||
}
|
||||
|
||||
// PluginLicenseUtil defines the functions needed to request License and PluginEnv
|
||||
// by the plugin licensing under github.com/hashicorp/vault-licensing
|
||||
// This only should be used by the plugin to get the license and plugin environment
|
||||
type PluginLicenseUtil interface {
|
||||
// License returns the raw license of the running Vault instance
|
||||
License() (string, error)
|
||||
|
||||
// PluginEnv returns Vault environment information used by plugins
|
||||
PluginEnv(context.Context) (*PluginEnvironment, error)
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user