secrets

package
v0.11.384 Latest Latest
Warning

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

Go to latest
Published: Dec 3, 2025 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

type Client struct {
	// contains filtered or unexported fields
}

func NewVaultClient

func NewVaultClient(logger logger.Logger, host, token, role, path string, mountPath string) (*Client, error)

func NewVaultClientFromEnv

func NewVaultClientFromEnv(logger logger.Logger) (*Client, error)

func (*Client) GetConnection

func (c *Client) GetConnection(name string) any

func (*Client) GetConnectionDetails added in v0.11.266

func (c *Client) GetConnectionDetails(name string) any

type DopplerClient added in v0.11.368

type DopplerClient struct {
	// contains filtered or unexported fields
}

DopplerClient manages secrets from Doppler.

func NewDopplerClient added in v0.11.368

func NewDopplerClient(logger logger.Logger, token, project, config string) (*DopplerClient, error)

NewDopplerClient creates a new Doppler secrets client.

func NewDopplerClientFromEnv added in v0.11.368

func NewDopplerClientFromEnv(logger logger.Logger) (*DopplerClient, error)

NewDopplerClientFromEnv creates a new Doppler client from environment variables.

func (*DopplerClient) GetConnection added in v0.11.368

func (c *DopplerClient) GetConnection(name string) any

GetConnection retrieves a connection by name from Doppler.

func (*DopplerClient) GetConnectionDetails added in v0.11.368

func (c *DopplerClient) GetConnectionDetails(name string) any

GetConnectionDetails retrieves connection details by name from Doppler.

Jump to

Keyboard shortcuts

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