secr

package
v0.0.7 Latest Latest
Warning

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

Go to latest
Published: Dec 19, 2024 License: Apache-2.0 Imports: 7 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client added in v0.0.5

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

func Setup

func Setup(ctx context.Context) (*Client, error)

func (*Client) Fetch added in v0.0.5

func (cl *Client) Fetch(
	ctx context.Context,
	secName string,
) (string, error)

func (*Client) FetchEnv added in v0.0.5

func (cl *Client) FetchEnv(
	ctx context.Context,
	secName string,
) (string, error)

type SecretID

type SecretID string
var (
	BACKBLAZE_API_KEY         SecretID
	OPENAI_DALLE_API_KEY      SecretID
	OPENAI_LLM_API_KEY        SecretID
	OPENAI_EMBEDDINGS_API_KEY SecretID
	LIBSQL_ENCRYPTION_KEY     SecretID
	TURSO_AUTH_TOKEN          SecretID
)

Secrets

func (SecretID) String

func (s SecretID) String() string

Jump to

Keyboard shortcuts

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