vault

package
v0.14.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 24, 2024 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Module = &bootstrap.Module{
	Name:       "vault",
	Precedence: bootstrap.VaultPrecedence,
	PriorityOptions: []fx.Option{
		fx.Provide(BindConnectionProperties, ProvideDefaultClient),
	},
	Options: []fx.Option{
		appconfigInit.FxEmbeddedDefaults(defaultConfigFS),
		fx.Invoke(vaulthealth.Register, manageClientLifecycle),
	},
	Modules: []*bootstrap.Module{
		vaultappconfig.Module,
		vaulttracing.Module,
	},
}

Functions

func BindConnectionProperties

func BindConnectionProperties(bootstrapConfig *appconfig.BootstrapConfig) (vault.ConnectionProperties, error)

func ProvideDefaultClient

func ProvideDefaultClient(di clientDI) *vault.Client

func Use

func Use()

Use func, does nothing. Allow service to include this module in main()

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL