Documentation
¶
Overview ¶
Package onepassword is the 1Password Connect secret provider. Call Register to make provider = "onepassword" config blocks resolve, or build one directly with New.
Index ¶
Constants ¶
View Source
const TypeName = "onepassword"
TypeName is the provider = "..." config value for the 1Password Connect provider.
Variables ¶
This section is empty.
Functions ¶
func New ¶
func New(cfg secretprovider.Config) (secretprovider.Provider, error)
New creates a 1Password Connect-backed secret provider.
func Register ¶
func Register() error
Register adds the 1Password Connect provider to the secretprovider factory table under TypeName, so secretprovider.NewProvider and RegisterConfigs accept provider = "onepassword" config blocks. Calling it more than once is a no-op; it returns an error only if another package already registered TypeName.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.